Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm still learning about Linux.

As a Linux distro, Ubuntu is blessed with the ability to multi-task, the concurrent execution of programs. And these programs have processes, taking up their chunk of the system resources as necessary.

Process scheduling allows the execution of processes by priorities, so that the higher valued priorities execute more often that the lower valued priorities. But it is a surprise to me that the very important processes actually exhibit lower valued priorities. Why is this the case? What are the benefits?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

In linux, processes with lower priorities are executed with a more favourable schedule. It can range from -20 (processes are given the best treatment) to 20 (they are less favoured by the kernel). You can check nice man page for more info.

So important process have low priority so that they will be favoured over normal processes.

share|improve this answer
    
But why do some utilities try to correct this by giving the important processes higher valued priorities? –  John J. Kim Jun 21 '12 at 16:17
    
Which utility does this? –  Javier Rivera Jun 21 '12 at 16:28
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.