Subject: Re: ftp fast/slow over LAN
To: Gan Uesli Starling <oinkfreebiker@att.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 10/01/2001 22:08:52
On Sun, Sep 30, 2001 at 04:27:49PM -0400, Gan Uesli Starling wrote:
> Getting back to a problem from before my other, bigger
> problem (which prevented my documenting this problem)...
> 
> I'm not even sure it really is a problem. I just want to 
> be sure that it is not related to my mgetty delay problem
> noted in another thread. I just observe a big, big speed 
> difference between the ThinkPad and the Tower.
> 
> We kinda went over this before. Then, however, ftp would
> flat stall and die. Now it never stalls, thanks to the
> "mtu 1500" arg suggested previously. I just want to know
> if the speed asymetry is something to worry about.
> 
> Putting ThinkPad -> Tower: 891.92 KB/s 
> Getting Tower -> ThinkPad: 41.11 KB/s
> 
> Now, the ThinkPad is 266MHz PII, and the Tower is 800MHz Celeron.
> 
> The LAN connection has been upgraded from X-Over cable to a
> Netgear Fast Ethernet Switch. I have commercial, pre-terminated
> cables.
> 
> The Tower reports of its LAN card thus...
>  
> gus# ifconfig fxp0
> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         address: 00:03:47:a0:49:27
>         media: Ethernet autoselect (100baseTX full-duplex)
>         status: active
>         inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255
>         inet6 fe80::203:47ff:fea0:4927%fxp0 prefixlen 64 scopeid 0x1
> gus#
> 
> The ThinkPad reports of its LAN card thus...
> 
> thinkpad# ifconfig ne2
> ne2: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         address: 00:04:5a:92:6e:ae
>         media: Ethernet manual
>         inet 192.168.1.7 netmask 0xffffff00 broadcast 192.168.1.255
>         inet6 fe80::204:5aff:fe92:6eae%ne2 prefixlen 64 scopeid 0x12
> thinkpad#

I suspect a half/full duplex mismatch somewhere. I'm not sure if this
ne2 can do full-duplex. What does the switch says ?

Also are you sure you have a switch and not a hub ? Hubs can't do full-duplex

--
Manuel Bouyer <bouyer@antioche.eu.org>
--