From owner-freebsd-stable Fri Jun 1 16:29: 1 2001 Delivered-To: freebsd-stable@freebsd.org Received: from freesbee.wheel.dk (freesbee.wheel.dk [193.162.159.97]) by hub.freebsd.org (Postfix) with ESMTP id 4CD1137B422 for ; Fri, 1 Jun 2001 16:28:58 -0700 (PDT) (envelope-from jesper@skriver.dk) Received: by freesbee.wheel.dk (Postfix, from userid 1001) id 1DD195D3B; Sat, 2 Jun 2001 01:31:06 +0200 (CEST) Date: Sat, 2 Jun 2001 01:31:06 +0200 From: Jesper Skriver To: Mike Holling Cc: Matt Dillon , Juha Saarinen , Blaz Zupan , freebsd-stable@FreeBSD.ORG Subject: Re: poor performance with FreeBSD and Windows ICS Message-ID: <20010602013105.B30539@skriver.dk> References: <200106010136.f511aUZ79086@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from myke@ees.com on Fri, Jun 01, 2001 at 12:38:01PM -0600 X-PGP-Fingerprint: 6B88 9CE8 66E9 E631 C9C5 5EB4 22AB F0EC F956 1C31 X-PGP-Public-Key: http://freesbee.wheel.dk/~jesper/gpgkey.pub 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 On Fri, Jun 01, 2001 at 12:38:01PM -0600, Mike Holling wrote: > > 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. > > Upping sendspace and recvspace fixed the problem, I was able to get a file > at 67Kbyte/sec which only came down at 25 before changing the values. > 65535 seems to be a good value for both parameters. Enabling RFC 1323 > extensions had a bad effect, after enabling extensions all my transfers > would hang. Is there a place to put this in the FAQ? Could you give examples of what you did with rfc1323 extensions, just enabled it in /etc/rc.conf, without touching the send/recieve buffers, or ? Could you also please give a example of a site that you would get hanging connections to ? What do you mean with hanging connections ? /Jesper -- Jesper Skriver, jesper(at)skriver(dot)dk - CCIE #5456 Work: Network manager @ AS3292 (Tele Danmark DataNetworks) Private: FreeBSD committer @ AS2109 (A much smaller network ;-) One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message