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

Today in Techrights

Gorgeous Live Voyager 16.04 Linux OS Comes Hot on the Heels of Ubuntu 16.04 LTS

The team of developers behind the Live Voyager desktop-oriented operating system have announced today, May 1, 2016, the release and immediate availability for download of Voyager 16.04 LTS. Read more

BlackArch Linux Now Provides over 1,400 Penetration Testing Tools, New ISO Lands

The BlackArch Linux devs have been preparing this for months, but now it is finally here, the new ISO image of the Arch Linux-based operating system designed for hackers and security professionals. Read more

If I needed to leave Android, I'd use Sailfish OS

Sailfish OS may be unknown to most people, but if Android was to disappear tomorrow, this would be the direction I'd head. Sailfish OS is an open source mobile operating system that offers speed and simplicity like no other. And, in my opinion, is the best alternative to Android. Read more