Re: IPv6 window scaling factor always 1 on initial SYN

2009-04-10 Thread Bjoern A. Zeeb
On Tue, 7 Apr 2009, sth...@nethelp.no wrote: I changed it, and that worked like a dream. Now I get basically the same throughput with IPv4 and IPv6. 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 w

Re: IPv6 window scaling factor always 1 on initial SYN

2009-04-07 Thread sthaug
> > I changed it, and that worked like a dream. Now I get basically the > > same throughput with IPv4 and IPv6. 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 d

Re: IPv6 window scaling factor always 1 on initial SYN

2009-04-07 Thread Bjoern A. Zeeb
On Mon, 6 Apr 2009, sth...@nethelp.no wrote: 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. There are of course still issues like lots of IPv6

Re: IPv6 window scaling factor always 1 on initial SYN

2009-04-06 Thread Bjoern A. Zeeb
On Mon, 6 Apr 2009, sth...@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.

Re: IPv6 window scaling factor always 1 on initial SYN

2009-04-06 Thread sthaug
> 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

Re: IPv6 window scaling factor always 1 on initial SYN

2009-04-05 Thread Bjoern A. Zeeb
On Sun, 5 Apr 2009, Bjoern A. Zeeb wrote: On Sun, 5 Apr 2009, sth...@nethelp.no wrote: On 7-STABLE, with kern.ipc.maxsockbuf=2621440, both sides set a window scaling factor of 6 (i.e. SYN wscale 6, SYN-ACK wscale 6) using IPv4. With the same value of kern.ipc.maxsockbuf, using IPv6, the side

Re: IPv6 window scaling factor always 1 on initial SYN

2009-04-05 Thread Bjoern A. Zeeb
On Sun, 5 Apr 2009, sth...@nethelp.no wrote: On 7-STABLE, with kern.ipc.maxsockbuf=2621440, both sides set a window scaling factor of 6 (i.e. SYN wscale 6, SYN-ACK wscale 6) using IPv4. With the same value of kern.ipc.maxsockbuf, using IPv6, the side which sends the initial SYN sets a window sc

IPv6 window scaling factor always 1 on initial SYN

2009-04-05 Thread sthaug
On 7-STABLE, with kern.ipc.maxsockbuf=2621440, both sides set a window scaling factor of 6 (i.e. SYN wscale 6, SYN-ACK wscale 6) using IPv4. With the same value of kern.ipc.maxsockbuf, using IPv6, the side which sends the initial SYN sets a window scaling factor of only 1, while the other side set