From owner-freebsd-questions Sun Jul 1 15: 8: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from h24-67-61-12.lb.shawcable.net (h24-67-61-12.lb.shawcable.net [24.67.61.12]) by hub.freebsd.org (Postfix) with ESMTP id 9221F37B401 for ; Sun, 1 Jul 2001 15:08:00 -0700 (PDT) (envelope-from chris@home.com) Received: by h24-67-61-12.lb.shawcable.net (Postfix, from userid 1002) id B50F766B013; Sun, 1 Jul 2001 15:59:54 -0600 (MDT) Date: Sun, 1 Jul 2001 15:59:54 -0600 From: Chris Moline To: questions@freebsd.org Subject: Re: TCP windows size Message-ID: <20010701155954.A38682@h24-67-61-12.lb.shawcable.net> References: <3B38AA3B.FC131E95@i-clue.de> <200106281552.f5SFq0c24508@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106281552.f5SFq0c24508@ptavv.es.net>; from oberman@es.net on Thu, Jun 28, 2001 at 08:52:00AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 28, 2001 at 08:52:00AM -0700, Kevin Oberman wrote: > Bandwidth = window size / round trip time. This is a maximum bandwidth > regardless of other issues such as loss and congestion. Bandwidth is > in bits/sec, window size is in bits (not bytes!) and RTT is in > seconds. Since I almost always run on a fast link (2 to 10 Mbps), I > always run my max window at 64K bytes. Have I done my calculations right?? (64 * 1024) = 65536 bytes (65536 * 8) = 524288 bits After trying the above I get no buffer space availble errors. After a lot of trial and error i found the biggest value I can give without running out of buffer space is in between 233000 and 235000. Can I increase the buffer space?? Would this be a good idea?? Is it better to give a number that is a power of two?? Chris Moline To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message