Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2001 13:36:18 +1200
From:      "Juha Saarinen" <juha@saarinen.org>
To:        "'Mike Holling'" <myke@ees.com>, <freebsd-stable@freebsd.org>
Subject:   RE: poor performance with FreeBSD and Windows ICS
Message-ID:  <02b601c0ea3b$41230cc0$0a01a8c0@den2>
In-Reply-To: <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?

Have you tried turning on RFC 1323 extensions? Put:

	tcp_extensions="YES"

into /etc/rc.conf. It should be enabled by default though. Check with
sysctl -a | grep rfc1323

Another thing that might help with long delay connections is increasing
the TCP send and receive buffers. The defaults are a bit small for fat
pipe satellite connections:

	net.inet.tcp.sendspace: 16384
	net.inet.tcp.recvspace: 16384

Try upping both to 65534 bytes (with sysctl -w) to see if it helps.

-- Juha


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?02b601c0ea3b$41230cc0$0a01a8c0>