Re: something to experiment with: LIFO and accept()

David S. Miller (
Wed, 9 Apr 1997 19:46:44 -0400

From: (Alan Cox)
Date: Wed, 9 Apr 1997 23:36:52 +0100 (BST)

> running stable then benchmark it. Now hack your linux kernel to
> wake tasks in LIFO order out of accept() and benchmark again.

Linux has no "wake_one" semantic in the scheduling. This is going
to become an issue for 2.1 when we have the fine grained SMP sane
as without it we get the so called "thundering herd" problems.

Yes, but please make note that there will remain major cases where
wake_one() can not and will not work, pipes come to mind firstly.

Yow! 11.26 MB/s remote host TCP bandwidth & ////
199 usec remote TCP latency over 100Mb/s ////
ethernet. Beat that! ////
-----------------------------------------////__________ o
David S. Miller, /_____________/ / // /_/ ><