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

Good Guy NVIDIA Releases New Linux Legacy Driver for Users with Old Cards

NVIDIA has released a new branch of Legacy drivers for the Linux platform and they are the most advanced versions you can get right now for old video cards. Read more

5 Reasons Your Company Should Open Source More Code

Given intense competition for the world's best engineering talent, can your company really afford to lock up its code behind proprietary licenses? Sure, if you're in the business of selling software, giving it all away may not make sense. But the vast majority of companies don't sell software, and should be contributing a heck of a lot more as open source. Read more

Docker chief operator: Why the open source container project is taking a new shape

With a quadrupling of contributors over the past year, the open-source Docker container project has unveiled a new structure aimed at dealing with that accelerating growth. The reorganisation, which itself went through the community's design process, is intended to increase Docker's openness and accessibility, and enable the project to increase in size massively without affecting core qualities, such as response times and good communication. Read more

Linux Kernel 3.18.4 Is Now the Most Advanced and Stable Version Available

A fresh version of the Linux kernel, 3.18.4, has been released by Greg Kroah-Hartman and is now available for download. This is now the most advanced version you can find and it will remain like this at least for the next couple of weeks. Read more