From owner-freebsd-stable@FreeBSD.ORG Sun Sep 28 22:24:17 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F328A1065699 for ; Sun, 28 Sep 2008 22:24:16 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id 99A208FC17 for ; Sun, 28 Sep 2008 22:24:16 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA09.westchester.pa.mail.comcast.net ([76.96.62.20]) by QMTA09.westchester.pa.mail.comcast.net with comcast id LG7c1a00D0SCNGk59NQFbK; Sun, 28 Sep 2008 22:24:15 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA09.westchester.pa.mail.comcast.net with comcast id LNQE1a0084v8bD73VNQFsX; Sun, 28 Sep 2008 22:24:15 +0000 X-Authority-Analysis: v=1.0 c=1 a=g3XWG8PL9CAA:10 a=qSlgtixbqsUA:10 a=QycZ5dHgAAAA:8 a=GdMVtckzp1B5kRWKAfkA:9 a=FMILXAL5VWvrbrjttcIA:7 a=z2GBRmGH9N5NSgHwbvdG02DJY2IA:4 a=EoioJ0NPDVgA:10 a=MSl-tDqOz04A:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 47B47C9432; Sun, 28 Sep 2008 15:24:14 -0700 (PDT) Date: Sun, 28 Sep 2008 15:24:14 -0700 From: Jeremy Chadwick To: "firmdog@gmail.com" Message-ID: <20080928222414.GA90269@icarus.home.lan> References: <20080928205300.GF60230@in-addr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: stable@freebsd.org, net@freebsd.org Subject: Re: 7.1-PRERELEASE : bad network performance (nfe0) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 22:24:17 -0000 On Sun, Sep 28, 2008 at 06:15:43PM -0400, firmdog@gmail.com wrote: > On Sun, Sep 28, 2008 at 4:53 PM, Gary Palmer wrote: > > > On Sun, Sep 28, 2008 at 01:43:12PM -0400, firmdog@gmail.com wrote: > > > I have the same problem on a Dell Poweredge SC440 when I transferred over > > > 50GB > > > from a FreeBSD 5.4 box to my new Dell running 7.1. Used a crossover > > cable > > > and > > > the link was 1000 full duplex, but could only get about 10M/s. Very odd. > > > Did a > > > tcpdump and saw lots of bad checksum errors. > > > > > > What other troubleshooting steps can we take? What could be the problem? > > > > Please post the first few lines of ifconfig for bge0. I'm suspecting > > you'll see something like > > > > em1: flags=8843 mtu 1500 > > options=1b > > > > (yes, I know thats an em, not bge, but I don't have any bge's around > > here) > > > > Note that the options line say that receive and transmit checksum > > offloading is enabled. This means that for packets transmitted > > by this system, tcpdump will show checksum errors as the kernel > > is not generating the checksums, the ethernet card will. Since > > tcpdump is seeting the packet before the ethernet card does its > > magic, you get the checksum errors on transmit. Received packets > > should be fine though. > > > > Regards, > > > > Gary > > > > > Pasted below. When I was doing the transfer, it was 1000 full duplex and > was very slow. > This is a web/email/database server and I don't see any performance problems > yet, but > I would like to know what the problem is/was. What else can I provide? > > bge0: flags=8843 metric 0 mtu 1500 > options=9b > ether 00:1a:a0:23:c0:03 > inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet autoselect (100baseTX ) > status: active I see 100baseTX there, not 1000baseTX. This speed is being selected via autoneg (auto speed/duplex negotiation). Whatever switch you're connected to is not properly negotiating the speed. What brand and model of switch is this host connected to, and are you *absolutely certain* it supports (and is configured for) gigE? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |