From owner-freebsd-net@FreeBSD.ORG Tue Jul 12 09:21:26 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 070FE16A41C; Tue, 12 Jul 2005 09:21:26 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 923D743D4C; Tue, 12 Jul 2005 09:21:25 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1DsGx9-0008Xc-GW; Tue, 12 Jul 2005 12:21:23 +0300 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: David Malone In-reply-to: Your message of Tue, 12 Jul 2005 09:59:50 +0100 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 12 Jul 2005 12:21:23 +0300 From: Danny Braniss Message-ID: Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org, Luigi Rizzo Subject: Re: tcp troughput weirdness X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 09:21:26 -0000 > > > Are the window sizes on Linux bigger or smaller? > > > TCP window size: 16.0 KByte (default) > > smaller :-(, but increasing it does not make any change > > Hmmm... Various things that you could try (I'd try them > one by on, rather than all together): > > 1) sysctl net.inet.tcp.inflight_enable=0 > > 2) sysctl net.inet.tcp.sendspace=131072 > sysctl net.inet.tcp.recvspace=131072 > > 3) sysctl net.inet.tcp.sack.enable=0 > > I'd be interested to know if any of them make much difference. combining sysctl net.inet.tcp.sendspace=131072 and sysctl net.inet.tcp.inflight.enable=0 did the trick! now can someone remind me what inflight does? and could someone explain why increasing sendspace alone did not do the trick? (i had it at 64k, which got things better, but not sufficient). thanks! > > David.