re: Strange scheduling behavoir in SMP (kernel 2.2.14)

From: Rik van Riel (riel@nl.linux.org)
Date: Fri Jan 28 2000 - 21:45:34 EST


On Fri, 28 Jan 2000, Peter Waltenberg wrote:

> > aflores@ditec.um.es wrote
> =============================
> I have a SMP machine with two Pentium III. In order to compare performance
> with other machines I began a simple test:
>
> for (i=0;i<MAX_NUMBER;i++)
> for(j=0;j<MAX_NUMBER;j++)
> c=a*b; /* These variables could be integer or double */
>
> Using kernel 2.2.12 with SMP support this simple program take more
> time in my machine than in a uniprocessor with K6-2 (the same
> problem appear in the last stable kernel 2.2.14) Using xosview
> application I discovered where the problem was. Instead of staying
> all the time in the same cpu, the process go from one cpu to other
> with a big performance lost.
>
> Am I right?. Has been this problem solved in 2.3.x series?

I'm writing a scheduler patch now. A patch that should also
help performance on single processor systems, btw...

regards,

Rik

--
The Internet is not a network of computers. It is a network
of people. That is its real strength.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:23 EST