Re: Linus on Linux, Apache and Threads

Matt Ranney (mjr@ranney.com)
26 Apr 1999 12:56:10 -0700


Chuck Lever <cel@monkey.org> writes:

[...]
> in other words, it's best to have the number of worker threads be close to
> the number of physical CPUs; otherwise, if the threads are scheduled in
> round-robin fashion, they could constantly knock each others' working set
> out of the CPU caches.

Until it gets very easy to handle all the blocking issues properly, it
seems like this is a penalty many people are going to be willing to
take.

-- 
Matt Ranney - mjr@ranney.com

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