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 Linux Kernel Developer Work Spaces Video: Tejun Heo, Red Hat Rianne Schestowitz 01/03/2015 - 9:08pm
Story Xfce 4.12 Has Been Officially Released Rianne Schestowitz 01/03/2015 - 8:41pm
Story New Tizen Tools Version Released (15.01) Rianne Schestowitz 01/03/2015 - 8:30pm
Story Arch Linux 2015.03.01 Is Now Available for Download Rianne Schestowitz 01/03/2015 - 8:25pm
Story Cuberox, App-Driven Linux-Based Cube, Has Six Touch Screens Rianne Schestowitz 01/03/2015 - 7:00pm
Story Rancher Labs builds Linux system for Docker Rianne Schestowitz 01/03/2015 - 6:52pm
Story The state of Linux gaming in the SteamOS era Rianne Schestowitz 01/03/2015 - 6:43pm
Story Dutch share code and concepts of base registry Rianne Schestowitz 01/03/2015 - 6:34pm
Story ​Canonical and Juniper team up on carrier-grade OpenStack SDN Rianne Schestowitz 01/03/2015 - 12:22pm
Story Ubuntu Kylin 15.04 Makes It Easier for Windows Users to Adapt to the Unity Interface Rianne Schestowitz 01/03/2015 - 12:16pm