Scheduling of low-priority background processes

Thomas Koeller (tkoeller@gmx.net)
Mon, 5 Nov 2001 22:16:03 +0100


Dear kernel wizards,

first of all, I wish to apologize in case I am asking a questions that has already been discussed much on this list. I am not a subscriber
(so please CC. me if you respond to this mail) and by browsing the list archive I did not immediatly find any discussion about my topic.
So here is my question:

Some operating systems I have been working with had a scheduling policy different from what I find in Linux, where all regular processes
execute at priiority zero, the lowest one possible. I am talking of real-time priorities here, of course, not nice values. On those systems,
you could assign a scheduling priority lower than the one nomally used by interactive processes to CPU-hogging, numbercrunching
tasks. These tasks would then use up any CPU time left over by interactive processes without otherwise interfering with them. I always
found this feature very useful (think of SETI@home!).

It appears to me that this feature could easily be integrated into Linux, by just increasing the realtime priority value at which 'nice' scheduling
takes place. But that idea is so obvious, and since nobody did it so far, I am probably missing something. What is it?

(Sorry for all those incomplete mails I sent, I am struggling with my mail program...)

Thomas

-- 
Thomas Koeller
tkoeller@gmx.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/