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

Leftovers: Screenshots and Screencasts

Android Leftovers

GCC 4.9.2 vs. GCC 5 Benchmarks On An Intel Xeon Haswell

For those craving some more GCC 5 compiler benchmark numbers following last week's release of GCC 5.1, here's some new comparison numbers between GCC 4.9.2 stable and the near-final release candidate of GCC 5.1. Pardon for this light article due to still finishing up work on migrating to the new Phoronix web server while separately working to take care of thermal issues coming about in the new Linux benchmarking server room. Read more

First impressions of Ubuntu 15.04

Canonical's Ubuntu operating system is probably the most widely used Linux distribution in the world. Ubuntu is made available in several editions, including desktop builds, server builds and there is a branch of Ubuntu for mobile phones. Ubuntu provides installation images for the x86, ARM and Power PC architectures, allowing the distribution to run on a wide variety of hardware. The most recent release of Ubuntu, version 15.04, includes a fairly short list of changes compared to last year's Ubuntu 14.10, however some of the changes are significant. Some small changes include an upgrade of the kernel to Linux 3.19 and placing application menus inside the application window by default. A potentially larger change is the switch from Canonical's Upstart init software to systemd. Read more