Re: 2.1.32 - performance problems

Ingo Molnar (mingo@pc5829.hil.siemens.at)
Mon, 7 Apr 1997 10:28:56 +0200 (MET DST)


On Sun, 6 Apr 1997, Peter Leif Rasmussen wrote:

> Pavel Machek wrote:
> >
> >It looks like 2.1.32 has big performance problems on my machine - kernel
> >compilation undeer 2.0.29 takes 25 min, on 2.1.32 it takes over 40
> >minutes. I have 486DX2/80 with 20MB of ram.
> >
> I'll second that, and will extend that to the latest 2.1.x kernels. [...]

i've got an ugly fix for an SMP scheduling problem i found tonight, maybe
it has some effect on uniprocessors too? dunno, anyways:

add this to line 374 of 2.1.3[12] sched.c:

if ( (!next->pid) && (prev->state==TASK_RUNNING) )
next = prev;

it works for me, but it might be a totally broken thing. It fixes the SMP
performance problems i had in 2.1.3[012].

-- mingo