Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2009 17:01:22 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        sthaug@nethelp.no
Cc:        freebsd-net@freebsd.org
Subject:   Re: IPv6 window scaling factor always 1 on initial SYN
Message-ID:  <20090406165933.C15361@maildrop.int.zabbadoz.net>
In-Reply-To: <20090406.121959.74751582.sthaug@nethelp.no>
References:  <20090405.231044.74688369.sthaug@nethelp.no> <20090405214757.E15361@maildrop.int.zabbadoz.net> <20090405215842.C15361@maildrop.int.zabbadoz.net> <20090406.121959.74751582.sthaug@nethelp.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 6 Apr 2009, sthaug@nethelp.no wrote:

>> Ok, both versions had:	< so->so_rcv.sb_hiwat)
>>
>> http://svn.freebsd.org/viewvc/base?view=revision&revision=166403
>>
>> changed it for IPv4 the first time,
>>
>> http://svn.freebsd.org/viewvc/base?view=revision&revision=172795
>>
>> changed it a second time for IPv4.
>>
>> Noone changed the IPv6 version.
>>
>> The syncache already seems to do it for both v4/v6 (common code).
>>
>> Can you try changing it to < sb_max) for IPv6 as well and see if
>> things work (better) for you?
>
> I changed it, and that worked like a dream. Now I get basically the
> same throughput with IPv4 and IPv6.

That sounds great! :-)


>  There are of course still issues
> like lots of IPv6 tunnels that add extra latency - but that's not the
> fault of FreeBSD.

> Anyway, thanks for your work. Below is a context diff (against 7-STABLE
> cvsupped last night). Do we need a PR to get this into FreeBSD?

No, not even the context diff would have been needed;-)  I'll commit
it as soon as I find a few quiet minutes and a src tree;-)

/bz

-- 
Bjoern A. Zeeb                      The greatest risk is not taking one.



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