Re: low priority soft RT?

Rik van Riel (riel@nl.linux.org)
Sun, 25 Jul 1999 20:54:13 +0200 (CEST)


On 25 Jul 1999, Benny Amorsen wrote:

> As it is, the kernel locks often become a bottleneck on systems
> with lots of penguins. Look at this scenario:
>
> 1) A process currently sleeping in kernel mode is ready to go forward
> 2) At least one processor is busy running a SCHED_OTHER process
>
> Would it benefit throughput if it was guaranteed that the sleeping
> process gets to go forward at the expense of the already running
> process? It would mean that processes get out of kernel mode quicker.
>
> It would certainly be unfair, so there would have to be special
> protections in place to ensure that the process that benefits gets to
> pay later.

Please take a look at my SCHED_IDLE patch:
http://www.nl.linux.org/~riel/patches/

It does exactly what you describe, or at least I hope so.

Rik -- Open Source: you deserve to be in control of your data.
+-------------------------------------------------------------------+
| Le Reseau netwerksystemen BV: http://www.reseau.nl/ |
| Linux Memory Management site: http://www.linux.eu.org/Linux-MM/ |
| Nederlandse Linux documentatie: http://www.nl.linux.org/ |
+-------------------------------------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/