Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2006 03:37:24 +0000
From:      Chris <chrcoluk@gmail.com>
To:        "LI Xin" <delphij@delphij.net>
Cc:        freebsd-net@freebsd.org, Andre Oppermann <andre@freebsd.org>, Jeremie Le Hen <jeremie@le-hen.org>, Anton Yuzhaninov <citrin@citrin.ru>
Subject:   Re: Automatic TCP send and receive socket buffer sizing
Message-ID:  <3aaaa3a0612211937g12d97d5cm1f68ed8b943f9419@mail.gmail.com>
In-Reply-To: <458B4BF7.9060603@delphij.net>
References:  <457F2D82.6000905@freebsd.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> <3aaaa3a0612211855k16c2e87qdee8d6abfe627a5e@mail.gmail.com> <458B4BF7.9060603@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22/12/06, LI Xin <delphij@delphij.net> wrote:
> Chris wrote:
> [...]
> >> > 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.
> >
> > Oh so after the patch I have to do another buildworld not just kernel?
>
> It's not strictly required, if you do not use these utilities to get
> information about TCP connection.  However, it's recommended to do
> buildworld.
>
> BTW:  The best practice is to do buildworld *before* buildkernel, and do
> installkernel before installworld.
>
> Cheers,
> --
> Xin LI <delphij@delphij.net>    http://www.delphij.net/
> FreeBSD - The Power to Serve!
>
>
>
>
Sorry I was unaware it needed that as the send patch only needed a kernel.

I think only send windows are been adjusted as I noticed poor speeds
going 'to' the server.

debug.log has many like this.

Dec 22 03:35:24 heaven kernel: tcp_output: inc sockbuf, old 156144,
new 164336, sb_cc 153464, snd_wnd 127424, sendwnd 108600

which indicates send is been adjusted right? but nothing with recv.

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3aaaa3a0612211937g12d97d5cm1f68ed8b943f9419>