From: Tobias Knutsson <tobias.knutsson@gmail.com>
To: Jaakko Sipari <jaakko.sipari@gmail.com>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: Difference between chrt and nice
Date: Tue, 31 Mar 2009 08:07:47 +0200 [thread overview]
Message-ID: <ccb913ac0903302307x3e55035agac5d60992c3b5248@mail.gmail.com> (raw)
In-Reply-To: <901f25b80903302243q5ae531fs92113638539ea557@mail.gmail.com>
Hi Jaakko,
I'm relatively new in this field so take this information will a grain of salt.
From what i understand, the nice command will only change the priority
within the SCHED_OTHER scheduling policy. It is not possible to assign
the process to another policy such as SCHED_RR or SCHED_FIFO, which
would have precedence over all SCHED_OTHER processes. This can be done
with chrt.
Both of these commands should work both with a vanilla and an rt
kernel. The result will be different however. Since the locking
mechanisms in the rt kernel are much more sophisticated, it will be
able to provide much more deterministic latencies to the processes
assigned to the processes assigned to the realtime scheduling policies
(round robin and fifo).
//Tobbe
On Tue, Mar 31, 2009 at 07:43, Jaakko Sipari <jaakko.sipari@gmail.com> wrote:
> Hi!
>
> I've already asked this in a couple of forums but got no answers. I
> would appreciate it if someone in this list could take some time to
> answer to my possibly stupid question(s):
>
> What's the difference of setting process priority with chrt and nice?
> And how do using both of these commands compare with a normal vs.
> realtime-kernel (PREEMPT_RT)?
>
> BR, Jaakko
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Hälsningar/Regards
Tobias Knutsson
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-03-31 6:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-31 5:43 Difference between chrt and nice Jaakko Sipari
2009-03-31 6:07 ` Tobias Knutsson [this message]
2009-04-01 23:54 ` Thomas Gleixner
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=ccb913ac0903302307x3e55035agac5d60992c3b5248@mail.gmail.com \
--to=tobias.knutsson@gmail.com \
--cc=jaakko.sipari@gmail.com \
--cc=linux-rt-users@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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