Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 19626 invoked by uid 6000); 22 Jan 1998 00:15:57 -0000 Received: (qmail 19619 invoked from network); 22 Jan 1998 00:15:56 -0000 Received: from valis.worldgate.com (marcs@198.161.84.2) by taz.hyperreal.org with SMTP; 22 Jan 1998 00:15:56 -0000 Received: from localhost (marcs@localhost) by valis.worldgate.com (8.8.7/8.8.7) with SMTP id RAA24345 for ; Wed, 21 Jan 1998 17:15:55 -0700 (MST) Date: Wed, 21 Jan 1998 17:15:54 -0700 (MST) From: Marc Slemko To: new-httpd@apache.org Subject: Re: cvs commit: apachen/src/main conf.h In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org On Wed, 21 Jan 1998, Marc Slemko wrote: > I'm not sure if I would go for the "most others" thing when you get under > high load. > > The overhead of locking may more than cancel out the overhead of waking up > all processes on accept(). I mean may be more than cancelled out by. Probably not though. Chapter 2 of the new UNIX network programming has some numbers for various methods of servers, eg. no accept() locking, accept locking, thread mutex locking, descriptor passing, a copule of threaded models, etc. > > Well. I guess that depends. Some OSes wake up all processes anyway when > the lock is given to another process, some just pull one off the queue and > leave the rest alone. > > Note that on svr4 systems this is critical and you must have serialized > accept no matter what. > > On Wed, 21 Jan 1998, Jim Jagielski wrote: > > > jim@hyperreal.org wrote: > > > > > > jim 98/01/21 15:12:09 > > > > > > Modified: src CHANGES > > > src/main conf.h > > > Log: > > > A/UX can use SAFE_UNSERIALIZED_ACCEPT as well > > > > > > > As Marc said, this is good for FreeBSD as well and, I'm guessing, > > most others too (?). Maybe we should note what would cause it > > NOT being a good idea somewhere in the docs and ask for > > feedback from beta testers. Recall that flock mutex didn't work > > until "recently" soooo that could be a good data point as well. > > -- > > ==================================================================== > > Jim Jagielski | jaguNET Access Services > > jim@jaguNET.com | http://www.jaguNET.com/ > > "Look at me! I'm wearing a cardboard belt!" > > >