Does the kernel scheduler even matter???
Does the kernel scheduler even matter???
Posted Sep 7, 2009 13:46 UTC (Mon) by mingo (subscriber, #31122)In reply to: Does the kernel scheduler even matter??? by mjthayer
Parent article: BFS vs. mainline scheduler benchmarks and measurements
For many things the process scheduler does matter.
For most desktop things, the IO scheduler, the file system and the VM has a far bigger role.
To measure latencies, there's the latencytop tool from Arjan that can give a first-level guess about what the main source of latencies is.
If it's IO latencies then blktrace can be used to pin them down more precisely.
If it's indeed the process scheduler that is causing latencies, the latency tracer can be used to pin down the reason more precisely. On the lowest level the function tracer can be used too, for harder cases. There's also a lot of built-in statistics, tracepoints and in .31 based kernels also performance counters that can help in the pinning down of such bugs.
