From: Michael Neuling <mikey@neuling•org>
To: Ajay Jain <ajay050@gmail•com>
Cc: linuxppc-dev@lists•ozlabs.org
Subject: Re: Linux Priority Levels
Date: Mon, 15 Mar 2010 23:22:23 -0500 [thread overview]
Message-ID: <9294.1268713343@neuling.org> (raw)
In-Reply-To: <b92b327b1003152106l4027ae6djb238fa5cdcd29810@mail.gmail.com>
> 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
prev parent reply other threads:[~2010-03-16 4:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-16 4:06 Linux Priority Levels Ajay Jain
2010-03-16 4:22 ` Michael Neuling [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9294.1268713343@neuling.org \
--to=mikey@neuling$(echo .)org \
--cc=ajay050@gmail$(echo .)com \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox