Language Selection

English French German Italian Portuguese Spanish

Linux: CFS And Nice

Filed under
Linux

The recently merged Completely Fair Scheduler changes how the Linux kernel handles scheduling priorities set with the nice command. Ingo Molnar explained that each level of nice adds or substracts 10% of CPU utilization, "the '10% effect' is relative and cumulative: from _any_ nice level, if you go up 1 level, it's -10% CPU usage, if you go down 1 level it's +10% CPU usage." Ingo noted that with the earlier scheduler the nice level was tied to the HZ, offering three examples in which HZ is set to 100, 250, and 300, "a nice +19 task (the most commonly used nice level in practice) gets 9.1%, 3.9%, 3.1% of CPU time on the old scheduler, depending on the value of HZ. This is quite inconsistent and illogical. This HZ dependency of nice levels existed for many years, and the new scheduler solves that inconsistency - every nice level will get the same amount of time, regardless of HZ."

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