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

Re: a Scheduler question...



On Thu, 27 Dec 2001, Ira Abramov wrote:

> A friend just asked me a curious question... if I knew if "nice" on
> linux has a decayed effect like on other unix systems or is it's effect
> long lasting?
>
> well, first I didn't know "nice" decays on other unices... anyone heard
> of it? whay would anyone WANT it to decay automatically?!

i can think of several reasons, but they all come down to "make the
admin's job easier". however, i find this rather brain-dead, since it
stands in direct contradiction with my One True Law of Computers - they
should do *only* and *exactly* what you tell them to.

> as for the linux scheduler issue - I imagine nice has a totally
> different meaning depending on the context of which scheduler you use (I
> imagine RTLinux has a different one than the regular mainstream kernel,
> and so on).
>
> so... any kernel hackers out there that know the answer?

http://www.iglu.org.il/cgi-bin/lxr/http/source/kernel/sched.c
http://www.iglu.org.il/cgi-bin/lxr/http/ident?i=nice

the nice value isn't decayed on linux, as far as i know.
-- 
mulix

http://vipe.technion.ac.il/~mulix/
http://syscalltrack.sf.net/



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il