From owner-freebsd-net@FreeBSD.ORG Mon Feb 28 11:21:40 2005 Return-Path: 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 2F92916A4CE for ; Mon, 28 Feb 2005 11:21:40 +0000 (GMT) Received: from muheleja.eenet.ee (muheleja.eenet.ee [193.40.0.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC5A843D39 for ; Mon, 28 Feb 2005 11:21:38 +0000 (GMT) (envelope-from urmas.lett@eenet.ee) Received: from localhost (localhost [127.0.0.1]) by localhost.eenet.ee (Postfix) with ESMTP id 49E034742B for ; Mon, 28 Feb 2005 13:21:37 +0200 (EET) Received: from muheleja.eenet.ee ([127.0.0.1]) by localhost (muheleja.eenet.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08849-02 for ; Mon, 28 Feb 2005 13:21:37 +0200 (EET) Received: from PORISEJA.eenet.ee (poriseja.eenet.ee [193.40.0.223]) by muheleja.eenet.ee (Postfix) with ESMTP id C538747428 for ; Mon, 28 Feb 2005 13:21:36 +0200 (EET) Message-Id: <6.1.2.0.2.20050228131836.01ba4280@muheleja.eenet.ee> X-Sender: pikk@muheleja.eenet.ee (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0 Date: Mon, 28 Feb 2005 13:21:37 +0200 To: freebsd-net@freebsd.org From: Urmas Lett Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new at eenet.ee Subject: kern.hz and single tcp connection throughput X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 11:21:40 -0000 Hello, I was playing with iperf over ~500km empty gigabit link. FreeBSD 5.3-STABLE kern.hz="100" (default) root@test2:~# iperf -c x.x.x.x ------------------------------------------------------------ Client connecting to x.x.x.x, TCP port 5001 TCP window size: 32.5 KByte (default) ------------------------------------------------------------ [ 3] local y.y.y.y port 56931 connected with x.x.x.x port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 28.8 MBytes 24.1 Mbits/sec root@test2:~# iperf -c x.x.x.x -w 64k ------------------------------------------------------------ Client connecting to x.x.x.x, TCP port 5001 TCP window size: 65.0 KByte (WARNING: requested 64.0 KByte) ------------------------------------------------------------ [ 3] local y.y.y.y port 57926 connected with x.x.x.x port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 28.3 MBytes 23.6 Mbits/sec root@test2:~# iperf -c x.x.x.x -w 128k ------------------------------------------------------------ Client connecting to x.x.x.x, TCP port 5001 TCP window size: 129 KByte (WARNING: requested 128 KByte) ------------------------------------------------------------ [ 3] local y.y.y.y port 64330 connected with x.x.x.x port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 29.0 MBytes 24.2 Mbits/sec root@test2:~# iperf -c x.x.x.x -w 256k ------------------------------------------------------------ Client connecting to x.x.x.x, TCP port 5001 TCP window size: 257 KByte (WARNING: requested 256 KByte) ------------------------------------------------------------ [ 3] local y.y.y.y port 55575 connected with x.x.x.x port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.1 sec 31.2 MBytes 26.0 Mbits/sec root@test2:~# iperf -c x.x.x.x -w 512k ------------------------------------------------------------ Client connecting to x.x.x.x, TCP port 5001 TCP window size: 513 KByte (WARNING: requested 512 KByte) ------------------------------------------------------------ [ 3] local y.y.y.y port 59043 connected with x.x.x.x port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.2 sec 30.0 MBytes 24.7 Mbits/sec ============================================================ kern.hz="1000" root@test2:~# iperf -c x.x.x.x ------------------------------------------------------------ Client connecting to x.x.x.x, TCP port 5001 TCP window size: 32.5 KByte (default) ------------------------------------------------------------ [ 3] local y.y.y.y port 61402 connected with x.x.x.x port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 44.5 MBytes 37.3 Mbits/sec root@test2:~# iperf -c x.x.x.x -w 64k ------------------------------------------------------------ Client connecting to x.x.x.x, TCP port 5001 TCP window size: 65.0 KByte (WARNING: requested 64.0 KByte) ------------------------------------------------------------ [ 3] local y.y.y.y port 62718 connected with x.x.x.x port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 87.9 MBytes 73.7 Mbits/sec root@test2:~# iperf -c x.x.x.x -w 128k ------------------------------------------------------------ Client connecting to x.x.x.x, TCP port 5001 TCP window size: 129 KByte (WARNING: requested 128 KByte) ------------------------------------------------------------ [ 3] local y.y.y.y port 50571 connected with x.x.x.x port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 169 MBytes 142 Mbits/sec root@test2:~# iperf -c x.x.x.x -w 256k ------------------------------------------------------------ Client connecting to x.x.x.x, TCP port 5001 TCP window size: 257 KByte (WARNING: requested 256 KByte) ------------------------------------------------------------ [ 3] local y.y.y.y port 61072 connected with x.x.x.x port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 305 MBytes 255 Mbits/sec root@test2:~# iperf -c x.x.x.x -w 512k ------------------------------------------------------------ Client connecting to x.x.x.x, TCP port 5001 TCP window size: 513 KByte (WARNING: requested 512 KByte) ------------------------------------------------------------ [ 3] local y.y.y.y port 62887 connected with x.x.x.x port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.5 sec 451 MBytes 362 Mbits/sec