Date: Thu, 31 May 2001 18:36:30 -0700 (PDT) From: Matt Dillon <dillon@earth.backplane.com> To: Mike Holling <myke@ees.com> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: poor performance with FreeBSD and Windows ICS Message-ID: <200106010136.f511aUZ79086@earth.backplane.com> References: <Pine.BSF.4.21.0105311921410.58525-100000@av.fks.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
:I've got a DirecPC satellite link, which unfortunately forces me to use a :Win98 box running Microsoft's Internet Connection Sharing to get the LAN :online. Apparently Windows and Linux boxes are able to use ICS at full :thruput (60 kbyte/sec and up) but my FreeBSD boxes can only get up to 25 :or so steady-state, with an initial surge at the start. I've confirmed :the behavior on two different FreeBSD systems (4.2-RELEASE and :4.3-RELEASE). The 4.2 box is triple boot, and both WinME and Linux on :that system achieve full thruput. Presumably there's some difference in :the packet flow among the platforms, anyone run into this problem before? : :- Mike Try increasing the TCP buffer sizes. That's the net.inet.tcp.sendspace and net.inet.tcp.recvspace sysctl's. Satellite links have huge latencies and can easily fill the 16K default tcp stream buffer size. Try bumping them up to 60000 and if that works you can try going even larger... e.g. 262144. Try 60000 first, if that works well stick with it because values >= 65536 require tcp window sizing to be supported and not all platforms implement it properly. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106010136.f511aUZ79086>