Re: Overscheduling DOES happen with high web server load.

Stephen C. Tweedie (sct@redhat.com)
Tue, 11 May 1999 19:46:54 +0100 (BST)


Hi,

On Fri, 7 May 1999 02:56:20 +0100 (BST), alan@lxorguk.ukuu.org.uk (Alan
Cox) said:

> For most wake_one situations you want to schedule the last thread to go idle
> as it will have the most context in cache.

No, you want to find the thread which was most recently active on a
currently idle CPU if there is one. That's a big difference. If you
have multiple idle CPUs, just waking up the most recent thread isn't any
guarantee of cache locality.

--Stephen

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