From owner-freebsd-performance@FreeBSD.ORG Thu May 31 02:44:45 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A8C116A400 for ; Thu, 31 May 2007 02:44:45 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mrout1.yahoo.com (mrout1.yahoo.com [216.145.54.171]) by mx1.freebsd.org (Postfix) with ESMTP id 7748413C45E for ; Thu, 31 May 2007 02:44:45 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (proxy8.corp.yahoo.com [216.145.48.13]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id l4V2YNSh000898; Wed, 30 May 2007 19:34:24 -0700 (PDT) Date: Thu, 31 May 2007 11:09:18 +0900 Message-ID: From: "George V. Neville-Neil" To: security In-Reply-To: <465DE367.8070009@jim-liesl.org> References: <4652383E.9000302@jim-liesl.org> <18013.49538.356407.283631@grasshopper.cs.duke.edu> <465DE367.8070009@jim-liesl.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.0.95 (i386-apple-darwin8.8.2) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Mailman-Approved-At: Thu, 31 May 2007 04:30:23 +0000 Cc: freebsd-performance@freebsd.org, Andrew Gallatin Subject: Re: [Fwd: asymetric speeds over gigE link] X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2007 02:44:45 -0000 At Wed, 30 May 2007 13:49:43 -0700, security wrote: > Drew, > Odd you should mention netperf. It yielded nearly identical > asymmetric results as iperf. I ended up testing with netpipe (NPtcp). > It reported fairly symmetric speeds between the two boxes when the send > and recv buffers were set the same, so that mystery is solved (maybe). > That being said I still wonder if I've too abstracted the net perfromance. > > The down side is that the best speed I got was around 362Mbps on > a gigE link (with netpipe). I had hoped for better. NetPIPE is my test of choice for such things, but I have not fully evaluated where it's performance bottlenecks may lie. It is most useful for causing "problems" to be found with networking code because unlike most tests it attempts to use odd sized packets. An interesting experiment would be to run gprof on NetPIPE to make sure that it was not the source of the inefficiency. If you try that can you post results? I'm the maintainer of the NetPIPE port in FreeBSD and have put in the code to cover IPv6 and SCTP. Best, George