Language Selection

English French German Italian Portuguese Spanish

Linux: Tuning CFS

Filed under
Linux

Nick Piggin used 'git bisect' to track a lmbench regression to the main CFS commit, leading to an interesting discussion between Nick and Ingo Molnar. Ultimately the regression was tracked down to the temporary configurability of the scheduler while it is tuned for optimal performance, "one reason for the extra overhead is the current tunability of CFS, but that is not fundamental, it's caused by the many knobs that CFS has at the moment." The solution, already coded but not yet merged in the mainline kernel "changes those knobs to constants, allowing the compiler to optimize the math better and reduce code size," and as a result result, "CFS can be faster at micro-context-switching than 2.6.22."

Ingo described the lmbench configuration in question as a "micro-benchmark", and noted that with a macro-benchmark better performance was more pronounced, "because with CFS the _quality_ of scheduling decisions has increased.

More Here




More in Tux Machines

Type Title Author Replies Last Postsort icon
Story Permabit offers deduplication to Linux masses – almost Roy Schestowitz 29/06/2016 - 10:15pm
Story Mozilla involves the community in its “open-source” rebrand Rianne Schestowitz 29/06/2016 - 10:07pm
Story RPi 3 add-on loads up on sensors, wireless radios Rianne Schestowitz 29/06/2016 - 9:58pm
Story Canonical Releases Snapcraft 2.12 Snaps Creator with New Parts Ecosystem, More Rianne Schestowitz 29/06/2016 - 9:52pm
Story AMDGPU-PRO Driver 16.30 Officially Released with Support for Ubuntu 16.04 LTS Rianne Schestowitz 29/06/2016 - 9:50pm
Story Red Hat News Roy Schestowitz 29/06/2016 - 9:13pm
Story Peppermint 7 Released Roy Schestowitz 29/06/2016 - 8:37pm
Story Why I’m Unlikely to Ever Return Microsoft’s Love Roy Schestowitz 29/06/2016 - 8:33pm
Story Google open sources SwiftShader Roy Schestowitz 29/06/2016 - 8:28pm
Story Phoronix on AMD Linux Graphics News Roy Schestowitz 29/06/2016 - 8:24pm