From owner-freebsd-net@FreeBSD.ORG Fri Dec 22 02:55:13 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 22B0A16A417 for ; Fri, 22 Dec 2006 02:55:13 +0000 (UTC) (envelope-from chrcoluk@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 923E813C442 for ; Fri, 22 Dec 2006 02:55:12 +0000 (UTC) (envelope-from chrcoluk@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so3060175nfc for ; Thu, 21 Dec 2006 18:55:11 -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=JKo6sH+HmPYla39HLPVCDGM1vDamLlAZoBLFrdvoWVLWaghxDHsK09Co0c4KhtDED+jmB/dr1oNYaluci3tf8oCjeF9Yh/ej257N4VRM1ghTIvBUJA0xpNTSUBehLHcsVIJdM/nKhWWHmvPopGRisNNM6u79W8L3NviN32jOb9I= Received: by 10.82.120.14 with SMTP id s14mr2046411buc.1166756111219; Thu, 21 Dec 2006 18:55:11 -0800 (PST) Received: by 10.82.134.15 with HTTP; Thu, 21 Dec 2006 18:55:10 -0800 (PST) Message-ID: <3aaaa3a0612211855k16c2e87qdee8d6abfe627a5e@mail.gmail.com> Date: Fri, 22 Dec 2006 02:55:10 +0000 From: Chris To: "LI Xin" In-Reply-To: <458B4462.2010602@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> <458142DB.8000002@freebsd.org> <20061220084515.GK48407@obiwan.tataz.chchile.org> <3aaaa3a0612210148n78b326a5wde5efa2e8dc4edb9@mail.gmail.com> <458A8BD6.5020004@delphij.net> <458A9633.1060908@delphij.net> <3aaaa3a0612211603i28111be4ve51ae47ef6c26bcd@mail.gmail.com> <458B3E39.8080601@delphij.net> <3aaaa3a0612211831u420aa76eq7088dcc9901d412b@mail.gmail.com> <458B4462.2010602@delphij.net> Cc: freebsd-net@freebsd.org, Andre Oppermann , Jeremie Le Hen , 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 02:55:13 -0000 On 22/12/06, LI Xin wrote: > Chris wrote: > > On 22/12/06, LI Xin wrote: > >> Chris wrote: > >> [...] > >> >> >> 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 > >> > >> >> > >> > > >> > Thanks will this apply ok against src with the send patch already > >> > applied or should I recvsup and then apply this clean? > >> > >> I think it would not apply, you will need to restore the original > >> revisions. On the other hand I think the send side patch is the same, > >> but I have not checked it... > >> > > > > I ran cvsup again, unfortenatly there was changes in world since the > > last cvsup so I have done a new buildworld as well to keep it all > > synched and then done a unpatched kernel, after that I have patched > > and using testkernel. So far seems to be working fine. Thanks > > Yes, you need to rebuild stuff that depends on TCP in-kernel structures, > for instance netstat(1), etc., to pick up with the change. > > Cheers, > -- > Xin LI http://www.delphij.net/ > FreeBSD - The Power to Serve! > > > > Oh so after the patch I have to do another buildworld not just kernel? Chris