Re: Linus on Linux, Apache and Threads

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 24 Apr 1999 01:17:14 +0100 (BST)


> Each time an element is put on the event queue, you up the semaphore.
> Before getting the dequeue lock on the queue, the thread would down the
> semaphore.

That isnt the performance issue. The scaling issue tends to be the "wake all
/ wake one" stuff - which is hard to do well for wake one.

Alan

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