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

Firefox 39 Arrives After a Three-Day Delay

Mozilla has finally released the stable version of Firefox 39 after it delayed the launch for a couple of days. It's not a major release, but it does have a few interesting features and quite a few bug fixes. Read more

Greek town of Livadeia switched to LibreOffice

The Greek city of Livadeia has moved to the LibreOffice suite of office productivity tools, replacing a proprietary alternative, the city administration announced in May. The switch is part of the city’s government modernisation, the town in central Greece said. Read more

From the Editors: When did open-source software get so scary?

When did the use of open-source software become such a worrisome thought? Big names such as VMware, Oracle, Microsoft and Cisco, to name but a few, have been caught infringing on open-source software licenses. Read more

Android-powered BlackBerry Venice with a slide-out keyboard reportedly headed to AT&T

Reports from earlier this month that BlackBerry would soon launch a full fledged Android-powered smartphone are looking up. Ex-tipster who still occasionally tips/confirms new devices @Evleaks tweeted earlier today that a device called the BlackBerry Venice is headed to AT&T later this year. He specifically mentioned that this device would be powered by Android and that — here’s the best part — it will feature a slide-out physical keyboard for QWERTY fans. Read more