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 Eure-et-Loir department now using Nuxeo document system Rianne Schestowitz 18/12/2014 - 11:56pm
Story 2014: The Open Source Tipping Point Rianne Schestowitz 18/12/2014 - 11:51pm
Story KDAB contributions to Qt 5.4 Rianne Schestowitz 18/12/2014 - 11:42pm
Story Git 2.2.1 Released To Fix Critical Security Issue Rianne Schestowitz 18/12/2014 - 11:19pm
Story Ubuntu 15.04 Alpha 1 For Its Various Flavors Rianne Schestowitz 18/12/2014 - 11:14pm
Story Robolinux 7.7.1 LXDE Runs Windows Apps with Stealth VM Rianne Schestowitz 18/12/2014 - 11:06pm
Story Jolla's Sailfish OS Update 10 Is Now Available Rianne Schestowitz 18/12/2014 - 10:47pm
Story LibreOffice 4.3.5 Is Now the Most Advanced Stable Release Rianne Schestowitz 18/12/2014 - 10:40pm
Story WTFTW: A Tiling Window Manager Written In Rust Rianne Schestowitz 18/12/2014 - 10:29pm
Story Red Hat credits Q3 earnings win to cloud, big data strategies Rianne Schestowitz 18/12/2014 - 10:23pm