lkml.org 
[lkml]   [1999]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Overscheduling DOES happen with high web server load.
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.126 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site