1

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?

1 Answer 1

0

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.

2
  • But why do some utilities try to correct this by giving the important processes higher valued priorities?
    – jjkim
    Jun 21, 2012 at 16:17
  • Which utility does this? Jun 21, 2012 at 16:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .