the value of PROC_CHANGE_PENALTY

2001-06-04 Thread Tsafrir Dan
as I understand, for i386 in Linux-2.2.x the default length of a quantum was 200ms, and in 2.4.x it had changed to 50ms ( according to the following 2.4.5 sched.c code: #if HZ < 200 #define TICK_SCALE(x) ((x) >> 2) ... #define NICE_TO_TICKS(nice) (TICK_SCALE(20-(nice))+1)

Re: the value of PROC_CHANGE_PENALTY

2001-06-05 Thread Tsafrir Dan
On Mon, 4 Jun 2001, Mark Hahn wrote: > > am I correct ? > > and if so, is this what the authors meant, or did they simply forget > > to update PROC_CHANGE_PENALTY's value when moving from 2.2 to 2.4 ? > > I don't believe anyone has proposed a relation between nice > and cpu-affinity; the latter