Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Dec 2002 12:31:33 +0200
From:      ianf@za.uu.net
To:        Brad Knowles <brad.knowles@skynet.be>
Cc:        Craig Reyenga <creyenga@connectmail.carleton.ca>, Terry Lambert <tlambert2@mindspring.com>, freebsd-current@freebsd.org, Christopher J Olson <chriso@tamu.edu>
Subject:   Re: Any ideas at all about network problem? 
Message-ID:  <51189.1038911493@wcom.com>
In-Reply-To: Your message of "Mon, 02 Dec 2002 11:05:29 %2B0100." <a05200f26ba10df70dc1d@[146.106.12.76]> 
References:  <a05200f26ba10df70dc1d@[146.106.12.76]> 

next in thread | previous in thread | raw e-mail | index | archive | help
Brad Knowles wrote:
> At 12:55 AM -0500 2002/12/02, Craig Reyenga wrote:
> 
> >  I just tried a 3com 3c905 NIC (my roommate's) and it _also_
> >  transfers slowly (about 3.5MB/sec, so just under half of what i used to
> >  get with my realtek in -stable). It also spit out a few messages:
> 
> 	According to all the source modules I've read regarding RealTek 
> cards, they're about the biggest pieces of hardware garbage that has 
> ever been inflicted on the free/open community.  However, a 3Com card 
> should be a little better.  Have you tried replacing both RealTek 
> cards with 3Com, to see if that changes things?

I have a similar problem with my xl0 and ed0 which has been around
for just about as long as I can remember.  I'd originally thought
it was a cable problem, but since I still get transfer rates in
excess of my access line speed, I'd never really debugged it.

The two machines involved are connected by a crossover cable:
1.
FreeBSD 5.0-CURRENT #7: Mon Dec  2 19:03:06 SAST 2002
Dual PII-266, 196MB
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xe400-0xe43f irq 2 at device 8.0 on pci0
xl0: Ethernet address: 00:60:08:0b:2e:c8
miibus0: <MII bus> on xl0

[brane-dead] /usr/src/sys/i386/conf # ifconfig xl0
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 196.7.162.26 netmask 0xfffffffc broadcast 196.7.162.27
        ether 00:60:08:0b:2e:c8
        media: Ethernet 100baseTX <full-duplex>
        status: active


2.
FreeBSD 4.7-STABLE #3: Sun Nov 24 18:29:27 SAST 2002
Dual PIII-700, 256MB
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xd800-0xd83f irq 12 at device 10.0 on pci0
xl0: Ethernet address: 00:60:08:10:10:31
miibus0: <MII bus> on xl0

[brane] ~ $ ifconfig xl0
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 196.7.162.25 netmask 0xfffffffc broadcast 196.7.162.27
        ether 00:60:08:10:10:31
        media: Ethernet 100baseTX <full-duplex>
        status: active


When I had two SMC Ultra NICs in these machines (both 4.x-STABLE
at the time) I got transfer rates of about 1.1 megabits per second.
Using the same cable, but with 3c905 NICs I get 25.3 megabits per
second and without ipfw I get 26.7 megabits per second.  'top'
showed the ftpd on the CURRENT machine spending a lot of time in
*Giant and both machines had a lot of idle CPU time >50%.

I'll try a different cable this evening when I get home.  Is there
a minimum length?  The cable is currently 2m long.  I'm prepared
to do any other debugging people here can suggest to make it work
faster.  FWIW my single CPU workstaion at the office running
4.7-STABLE with an fxp0 NIC does not suffer the same throughput
reduction.

Ian

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




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