Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 1999 16:16:13 -0500 (EST)
From:      Bill Paul <wpaul@skynet.ctr.columbia.edu>
To:        hackers@freebsd.org
Subject:   Gigabit ethernet -- what am I doing wrong?
Message-ID:  <199903122116.QAA19872@skynet.ctr.columbia.edu>

next in thread | raw e-mail | index | archive | help
Well, I have my Tigon driver working to the point where I can now exchange
traffic with another machine. But no matter what I do, I can't seem to get
my gigabit ethernet device to generate more than 200Mbps on transmit. I'm
confused.

The machines I'm using are Dell workstations with Pentium II 400Mhz
CPUs, 128MB of RAM, Adaptec 2940UW2 SCSI controller (the disk is idle
during the tests though). The cards are Netgear GA620s. One machine runs
FreeBSD 3.1-RELEASE, the other LoseNT 4 (service pack 3). The FreeBSD 3.1 
host reports:

CPU: Pentium II/Xeon/Celeron (397.33-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x651  Stepping=1
  
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,<b24>>
real memory  = 134217728 (131072K bytes)
avail memory = 127016960 (124040K bytes)
[...]
chip0: <Intel 82443BX host to PCI bridge> rev 0x02 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x02 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.7.0
[...]
ti0: <Netgear GA620 Gigabit Ethernet> rev 0x01 int a irq 11 on pci0.13.0
ti0: Ethernet address: 00:a0:cc:73:31:4a
ahc0: <Adaptec aic7895 Ultra SCSI adapter> rev 0x03 int a irq 10 on pci0.14.0
ahc0: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec aic7895 Ultra SCSI adapter> rev 0x03 int b irq 14 on pci0.14.1
ahc1: aic7895 Single Channel B, SCSI Id=7, 16/255 SCBs
chip4: <PCI to PCI bridge (vendor=1011 device=0024)> rev 0x03 on pci0.15.0

Even using jumbo frames, I can't get more than about 200Mbps on transmit.
The LoseNT machine doens't seem to be able to get above 200Mbps either
(I don't have a decent way to test it, but from what I can tell it's in
about the same ballpark, maybe a little slower). Note that I am not doing
checksum offloading.

I can get around 450Mbps through the loopback interface on these machines,
so I'm pretty sure the bottleneck isn't in the IP stack. I don't think I've
done anything blazingly stupid in the code. (Those of you who are curious
can look at http://www.freebsd.org/~wpaul/Alteon/3.0/tigon.tar.gz. Note:
this is not an official release or anything. Don't come asking me silly
questions like "Where can I get gigabit ethernet for FreeBSD?" just because
you saw this post.)

Anybody have any ideas? I'm a little stumped.

-Bill

-- 
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
 "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness"
=============================================================================


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903122116.QAA19872>