Re: scheduler nice 19 versus 'idle' behavior / static low-priorityscheduling

From: Jan Engelhardt
Date: Fri Jan 30 2009 - 09:16:08 EST



On Friday 2009-01-30 08:59, Nathanael Hoyle wrote:
>> >Is there currently a standardized userspace tool to use to run a command
>> >in order to alter its scheduling class? Obviously writing one would be
>> >trivial, but didn't know if something like:
>>
>> man chrt
>
>The latest version of man chrt that I can find implies that it handles
>SCHED_BATCH but not SCHED_IDLE. To that end, if anyone else is
>interested, I have thrown together the above-suggested 'runidle' which
>will invoke the passed command using the SCHED_IDLE scheduler; it's
>nothing fancy.

Should have added -i to chrt instead and submit ;-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/