lkml.org 
[lkml]   [1997]   [Jul]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    /
    From(Matthias Urlichs)
    SubjectRe: InfoWorld web server shootout
    Date10 Jul 1997 18:27:50 +0200
    Alex Belits <abelits@phobos.illtel.denver.co.us> writes:
    > [ Multi-Accept ]
    >   At least on FreeBSD it worked fine, but caused a significant performance
    > loss because of simultaneous awakening of accept()'ing tasks even though
    > for all tasks but one accept() failed when only one client connected at
    > the time. In FreeBSD it's changed in 2.2.x, but I haven't looked in Linux
    > code that handles it, and don't know if Linux suffers from the same
    > problem.
    > 
    As far as I can see from a cursory look at tcp_input.c, Linux does wake
    every process that's in accept() (2.0; don't know about 2.1).
    
    That should probably be changed...
    
    -- 
    The more you love, the more you _can_ love -- and the more intensely you love.
    Nor is there any limit on how _many_ you can love. If a person had time
    enough, he could love all of that majority who are decent and just.
                    -- Lazarus Long
    -- 
    Matthias Urlichs         \  noris network GmbH  /  Xlink-POP Nürnberg 
    Schleiermacherstraße 12   \   Linux+Internet   /   EMail: urlichs@noris.de
    90491 Nürnberg (Germany)   \    Consulting+Programming+Networking+etc'ing
       PGP: 1024/4F578875   1B 89 E2 1C 43 EA 80 44  15 D2 29 CF C6 C7 E0 DE
           Click <A HREF="http://info.noris.de/~smurf/finger">here</A>.    42
    
    
    \
     
     \ /
      Last update: 2005-03-22 13:39    [from the cache]
    ©2003-2008