From owner-freebsd-net@FreeBSD.ORG Thu Oct 12 08:59:12 2006 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 B472E16A403; Thu, 12 Oct 2006 08:59:12 +0000 (UTC) (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 41CCD43D62; Thu, 12 Oct 2006 08:59:12 +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 1GXwPG-000Op9-VV; Thu, 12 Oct 2006 10:59:10 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: "Jack Vogel" In-reply-to: <2a41acea0610111051r36ad7200gef868593e34c9331@mail.gmail.com> References: <2a41acea0610111051r36ad7200gef868593e34c9331@mail.gmail.com> Comments: In-reply-to "Jack Vogel" message dated "Wed, 11 Oct 2006 10:51:33 -0700." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 12 Oct 2006 10:59:10 +0200 From: Danny Braniss Message-ID: Cc: freebsd-hackers@freebsd.org, freebsd-net@freebsd.org Subject: Re: em blues 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: Thu, 12 Oct 2006 08:59:12 -0000 > On 10/11/06, Danny Braniss wrote: > > the box is a bit old (Intel Pentium III (933.07-MHz 686-class CPU) > > dual cpu. > > > > running iperf -c (receiving): > > > > freebsd-4.10 0.0-10.0 sec 936 MBytes 785 Mbits/sec > > freebsd-5.4 0.0-10.0 sec 413 MBytes 346 Mbits/sec > > freebsd.6.1 0.0-10.0 sec 366 MBytes 307 Mbits/sec > > freebsd-6.2 0.0-10.0 sec 344 MBytes 289 Mbits/sec > > > > btw, iperf -s (xmitting) is slightly better > > freebsd-4.10 0.0-10.0 sec 664 MBytes 558 Mbits/sec > > freebsd-5.4 0.0-10.0 sec 390 MBytes 327 Mbits/sec > > freebsd-6.1 0.0-10.0 sec 495 MBytes 415 Mbits/sec > > freebsd-6.2 0.0-10.0 sec 487 MBytes 408 Mbits/sec > > > > so, it seems that as the release number increases, the em > > throughput gets worse - or iperf is. > > You arent measuring em, you're measuring RELEASES on > your hardware, is this a surprise on a P3, no. > I agree 100% with your first statement, but, if_em is useless without the rest, and if it's not delivering, then something is wrong somewhere, no necesarely with the em driver, but in how the system interacts. > I still do 930ish Mb/s on a P4 with a PCI-E or PCI-X adaptors > running 6.1, in fact can do that with a 4 port adaptor I believe. i do get on certain combinations nice numbers: Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 4] 0.0-10.0 sec 1.08 GBytes 928 Mbits/sec (the mb is Intel SWV). which seems almost optimal, but on other platforms i get [ 3] 0.0-10.0 sec 654 MBytes 548 Mbits/sec (the mb is Intel SE7501) cheers, danny