On Fri, 17 Nov 2006 08:02:28 -0600, Andre Oppermann <[EMAIL PROTECTED]>
wrote:
Andre Oppermann wrote:
With automatic TCP send socket buffers we can start with a small buffer
and quickly grow it in parallel with the TCP congestion window to match
real network conditions.
>
The patch is available here:
http://people.freebsd.org/~andre/tcp_auto_sndbuf-20061116.diff
Any testers, especially with busy FTP servers, are very welcome.
A RELENG_6 version (for FreeBSD 6.x) of the patch is here:
http://people.freebsd.org/~andre/tcp_auto_sndbuf-20061116-RELENG_6.diff
Just apply this patch and recompile your kernel. It is activated by
default.
Be aware that all socket buffer sizing events get logged to syslog under
LOG_DEBUG. This may affect overall system performance and you may want
to
disable logging to disk of this in syslogd.conf.
Is this relate with net.inet.tcp.sendspace? I reset my sysctl config back
to default that was for wine+utorrent, so tested with wine+utorrent on
today (Nov 25th) RELENG_6 and works fine so far.
[...]
Nov 25 14:35:22 mezz kernel: tcp_output: inc sockbuf, old 65612, new
73804, sb_cc 58553, snd_wnd 149760, sendwnd 36719
Nov 25 14:35:27 mezz kernel: tcp_output: inc sockbuf, old 73804, new
81996, sb_cc 65608, snd_wnd 148896, sendwnd 38283
Nov 25 14:35:27 mezz kernel: tcp_output: inc sockbuf, old 81996, new
90188, sb_cc 72604, snd_wnd 148896, sendwnd 38283
Nov 25 14:35:29 mezz kernel: tcp_output: inc sockbuf, old 90188, new
98380, sb_cc 79093, snd_wnd 149760, sendwnd 39988
[...goes on...]
A bit off point, I have to setup this below in sysctl to get wine+utorrent
download/upload very fast and ustable without hog the CPU.
kern.ipc.maxsockbuf=2097152
net.inet.tcp.recvspace=262144
net.inet.tcp.sendspace=262144
Cheers,
Mezz
--
[EMAIL PROTECTED] - [EMAIL PROTECTED]
FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/ - [EMAIL PROTECTED]
http://wiki.freebsd.org/multimedia - [EMAIL PROTECTED]
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"