Q: Goodness of the Scheduler

Marc Bechler (mbechler@telematik.informatik.uni-karlsruhe.de)
Tue, 19 May 1998 13:43:02 +0200


Hi all!

I studied the source code of the Linux scheduler (2.1.98 kernel) this
morning. Looking at the goodness() function, which is calculated for
each (runnable) task in the system, I saw that the priority influences
the result of this weight (if the counter is not zero). I'm not sure if this
is really necessary. If you decrease this priority (using the nice syscall)
the performance of this process will be degraded because it will be
initialized with the (decreased) value of this priority, this task will get
less CPU time (in %).

So what is the reason for this influence?

marc

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu