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 Opera Data Breach, Security of Personal Data Roy Schestowitz 28/08/2016 - 11:10pm
Story Android Leftovers Roy Schestowitz 28/08/2016 - 11:04pm
Story FOSS and Linux Events Roy Schestowitz 28/08/2016 - 11:04pm
Story Second FreeBSD 11.0 Release Candidate Restores Support for 'nat global' in IPFW Rianne Schestowitz 28/08/2016 - 10:10pm
Story ConnochaetOS 14.2 Officially Released Based on Slackware 14.2 and Salix Linux Rianne Schestowitz 28/08/2016 - 10:08pm
Story GNU/FSF/GPL Roy Schestowitz 28/08/2016 - 9:13pm
Story Games for GNU/Linux Roy Schestowitz 28/08/2016 - 9:07pm
Story Linux-compatible Hardware Roy Schestowitz 28/08/2016 - 8:37pm
Story The Importance of BSD Roy Schestowitz 28/08/2016 - 8:20pm
Story Ubuntu 16.10 Unity and Ubuntu MATE Roy Schestowitz 28/08/2016 - 6:35pm