Linux: CFS and Nice | Linux Today

Linux: CFS and Nice

Written By
Web Webster
Web Webster
Jul 19, 2007

“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…'”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.