[tulip] Help forcing to 100M

John Sutton john@scl.co.uk
Wed, 20 Dec 2000 20:20:48 +0000


On Wed, 20 Dec 2000, you wrote:
> I have a linksys LNE100TX NIC.  I've noticed that my network is kind of
> slow, and that I am only getting 27mb/s on file transfers (all NICS are
> 100M).  To eliminate other sources of error, I tested by connecting two
> machines using a crossover cable and got the same performance (i..e. no
> hubs, switches, etc involved in the test).

If that's 27mbits/sec on a 100mhz connection, that's not bad!  I've never had
more than 40mbs, using FTP, and get about 15mbs over NFS ;-(
  
> >From running tulip-diag (output appended), I infer that the NIC on one
> of my machines is not in 100M full duplex mode. I tried to force it to

Changing to full duplex is surely not going to make any difference to file
transfer speeds except when you've got a simultaneous transfer in both
directions - which is an unusual circumstance?

> 100M by doing this:
> 
>     ifdown eth0
>     rmmod tulip
>     insmod tulip options=3
>     ifup eth0
> 
> However in this state, I couldn't even ping another machine. I tried
> other values than 3, and got the same result.  Only 0 works.  I'm using
> version 0.92 of tulip.c.  Any advice?  Thanks.

How about
insmod tulip options=0x205 full_duplex=1
or
insmod tulip options=0x20e full_duplex=1

> # tulip-diag -v -ee
> tulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
> Index #1: Found a Lite-On PNIC-II adapter at 0xd400.
>  Port selection is 10mpbs-serial, half-duplex.
>  Transmit started, Receive started, half-duplex.
>   The Rx process state is 'Waiting for packets'.
>   The Tx process state is 'Idle'.
>   The transmit threshold is 72.
>   The NWay status register is 41e1d0cc.
>  The current PNIC-II MAC address is 00:a0:cc:34:fd:bf (a000a000
> 34ccbffd).
>  The current PNIC-II WOL address is 00:a0:cc:34:fd:bf.
> EEPROM size is 6.
>   Ethernet MAC Station Address 00:a0:cc:34:fd:bf.
>   Wake-On-LAN ID bytes a0:00:34:cc:bf:fd.
>   PCI Subsystem IDs  Vendor 11ad Device 01c0
> EEPROM contents:
>   0000 0000 0000 0000 0000 0000 0000 0000
>   0000 0000 a000 34cc bffd a000 34cc 0000
>   0000 0000 0000 0000 0000 0000 0000 0000
>   0000 0000 0000 0000 0000 bffd 0000 0000
>   0000 0000 0000 0000 0000 0000 0000 0000
>   0000 0000 0000 0000 0000 c001 11ad 0000
>   0000 0000 0000 0000 0000 0000 0000 0000
>   0014 0000 0000 0800 0000 c115 11ad 8267
>  ID block CRC 0xe3 (vs. 00).
>   Full contents CRC 0x8267 (read as 0x8267).
>   Internal autonegotiation state is 'Negotiation complete'.
> #
> 
> # /sbin/ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:A0:CC:34:FD:BF
>           inet addr:192.168.0.51  Bcast:192.168.0.255
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1153 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:913 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           Interrupt:11 Base address:0x9000
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:3924  Metric:1
>           RX packets:109376131 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:109376131 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
> 
> 
> 
> _______________________________________________
> tulip mailing list
> tulip@scyld.com
> http://www.scyld.com/mailman/listinfo/tulip
-- 

***************************************************
John Sutton
SCL Computer Services
URL http://www.scl.co.uk/
Tel. +44 (0) 1239 621021
***************************************************