From owner-freebsd-net@FreeBSD.ORG Tue Aug 10 21:09:38 2004 Return-Path: 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 201F816A4CE for ; Tue, 10 Aug 2004 21:09:38 +0000 (GMT) Received: from mx1.nersc.gov (mx1.nersc.gov [128.55.6.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E72F943D46 for ; Tue, 10 Aug 2004 21:09:37 +0000 (GMT) (envelope-from dart@nersc.gov) Received: by mx1.nersc.gov (Postfix, from userid 4002) id C53F51F5ED; Tue, 10 Aug 2004 14:09:37 -0700 (PDT) Received: from mx1.nersc.gov (localhost [127.0.0.1]) by localhost.nersc.gov (Postfix) with ESMTP id 662041F5EE; Tue, 10 Aug 2004 14:09:33 -0700 (PDT) Received: from gemini.nersc.gov (gemini.nersc.gov [128.55.16.111]) by mx1.nersc.gov (Postfix) with ESMTP id 2F64B1F5ED; Tue, 10 Aug 2004 14:09:33 -0700 (PDT) Received: from gemini.nersc.gov (localhost [127.0.0.1]) by gemini.nersc.gov (Postfix) with ESMTP id 20C01F987; Tue, 10 Aug 2004 14:09:33 -0700 (PDT) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: "Marc G. Fournier" In-Reply-To: Message from "Marc G. Fournier" <20040810173211.V776@ganymede.hub.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1252978169P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Tue, 10 Aug 2004 14:09:33 -0700 From: Eli Dart Message-Id: <20040810210933.20C01F987@gemini.nersc.gov> X-Spam-Level: X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mx1.nersc.gov cc: freebsd-net@freebsd.org Subject: Re: em driver worse then fxp driver ... why? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2004 21:09:38 -0000 --==_Exmh_-1252978169P Content-Type: text/plain; charset=us-ascii In reply to "Marc G. Fournier" : > > I have 5 servers sitting on a Linksys 10/100 switch ... 4 of the 5 are > running fxp0 ethernet, while the 5th is running em ... and the 5th > performs atrociously: > > neptune# netstat -ni | head > Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Co ll > em0 1500 00:07:e9:05:1b:2e 36915965 10306 28888840 1 10858 513 > > I've tried in bth half and full duplex mode .. full duplex, Ierrs climbs, hal f-duplex, Collisions climb ... I would expect collisions on a half-duplex link -- this is not necessarily a Bad Thing. It could be that the unmanaged switch is unable to talk full-duplex to the em interface for some reason..... Do you have throughput numbers for the two configs (half-duplex em, full-duplex em, and full-duplex fxp)? --eli > > the fxp devices are all running at full-duplex, and perform quite well: > > pluto# netstat -ni | head > Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Co ll > fxp0 1500 00:03:47:bd:67:66 105856025 0 97330263 2 0 > jupiter# netstat -ni | head > Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Co ll > fxp0 1500 00:03:47:30:a7:1b 28832141 0 29437148 0 0 > mars# netstat -ni | head > Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Co ll > fxp0 1500 00:e0:81:21:d7:f6 34195201 0 29871571 0 0 > venus# netstat -ni | head > Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Co ll > fxp0 1500 00:e0:81:29:56:5b 95579278 1 87014732 1 0 > > Originally, it was explained that unmanaged switches tended to be > problematic, but I'd expect some sort of uniformity in problems, but 'just > the server with the em device' ... > > So, is there a bug in the em device driver that doesn't exist on the fxp0 > devices? > > > ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --==_Exmh_-1252978169P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQFBGTmNLTFEeF+CsrMRAtM6AJ48LRdUe9eVDspUICCA+zGxFx6B2QCg1ln8 DoWI5I2KPpCcn+q4pRboJXQ= =hF6U -----END PGP SIGNATURE----- --==_Exmh_-1252978169P--