[vortex] Poor performance with 3c595

Simon Derr Simon.Derr@imag.fr
Thu, 12 Jul 2001 16:28:11 +0200 (MEST)


	Hi,

I'm trying to use 3c595-TX cards on our new PIII-1GhZ, and i am really
disappointed by the performances :

# time ./netperf -H ic4
TCP STREAM TEST to ic4
Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

 87380  65535  65535    10.00      45.28   
0.01user 9.95system 0:10.01elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (210major+37minor)pagefaults 0swaps


This is under linux 2.2.19, I get 48 mbit/s or so under Linux 2.4.6
I get 94mbit/s and 4% CPU if I use a eepro100...


the 3c59x module has been loaded with full_duplex=1, and full duplex/100mbits 
has been forced on the switch (HP ProCurve) also.

dmesg:
3c59x.c 18Feb01 Donald Becker and others
http://www.scyld.com/network/vortex.html
eth1: 3Com 3c595 Vortex 100baseTx at 0x5440,  00:a0:24:9d:49:93, IRQ 9
  64K word-wide RAM 3:1 Rx:Tx split, autoselect/10baseT interface.
eth1: Initial media type 100baseTX.

I also tried to set options=0x214 to force Bus-master (as shown in
vortex.txt) but then I get lots and lots of :

eth1: Too much work in interrupt, status e101.


lspci -vx :
02:09.0 Ethernet controller: 3Com Corporation 3c595 100BaseTX [Vortex]
        Flags: bus master, medium devsel, latency 248, IRQ 9
        I/O ports at 5440
00: b7 10 50 59 07 01 00 02 00 00 00 02 00 f8 00 00
10: 41 54 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 09 01 03 08


Is there any hope to get better performances with theses cards ?


	Simon.

Please CC me in the reply as i'm not in the list.

-- 
Simon Derr         Simon.Derr@imag.fr
Tel: 04 76 61 20 41   
Informatique et distribution      
ENSIMAG - Antenne de Montbonnot 
ZIRST - 51, avenue Jean Kuntzmann
38330 MONTBONNOT SAINT MARTIN