Re: CPU affinity

Ingo Molnar (mingo@chiara.csoma.elte.hu)
Sat, 10 Apr 1999 10:57:41 +0200 (CEST)


On Fri, 9 Apr 1999, Gregory Maxwell wrote:

> > Are there any patches available to enable some sort of CPU affinity? this
> > would be useful for some software (e.g. Informix Dynamic Server) and in
> > general would reduce cache thrashing on SMP boxes.
>
> Linux already uses a simple form of CPU affinity. Although it is quite
> simple, it is quite effective. I worked on it for about a week somewhere
> around 2.1.4x and was unable to acheve any intresting improvements.

note that 2.2 already has a 'not so simple' cache-affinity logic. It's
automatic and works for a wide range of cases. (let me/the list know if it
doesnt seem to work for something)

-- mingo

-
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/