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

Turris MOX is a Modular & Open Source Router

A company from the Czech Republic is trying to raise money to bring a modular and open source router to the public. It has a number of features that can’t be found in the current line up of routers available for purchase. Read more

Openwashing: Intel, Apple, and Microsoft

  • The Several Faces of Intel Compilers [Ed: It says that this so-called 'article' is "sponsored", so IDG is now running ads as 'articles'. Not even pretense about whether it's journalism or not.]
  • FoundationDB Goes Open Source [Ed: "FoundationDB gave Apple a foothold in the crowded NoSQL database sector," it says and this is what this openwashing is all about. It's helping Apple in spreading its proprietary frameworks and surveillance 'clouds'.]
  • Linux Everywhere (Premium) [Ed: "Linux Everywhere," says longtime Microsoft propagandist, in service (IMHO) of the latest EEE strategy. Don't forget who's still in charge.]

Android Leftovers

An introduction to the GNU Core Utilities

These two collections of Linux utilities, the GNU Core Utilities and util-linux, together provide the basic utilities required to administer a Linux system. As I researched this article, I found several interesting utilities I never knew about. Many of these commands are seldom needed, but when you need them, they are indispensable. Between these two collections, there are over 200 Linux utilities. While Linux has many more commands, these are the ones needed to manage the basic functions of a typical Linux host. Read more