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 Red Hat introduces updated decision management platform Rianne Schestowitz 22/02/2018 - 1:57am
Story KDE Says Its Next Plasma Desktop Release Will Start a Full Second Faster Rianne Schestowitz 22/02/2018 - 1:54am
Story Intel Coffee Lake OpenGL Performance On Windows 10 vs. Linux Rianne Schestowitz 22/02/2018 - 1:51am
Story Why open source could be IBM's key to future success in the cloud Rianne Schestowitz 22/02/2018 - 1:49am
Story Top 8 Debian-Based Distros Rianne Schestowitz 22/02/2018 - 1:35am
Story Compact, rugged IoT gateway offers dual GbE with PoE Rianne Schestowitz 22/02/2018 - 1:31am
Story Today in Techrights Roy Schestowitz 22/02/2018 - 12:39am
Story today's leftovers Roy Schestowitz 21/02/2018 - 10:17pm
Story Debian and Ubuntu Leftovers Roy Schestowitz 21/02/2018 - 10:16pm
Story OSS Leftovers Roy Schestowitz 21/02/2018 - 10:09pm