On Tue, Jul 18, 2000 at 12:48:21AM -0000, Stuart Cooper uttered:
> this should all be looked after for you by the
> scheduling algorithm and you shouldn't need such fine grained control
> over what runs where. Keep in mind the general aims of scheduling: it
> attempts to give all proceses and users a fair use of
> system resources,
There are still reasons why one might want such a mechanism due to the
inflexibility of the Linux scheduler. You may want to provide a finite
amount of CPU to individual processes to ensure a certain level of
responsiveness. Say you've got a database that needs to give consistent
performance.
> You use 'nice' values for those processes that are more important
> than others.
Sadly nice only defines a starting position and weighting in the
scheduling queue. That means that other processes get a short-term
boost when you nice a process, but it ends up getting nearly as much as
it wants anyway.
Of course if you're IO bound, you're not going to find much help from
more CPUs or better scheduling.
--
Rev Simon Rumble Opinions expressed in this email may
[EMAIL PROTECTED] not reflect those of the host brain.
http://www.rumble.net
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug