From owner-freebsd-questions Sun Jan 9 12:58:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from sr14.nsw-remote.bigpond.net.au (sr14.nsw-remote.bigpond.net.au [24.192.3.29]) by hub.freebsd.org (Postfix) with ESMTP id D403314D1A for ; Sun, 9 Jan 2000 12:58:21 -0800 (PST) (envelope-from areilly@nsw.bigpond.net.au) Received: from areilly.bpc-users.org (CPE-24-192-49-170.nsw.bigpond.net.au [24.192.49.170]) by sr14.nsw-remote.bigpond.net.au (Pro-8.9.3/8.9.3) with SMTP id HAA12234 for ; Mon, 10 Jan 2000 07:57:49 +1100 (EDT) Received: (qmail 33560 invoked by uid 1000); 9 Jan 2000 20:57:48 -0000 From: "Andrew Reilly" Date: Mon, 10 Jan 2000 07:57:48 +1100 To: questions@FreeBSD.org Subject: (fast) ethernet performance problems/tweaking Message-ID: <20000110075748.A29687@gurney.reilly.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have a little network at home consisting of my FreeBSD-3.4-STABLE box (a PIII-500) and a Windows-NT 4.0 box (a Celeron-400). Since there are only two machines, I use a crossover cable instead of a hub or switch. In a recent fit of upgrading, I replaced the 10-baseT (PCI) cards in each machine with a pair of 100-baseTX RealTek-8139 cards. I was pleased that everything just seemed to work, but I've just tried to test the performance, and to say that it's short of stellar is an understatement. I have a 16M file in my home directory (FreeBSD), and two successive command-line FTP fetches on the NT box resulted in transfer rates of 70.02k and 99k. Yes, "k". I tried using the "copy /b" command, and gave up timing after five minutes. Where can I look to try to debug what is obviously a problem? Here's a bit of representative output from a netstat -I rl0 -b -w 5 command, while the copy/b was in progress: input (rl0) output packets errs bytes packets errs bytes colls 42 0 2636 81 0 118620 0 41 0 2692 71 0 100806 0 37 0 2336 72 0 104994 0 30 0 1916 57 0 80944 0 32 0 2152 57 0 80950 0 58 0 3712 97 0 141510 0 40 0 2516 72 0 104994 0 35 0 2216 64 0 92882 0 Here's the output of ifconfig rl0: rl0: flags=8843 mtu 1500 inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255 ether 00:48:54:50:52:83 media: 100baseTX supported media: autoselect 100baseTX 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 10baseT/UTP Hmm That's interesting. Shouldn't the flags say DUPLEX instead of SIMPLEX when the media is in full-duplex mode? Here's some /var/log/messages output related to rl0: Jan 6 13:35:51 gurney /kernel: rl0: rev 0x10 int a irq 9 on pci0.10.0 Jan 6 13:35:51 gurney /kernel: rl0: Ethernet address: 00:48:54:50:52:83 Jan 6 13:35:51 gurney /kernel: rl0: autoneg not complete, no carrier Jan 6 13:35:51 gurney /kernel: rl0: selecting MII, 100Mbps, half duplex Jan 6 13:35:51 gurney /kernel: rl0: selecting MII, 100Mbps, full duplex in rc.conf I have: ifconfig_rl0="inet 10.0.0.1 media 100baseTX mediaopt full-duplex" Unfortunately I know even less about NT networking than I do Unix networking, so I don't know where to start, for checking the NT end of the link. Thanks in advance for any suggestions, -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message