Re: [PATCH] sched.c: Be a bit more conservative in SMP

From: Vincent Pelletier
Date: Thu Sep 21 2006 - 14:36:46 EST


Le mercredi 20 septembre 2006 09:42, Ludovic Drolez a écrit :
> Yes ! That might be a better idea !
> In fact, I tested the 1st patch on our cluster (Finite elements computing
> on 8 CPUs):
> - Under Windows: 875 seconds
> - Linux 2.6.16 : 1019 s
> - Linux 2.6.16 + manual taskset : 842 s
> - Linux 2.6.16 + Vincent's patch : 1373 s :-(

I was afraid of this :/.
I did some quick tests, and I got non-significant results. I tried building a
kernel with different make -j parameters, and there was like a few seconds of
difference, and not always in favour of the same version.

I find it strange that you get such horrible results...
Maybe I was completely wrong with my assumption that one running process
always has an impact of 1, which would have make the scheduler underestimate
the load on one cpu and put too many processes on it, without moving them
afterward.

--
Vincent Pelletier

Attachment: pgp00000.pgp
Description: PGP signature