Subject: kern/25063: Intel i82540EM 1000BASE-T Ethernet slowness issue
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/05/2004 15:44:09
>Number:         25063
>Category:       kern
>Synopsis:       Intel i82540EM 1000BASE-T Ethernet slowness issue
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 05 15:45:00 UTC 2004
>Originator:     Bruce Buskill
>Release:        NetBSD current
narnia: {12} uname -a
NetBSD 2.0C NetBSD 2.0C (NARNIA) #0: Mon Apr  5 05:54:58 EDT 2004
This machine is a Dell GX260, the nic is an onboard Intel gigabit card.

wm0 at pci2 dev 12 function 0: Intel i82540EM 1000BASE-T Ethernet, rev. 2
wm0: interrupting at irq 9
wm0: 32-bit 33MHz PCI bus
wm0: 256 word (8 address bits) MicroWire EEPROM
wm0: Ethernet address 00:0b:db:6f:39:92
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

narnia: {14} cat /etc/ifconfig.wm0 
up netmask media autoselect

Transfer speeds are around 22KB/s or lower consistently on the local LAN. When this machine and another one just like it are booted into FreeBSD 5.2.1 or Windows XP SP1, they both work as expected, i.e. the transfer rates are very fast on the local LAN.

I have tried the following: the GENERIC kernel, booting into FreeBSD and Windows XP to see if the card was the problem, and tried another Dell GX 260 with the same nic. I have manually set the card to 1000baseT-FDX and 1000baseT to see if this helped any, it did not.
Setup and Dell GX260 with NetBSD current. Transfer any moderately sized file on a local LAN and note the transfer speeds compared to another OS on the same hardware.