From owner-freebsd-stable@FreeBSD.ORG Fri Jan 25 16:05:10 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C76B3611 for ; Fri, 25 Jan 2013 16:05:10 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by mx1.freebsd.org (Postfix) with ESMTP id 65A907D7 for ; Fri, 25 Jan 2013 16:05:09 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id 16so330826wgi.27 for ; Fri, 25 Jan 2013 08:05:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=D//EWKIjVHtLfjYe89iZyw2zjMaBTnWBaQoWrMxPNuE=; b=S0krTG4hjRTL5pLatdD499wYlsjH9DAO1jA1veV6p/CebV9NDHfOZW/xR8buKb4bsK PS+jRVkxX2eLYq4HYF9pP1qulQQK2VYRnWRONFBL/rgk5xHl90EdB98i5muqV9oNIJI3 DT+cHZu4dfGIZbl3chK5Wovuj7WWgoEPO5NUpqKUqQ3xdccWf3Zd1T75H1STtfSU4Bos bnmcCBsEbPYYlSPR5wS0lkjWuowa1aH0Lq6Q7fk3OcWJoNBMH/5I48Bv89YwVNonGeG/ 7VcYQLlmDvdvZeDszO9UdeyV4sj71wXsb3Afsn2XWgXboU8XpAa4q3pZh2QI9f/6/TWS XyoA== X-Received: by 10.194.108.101 with SMTP id hj5mr9895374wjb.6.1359129903484; Fri, 25 Jan 2013 08:05:03 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id ew4sm2427188wid.11.2013.01.25.08.05.01 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 25 Jan 2013 08:05:02 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: bge bad performance From: Fleuriot Damien In-Reply-To: Date: Fri, 25 Jan 2013 17:05:01 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <727F9491-A88F-4A4E-BD4F-61235F31500E@my.gd> To: Daniel Braniss X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQnVrT3LfbKhno58DXh3sU0Ax99VQIP88vK7wfJEokDOvPgut5qNElun7fwowYL/gipuOq+B Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 16:05:10 -0000 On Jan 25, 2013, at 4:56 PM, Daniel Braniss wrote: >>> On 25 Jan 2013, at 11:45, Daniel Braniss = wrote: >>=20 >>> Hi, >>> It seems that I have more issues with the bge, >>> Broadcom NetXtreme Gigabit Ethernet, ASIC rev. 0x5720000 >>>=20 >>> ifconfig says: >>> bge2: flags=3D8843 metric 0 = mtu 15=3D00 >>> = options=3Dc019b>> O,LINKSTATE> >>> ether xx... >>> inet6 xxx prefixlen 64 scopeid 0x3 >>> inet xxx... netmask 0xfffff000 broadcast yyy >>> nd6 options=3D21 >>> media: Ethernet autoselect (1000baseT ) >>> status: active >>>=20 >>> iperf reports >>> [ 3] 0.0-10.0 sec 230 MBytes 193 Mbits/sec >>>=20 >>=20 >> Post your iperf command line and explain the test environment, as in = direct connection vs switched network link ? >>=20 >=20 > I run iperf -s on the same host for a long time, so not to > influence the results. > the network is switched, and I try out several other host to be able = to > a- compare > b- detect if the network is too busy. > c- to somehow 'normalize' >=20 > what promped me to check iperf in this case was that tar via NFS = started to=20 > give > read timeouts. >=20 > so I run perf -c: > with=20 > dev.bge.2.forced_collapse: 0 or 1 > dev.bge.2.msi: 1 > pe-04> iperf -c minbari > ------------------------------------------------------------ > Client connecting to minbari, TCP port 5001 > TCP window size: 257 KByte (default) > ------------------------------------------------------------ > [ 3] local 132.65.16.35 port 12835 connected with 132.65.16.212 port = 5001 > [ ID] Interval Transfer Bandwidth > [ 3] 0.0-10.0 sec 238 MBytes 200 Mbits/sec >=20 > setting: > dev.bge.2.forced_collapse:1 > dev.bge.2.msi:1 > pe-04> iperf -c minbari > ------------------------------------------------------------ > Client connecting to minbari, TCP port 5001 > TCP window size: 257 KByte (default) > ------------------------------------------------------------ > [ 3] local 132.65.16.35 port 23207 connected with 132.65.16.212 port = 5001 > [ ID] Interval Transfer Bandwidth > [ 3] 0.0-10.0 sec 506 MBytes 425 Mbits/sec >=20 > the same command from a similar host, but with bce: > Client connecting to minbari, TCP port 5001 > TCP window size: 257 KByte (default) > ------------------------------------------------------------ > [ 3] local 132.65.80.2 port 30664 connected with 132.65.16.212 port = 5001 > [ ID] Interval Transfer Bandwidth > [ 3] 0.0-10.0 sec 976 MBytes 818 Mbits/sec >=20 > In case it's not obvious, all hosts are server class, the network = shows no=20 > errors, > neither the hosts. >=20 > cheers > danny Just did a quick roundup of our boxes and all I've got is bce, re and em = interfaces, I won't be able to help you much :( Try playing with iperf's args, like the buffers and number of // = connections ?