Date: 05 Mar 2002 14:27:32 -0700 From: John-David Childs <freebsd@nterprise.net> To: RJ45 <rj45@slacknet.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: changing TCP window size ? Message-ID: <1015363653.14114.48.camel@lohr> In-Reply-To: <Pine.LNX.4.21.0203040300360.16362-100000@slacknet.slacknet.com> References: <Pine.LNX.4.21.0203040300360.16362-100000@slacknet.slacknet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Recently, while trying to optimize an FTP server's performance during the 4.4-STABLE network code transition (i.e. when network performance really sucked ;-), I found the following sysctl variables handy: net.inet.tcp.sendspace net.inet.tcp.recvspace These values can be changed "on the fly" with sysctl -w. Whether they actually change a running stream (or just future ones) I don't know. On Mon, 2002-03-04 at 03:03, RJ45 wrote: > > Hello. > How is possible to change TCP window size on the fly for a network > application? > For example: I have a 256Kbps ADSL so I would like to change TCP win size > accordingly to my bandwidth and delay time measured by ping: 256*RTT > the result should be the TCP window size, or at least the minimum size for > better performances. How to change window size ? > thanks > > Rick > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1015363653.14114.48.camel>