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

Best Features Of Linux Mint 18.1 ‘Serena’

If you’re fed up with Windows 10 and its hiccups, or you can’t afford the new MacBook Pro with fancy TouchBar, somewhere there’s a solid Linux system waiting for you. Linux Mint is often regarded as one of the best Linux desktop operating systems. Over the years, Mint has established itself as a competent Windows 10 replacement and its impressive releases continue to affirm this notion. Earlier this year in June, we witnessed the release of Linux Mint 18 Sarah. Now, the second point release of Linux Mint 18, i.e., Mint 18.1 Serena, is just around the corner. It’s slated to arrive later this December. Read more

Linux Kernel 4.4.36 LTS Introduces Minor PA-RISC Changes, Wireless Improvements

After announcing the release of Linux kernel 4.8.12, renowned kernel maintainer Greg Kroah-Hartman informed us about the availability of the thirty-sixth maintenance update to the long-term supported Linux 4.4 kernel series. Read more Also: Linux 4.4.36

Linux Kernel 4.8.12 Released, Brings PA-RISC, PowerPC, and x86 Improvements

A few moments ago, Greg Kroah-Hartman announced the release of the twelfth maintenance update of the Linux 4.8 kernel series, as well as the availability of Linux kernel 4.4.36 LTS. Read more Also: Linux 4.8.12