From owner-cvs-all Thu Sep 7 2:56: 7 2000 Delivered-To: cvs-all@freebsd.org Received: from hand.dotat.at (sfo-gw.covalent.net [207.44.198.62]) by hub.freebsd.org (Postfix) with ESMTP id 06A3337B423; Thu, 7 Sep 2000 02:56:04 -0700 (PDT) Received: from fanf by hand.dotat.at with local (Exim 3.15 #3) id 13WyPR-0001xA-00; Thu, 07 Sep 2000 09:55:53 +0000 Date: Thu, 7 Sep 2000 09:55:53 +0000 From: Tony Finch To: Alfred Perlstein Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern uipc_accf.c src/sys/netinet accf_http.c src/sys/sys socketvar.h Message-ID: <20000907095553.A6767@hand.dotat.at> References: <200009061849.LAA34906@freefall.freebsd.org> <20000907023342.G656@hand.dotat.at> <20000907022131.V18862@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000907022131.V18862@fw.wintelcom.net> Organization: Covalent Technologies, Inc Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein wrote: >* Tony Finch [000906 19:33] wrote: >> Alfred Perlstein wrote: >> > >> > Accept filter maintainance >> > >> > 2) Check if a socket has filled and dump to the listener >> >> Cool, but I think it would be better if you could configure an accept >> filter limit smaller than the socket buffer size. > >Afaik this can be achieved by using setsockopt to set the highwater >on the socket. But you want to set that high so that you can fill a long fat pipe, surely. (Although Apache doesn't do that so I guess it doesn't matter so much -- unless you expect lots of uploads.) Also if I understand things right I think that mbuf-based allocation can cause a multiplication of the memory used for socket receive buffers by quite a large factor. >> Also, what chance on timeouts for filtered connections? > >That's possible, but right now I'd like to fix the way listen() >overflows are handled. (make them FIFO) Yes. Tony. -- en oeccget g mtcaa f.a.n.finch v spdlkishrhtewe y dot@dotat.at eatp o v eiti i d. fanf@covalent.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message