Re: Difference between chrt and nice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux