Automatic TCP send and receive socket buffer sizing

Chris chrcoluk at gmail.com
Thu Dec 21 18:55:13 PST 2006


On 22/12/06, LI Xin <delphij at delphij.net> wrote:
> Chris wrote:
> > On 22/12/06, LI Xin <delphij at delphij.net> 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 <delphij at delphij.net>    http://www.delphij.net/
> FreeBSD - The Power to Serve!
>
>
>
>

Oh so after the patch I have to do another buildworld not just kernel?

Chris


More information about the freebsd-net mailing list