From owner-freebsd-stable@FreeBSD.ORG Thu Feb 16 04:18:34 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC79F16A420 for ; Thu, 16 Feb 2006 04:18:34 +0000 (GMT) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E7F843D48 for ; Thu, 16 Feb 2006 04:18:34 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.13.4/8.13.4) with ESMTP id k1G4IXB8091634 for ; Wed, 15 Feb 2006 23:18:33 -0500 (EST) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3/8.13.3) with ESMTP id k1G4IVRE009552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 15 Feb 2006 23:18:32 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060215221957.076524f8@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Wed, 15 Feb 2006 23:17:41 -0500 To: freebsd-stable@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 Subject: tcp throughput and net.inet.tcp.inflight.enable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2006 04:18:34 -0000 For a local server, is there any reason why I would want to keep net.inet.tcp.inflight.enable on ? I was kind of surprised at the difference in the results with it on and off [backup3]# iperf -c 10.1.1.2 ------------------------------------------------------------ Client connecting to 10.1.1.2, TCP port 5001 TCP window size: 65.0 KByte (default) ------------------------------------------------------------ [ 3] local 10.2.2.2 port 59056 connected with 10.1.1.2 port 5001 [ 3] 0.0-10.0 sec 396 MBytes 333 Mbits/sec [backup3]# sysctl -w net.inet.tcp.inflight.enable=0 net.inet.tcp.inflight.enable: 1 -> 0 [backup3]# iperf -c 10.1.1.2 ------------------------------------------------------------ Client connecting to 10.1.1.2, TCP port 5001 TCP window size: 65.0 KByte (default) ------------------------------------------------------------ [ 3] local 10.2.2.2 port 64685 connected with 10.1.1.2 port 5001 [ 3] 0.0-10.0 sec 788 MBytes 661 Mbits/sec [backup3]# ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike