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

GNOME Software Package Manager App Updated for GNOME 3.16 to Fix Multiple Bugs

The GNOME Project released earlier today, August 3, the fifth maintenance release of the stable GNOME Software package manager application for the GNOME 3.16 desktop environment, a version that fixes seven issues. Read more

Linux Kernel 4.1.4 LTS Released with Numerous Updated Drivers, ARM64 Improvements

Today, August 3, Greg Kroah-Hartman announced the release and immediate availability for download of the fourth maintenance release of the stable, long-term supported Linux 4.1 kernel. Read more

Open-spec motor control kit runs Linux on Zynq SoC

Avnet’s revamped, Linux-based “ZIDK-II” kit for motor control combines its ZedBoard SBC, featuring an ARM/FPGA Zynq SoC, with improved Analog Devices gear. Avnet Electronic Marketing’s “Zynq-7000 All Programmable SoC/Analog Devices Intelligent Drives Kit II,” or “ZIDK-II,” is a major upgrade to a previously released kit of the same name, featuring an enhanced Analog Devices ” brushless DC motor control reference design. As before, the system is built around Avnet’s community-backed, Ubuntu Linux-based ZedBoard single board computer, which showcases the Xilinx Zynq-7020, a SoC that combines see farther below. Read more

today's leftovers