Subject: qec/be performance trouble
To: None <port-sparc@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-sparc
Date: 06/22/2000 11:23:30
I've got a qec/be fast-ether card in a 1.4T SS1+:

cpu0 at mainbus0: MB86900/1A or L64801 @ 25 MHz, WTL3170/2 FPU
cpu0: 64K byte write-through, 16 bytes/line, sw flush: cache enabled
...
sbus0 at mainbus0 ioaddr 0xf8000000: clock = 20 MHz
...
qec0 at sbus0 slot 2 offset 0x20000: 128K memory
be0 at qec0 slot 0 offset 0x0 level 4 (ipl 5) rev 1 address 08:00:20:0a:56:72
on-board transceiver at be0: 10baseT, 100baseTX, auto

(full dmesg output available on request).

Trouble is, I can't get fast-ether performance out of be0!  Everything
I've tried seems to max out at a few hundred KB/sec, about what I get
out of the (10Mbit) onboard le0.  This despite the card being
configured for 100:

        media: Ethernet 100baseTX (100baseTX half-duplex)

The switch on the other end of the wire is also configured for
100/half, no autonegotiation:

Port  Name               Status     Vlan       Level  Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
 3/4                     connected  73         normal   half   100 10/100BaseTX

But I still can't get more than 10Mbit-style performance out of it.  Is
the SS1+ just too slow a machine to sustain more than that?  Surely it
can do *somewhat* better than 10Mbit, even if not full 100Mbit!  I was
entertaining notions that the driver was leaving the chip in 10Mbit
mode despite claiming otherwise, until I noticed that in that case it
wouldn't even be talking to a port configured for 100-only.

Any idea where the problem might lie?

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B