From owner-freebsd-isp@FreeBSD.ORG Wed Jul 9 10:55:46 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F002037B401; Wed, 9 Jul 2003 10:55:46 -0700 (PDT) Received: from pursued-with.net (adsl-66-125-9-242.dsl.sndg02.pacbell.net [66.125.9.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1749243FB1; Wed, 9 Jul 2003 10:55:46 -0700 (PDT) (envelope-from Kevin_Stevens@pursued-with.net) Received: from babelfish.pursued-with.net (babelfish.pursued-with.net [192.168.168.42]) by pursued-with.net (8.12.8p1/8.12.8) with ESMTP id h69HuXMs008464; Wed, 9 Jul 2003 10:56:33 -0700 (PDT) (envelope-from Kevin_Stevens@pursued-with.net) Date: Wed, 9 Jul 2003 10:56:33 -0700 (PDT) From: Kevin Stevens To: Max Clark In-Reply-To: Message-ID: <20030709104404.P8402@babelfish.pursued-with.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-isp@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: How do I max a 6Mbps link X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kevin_Stevens@pursued-with.net List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2003 17:55:47 -0000 On Wed, 9 Jul 2003, Max Clark wrote: > Hi all, > > What configuration changes do I need to make to two freebsd-stable boxes to > fully max out a 6Mbps/220ms network link? This is for bulk 500+MB file > transfers. You need to increase the maximum TCP window size setting (not sure what sysctl it is) to around 256KB to accommodate the bandwidth/latency product. In brief, 6Mb/1500B frames = 500 frames/sec. Using 250ms for simplicity, you need a large enough TCP window to handle 1/4 of that (125 frames x 1500 bytes/frame = 183KB, round up to 256KB) to permit continuous streaming. Note that TCP windows actually only go to 64KB, you need to use TCP window scaling as a multiplier to go beyond that. Both stations must support it. You can find more info on this on the web, look for high-latency/high-bandwidth. KeS