From owner-freebsd-net@FreeBSD.ORG Fri Dec 22 00:28:42 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6FB3216A403 for ; Fri, 22 Dec 2006 00:28:42 +0000 (UTC) (envelope-from chrcoluk@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0814613C465 for ; Fri, 22 Dec 2006 00:28:41 +0000 (UTC) (envelope-from chrcoluk@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so3026319nfc for ; Thu, 21 Dec 2006 16:28:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=q2MhSugqR3acyvbu7BounVA4SlN2B2bhKxYbowD3PEMbhpJ30G0+qF3ffKKtzEFSHBp0TWiup6AQgi0JFzmMTDQYmfFHEqQsQhm7poZhiWAPDl5OsidWSVGzKN3rGXi3lW3KGy4k+kTK5q4pMNG276dLVta+gGYt+KLh9t0hchQ= Received: by 10.82.169.4 with SMTP id r4mr2030842bue.1166745821785; Thu, 21 Dec 2006 16:03:41 -0800 (PST) Received: by 10.82.134.15 with HTTP; Thu, 21 Dec 2006 16:03:41 -0800 (PST) Message-ID: <3aaaa3a0612211603i28111be4ve51ae47ef6c26bcd@mail.gmail.com> Date: Fri, 22 Dec 2006 00:03:41 +0000 From: Chris To: "LI Xin" In-Reply-To: <458A9633.1060908@delphij.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <457F2D82.6000905@freebsd.org> <1299780826.20061214141629@citrin.ru> <458142DB.8000002@freebsd.org> <20061220084515.GK48407@obiwan.tataz.chchile.org> <3aaaa3a0612210148n78b326a5wde5efa2e8dc4edb9@mail.gmail.com> <458A8BD6.5020004@delphij.net> <458A9633.1060908@delphij.net> Cc: Jeremie Le Hen , freebsd-net@freebsd.org, Andre Oppermann , Anton Yuzhaninov Subject: Re: Automatic TCP send and receive socket buffer sizing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2006 00:28:42 -0000 On 21/12/06, LI Xin wrote: > LI Xin wrote: > > Hi, > > > > Chris wrote: > >> I think the opposite, without this patch my send window set to 256k > >> for 'all' connections to allow decent speeds. > >> > >> With the patch most connections will be just 8k in size and some be 256k. > >> > >> so worst case scenario with patch during a DOS they will all use 256k > >> windows but without the patch they would all use 256k regardless. > >> > >> p.s. waiting still for releng 6 patch :) > > > > Unofficial backport for andre@'s patch. I am testing it on RELENG_6_2 > > but the box is not heavily loaded, and please note that this is > > UNOFFICIAL so it's up to you to decide whether you want it. > > Oops, forgot the patch. > > http://people.freebsd.org/~delphij/misc/patch-tcp_auto_buf-20061212-RELENG_6.diff > > Cheers, > -- > Xin LI http://www.delphij.net/ > FreeBSD - The Power to Serve! > > > > Thanks will this apply ok against src with the send patch already applied or should I recvsup and then apply this clean? Chris