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

Kubuntu 15.04 Beta 2 Released with KDE Plasma 5 as Default Desktop - Screenshot Tour

Today’s announcement for Ubuntu 15.04 (Vivid Vervet) Final Beta also mentioned the immediate availability for download and testing of Kubuntu 15.04 Beta 2, an official Ubuntu flavor built around the modern and attractive KDE Plasma 5 desktop environment, as well as the KDE Applications project. Read more

today's leftovers

New GNOME 3.16 Getting a Lot of Attention for Improvements

Red Hat garnered much of the press today with the release of their fourth quarter 2015 earnings report last night. Red Hat stock prices rose today after the announcement on this a down day on Wall Street and continued to gain a bit in after hours trading. The other big winner today was GNOME 3.16, whose headlines began yesterday with its release announcement. Just what is causing all the buzz? Read more

today's howtos