From owner-freebsd-stable Thu May 31 18:36:39 2001 Delivered-To: freebsd-stable@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id C1F9D37B631 for ; Thu, 31 May 2001 18:36:31 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.3/8.11.2) id f511aUZ79086; Thu, 31 May 2001 18:36:30 -0700 (PDT) (envelope-from dillon) Date: Thu, 31 May 2001 18:36:30 -0700 (PDT) From: Matt Dillon Message-Id: <200106010136.f511aUZ79086@earth.backplane.com> To: Mike Holling Cc: freebsd-stable@FreeBSD.ORG Subject: Re: poor performance with FreeBSD and Windows ICS References: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :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