Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Wouldn't it be nice if nice values in Linux were switched:
-20 = low priority
+20 = high priority

$ renice -p +5 # would get more CPU time and
$ renice -p -5 # less

Why was it selected to be inversed?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

From Wikipedia:

The name "niceness" originates from the idea that a process with a higher niceness value is "nicer" to other processes in the system, as it allows the other processes more CPU time.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.