* Linux Priority Levels
@ 2010-03-16 4:06 Ajay Jain
2010-03-16 4:22 ` Michael Neuling
0 siblings, 1 reply; 2+ messages in thread
From: Ajay Jain @ 2010-03-16 4:06 UTC (permalink / raw)
To: linuxppc-dev
Hi,
I need a deeper understanding of priorities of linux processes and
threads, especially on Linux PPC. I have done some good reading, but
found no material to be complete and therefore I am raising a few
questions below.
1) In Linux processes have a static priority level 0, with nice values
-20 to +19. Then it has RT priority levels 1 - 99. My question is, do
the nice values apply to all processes or do they apply only to
priority 0?
2) How many total priority levels does the kernel have? On one hand,
-20 is the highest priority, on the other hand +99 is the highest. How
do these values converge?
Please help me to answer these and depending on the reply I would
shoot more questions. In case you have a comprehensive reading
material to refer, please advise.
Thanks,
Ajay.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Linux Priority Levels
2010-03-16 4:06 Linux Priority Levels Ajay Jain
@ 2010-03-16 4:22 ` Michael Neuling
0 siblings, 0 replies; 2+ messages in thread
From: Michael Neuling @ 2010-03-16 4:22 UTC (permalink / raw)
To: Ajay Jain; +Cc: linuxppc-dev
> I need a deeper understanding of priorities of linux processes and
> threads, especially on Linux PPC. I have done some good reading, but
> found no material to be complete and therefore I am raising a few
> questions below.
>
> 1) In Linux processes have a static priority level 0, with nice values
> -20 to +19. Then it has RT priority levels 1 - 99. My question is, do
> the nice values apply to all processes or do they apply only to
> priority 0?
>
> 2) How many total priority levels does the kernel have? On one hand,
> -20 is the highest priority, on the other hand +99 is the highest. How
> do these values converge?
>
> Please help me to answer these and depending on the reply I would
> shoot more questions. In case you have a comprehensive reading
> material to refer, please advise.
man sched_setscheduler has a good description of these levels and how RT
and non RT processes interact.
Mikey
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-16 4:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-16 4:06 Linux Priority Levels Ajay Jain
2010-03-16 4:22 ` Michael Neuling
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).