From owner-freebsd-performance@FreeBSD.ORG Wed May 30 20:49:49 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 92D4316A468 for ; Wed, 30 May 2007 20:49:49 +0000 (UTC) (envelope-from security@jim-liesl.org) Received: from qsmtp3.mc.surewest.net (qsmtp.mc.surewest.net [66.60.130.145]) by mx1.freebsd.org (Postfix) with SMTP id 7579313C447 for ; Wed, 30 May 2007 20:49:49 +0000 (UTC) (envelope-from security@jim-liesl.org) Received: (qmail 8964 invoked from network); 30 May 2007 13:49:48 -0700 Received: by simscan 1.1.0 ppid: 8929, pid: 8933, t: 4.5192s scanners: regex: 1.1.0 attach: 1.1.0 clamav: 0.84/m:43/d:3122 spam: 3.0.3 Received: from unknown (HELO daemon.jim-liesl.org) (66.60.173.44) by qsmtp3 with SMTP; 30 May 2007 13:49:44 -0700 Received: from daemon.jim-liesl.org (localhost.static.surewest.net [127.0.0.1]) by daemon.jim-liesl.org (Postfix) with ESMTP id 56BC65C1D; Wed, 30 May 2007 13:49:43 -0700 (PDT) Received: from [127.0.0.1] (daemon.static.surewest.net [192.168.1.15]) by daemon.jim-liesl.org (Postfix) with ESMTP id 122595C1C; Wed, 30 May 2007 13:49:43 -0700 (PDT) Message-ID: <465DE367.8070009@jim-liesl.org> Date: Wed, 30 May 2007 13:49:43 -0700 From: security User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Andrew Gallatin References: <4652383E.9000302@jim-liesl.org> <18013.49538.356407.283631@grasshopper.cs.duke.edu> In-Reply-To: <18013.49538.356407.283631@grasshopper.cs.duke.edu> X-Enigmail-Version: 0.94.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on qsmtp3.surewest.net X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.3 Cc: freebsd-performance@freebsd.org 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: Wed, 30 May 2007 20:49:49 -0000 > security writes: > > Sent this to -net and didn't get much info, so I'll try here since > > there's some overlap > > > > Summary: Using iperf to measure TCP net speed between a linux (kubuntu edgy) and > > Iperf is probably your problem, it tends to perform really poorly on > nearly any OS other than linux as it measures lots of things besides > network performance (like gettimeofday performance). Try a network > benchmark that just benchmarks the network, like netperf. > > For example, on an amd64x2 running -current, I see ~4.75Gb/s from > netperf (no options) and 2.85Gb/s from iperf (no options) > > Drew > 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.