Automatic TCP send and receive socket buffer sizing

LI Xin delphij at delphij.net
Thu Dec 21 18:36:21 PST 2006


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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20061222/542284b9/signature.pgp


More information about the freebsd-net mailing list