Date: Fri, 17 Nov 2006 18:59:25 +0100 From: Andre Oppermann <andre@freebsd.org> To: Morgan <freebsd-net@pp.dyndns.biz> Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org Subject: Re: SV: Automatic TCP send socker buffer sizing Message-ID: <455DF87D.8040604@freebsd.org> In-Reply-To: <013901c70a6f$84d7eee0$152ea8c0@phobos> References: <013901c70a6f$84d7eee0$152ea8c0@phobos>
next in thread | previous in thread | raw e-mail | index | archive | help
Morgan wrote: >> A RELENG_6 version (for FreeBSD 6.x) of the patch is here: >> >> http://people.freebsd.org/~andre/tcp_auto_sndbuf-20061116-RELE >> NG_6.diff >> >> Just apply this patch and recompile your kernel. It is >> activated by default. > > Downloaded, applied, recompiled, installed and rebooted without any errors. Good. > I did however add the sysctl variables to my /etc/sysctl.conf just in case. Unnecessary. ;-) >> Be aware that all socket buffer sizing events get logged to >> syslog under LOG_DEBUG. > > Does this mean they will automatically show up in /var/log/debug.log? Yes, or in /var/log/messages. >> This may affect overall system >> performance and you may want to disable logging to disk of >> this in syslogd.conf. > > I could use some help with the syntax for this... :-) I'd remove "kern.debug" from the /var/log/messages line and comment out the /var/log/debug.log line for the time being after you see a couple of lines with tcp_output: ... > And a final question: Will this feature work regardless of what side > initiates the TCP connection? Or will I have to instruct my ftp-users to use > active mode only when they transfer files to/from my FreeBSD box? It doesn't matter which side opens the connection. -- Andre
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?455DF87D.8040604>