lkml.org 
[lkml]   [1997]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: something to experiment with: LIFO and accept()
   From: alan@lxorguk.ukuu.org.uk (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, davem@caip.rutgers.edu /_____________/ / // /_/ ><

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