lkml.org 
[lkml]   [1999]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFT] 2.2.8_andrea1 wake-one [Re: Overscheduling DOES happen with high web server load.]


On Wed, 12 May 1999, Andrea Arcangeli wrote:

> Note: it has also my wake-one on accept that just address completly the
> overscheduling problem. But to achieve performances by it you must make
> sure that _all_ apache tasks are sleeping in accept(2) and not in
> flock(2)/fcntl(2)/whatever. Maybe you'll need to patch apache to achieve

no patch required, just do this to configure apache:

env CFLAGS='-DSINGLE_LISTEN_UNSERIALIZED_ACCEPT' ./configure

... and make sure you have only one listening socket.

Dean


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

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