4 ms·
Needed to find this document to understand what noise means in this context https://www.kernel.org/doc/html/next/trace/osnoise-tracer.html https://www.kernel.or
by ilkkao 4y ago
Needed to find this document to understand what noise means in this context https://www.kernel.org/doc/html/next/trace/osnoise-tracer.html https://www.kernel.org/doc/html/next/trace/osnoise-tracer.ht...
- jmclnx 4y agoI read this but I do not get the point of OSNOISE. I was thinking it would be used for better random number generation but the doc does not seem to confirm that.
- monocasa 4y agoIt's about measuring jitter caused by the OS. When you have a large message passing system like you see in HPC environments, delays in processing exactly the right messages add up to huge failures of utilization because of the dependency graph of work to be done. In the past I had even seen national labs write their own Linux syscall compatible kernels in order to combat jitter. For example: https://github.com/HobbesOSR/kitten https://github.com/HobbesOSR/kitten
- guenthert 4y agoAfaik (Linux compatible) Lightweight kernels (LWK) have been used in the past in lieu of Linux in (single application) HPC scenarios in order to reduce context switching and consequential cache misses and TLB thrashing. I wouldn't know why 'the right message' needs to be processed in a HPC application (as opposed to real time applications). Where can I learn more about such?
- jabl 4y agoIt's about jitter caused by the OS, or in this case HW (e.g. due to SMM or similar shenanigans), that can be problematic for real time or HPC applications.
- taneq 4y agoThanks! Even this still defines noise only in terms of 'interference', and then takes a bit of digging to infer that it's something to do with timing and interrupts, and so it's probably jitter in execution time rather than referring to RF interference or electrical noise. I'm no kernel hacker but I've spent a lot of time close to the hardware and I've never heard jitter referred to as 'noise'.
- javier_e06 4y agoI agree indeed. In statistical analysis or signal processing noise is described as an element presenting data/energy other than energy/data to be observed. I guess any data collecting system can call noise anything that is filtered out from that being measured.
- gorkish 4y agoWindows folks may be familiar with LatencyMon or DPC Checker which do similar things on windows to find misbehaving hardware or drivers which can cause issues for realtime/pseudo-realtime applications like AV capture/mixing.