From owner-freebsd-questions Thu Apr 5 23:14:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from xyzzy.intranet.snsonline.net (dhcp.looksmart.com.au [202.53.47.178]) by hub.freebsd.org (Postfix) with ESMTP id C4CF237B43C for ; Thu, 5 Apr 2001 23:14:45 -0700 (PDT) (envelope-from msergeant@snsonline.net) Received: from xyzzy.intranet.snsonline.net (localhost [127.0.0.1]) by xyzzy.intranet.snsonline.net (8.11.1/8.11.1) with SMTP id f366EGp90742; Fri, 6 Apr 2001 16:14:19 +1000 (EST) (envelope-from msergeant@snsonline.net) Message-Id: <200104060614.f366EGp90742@xyzzy.intranet.snsonline.net> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: "Mark Sergeant" To: Richard Lucas , Aaron Hill Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD limiting bandwith? X-Mailer: Pronto v2.2.3 On freebsd/mysql Date: 06 Apr 2001 01:14:14 EST Reply-To: "Mark Sergeant" In-Reply-To: References: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG No it is the Realtek card, some of the cards have xtreme issues under FreeBSD, I know this as I have one on my laptop, works great at 100baseTX but at 10baseT/UTP I am lucky to get 80k/sec before this I was getting 1-2k/sec in between machines. My advice for desktop owners stay away from rl8139's & for laptop buyers make sure you read your specs. Thank god I am buying a switch this weekend for home. Cheers, Mark On Fri, 6 Apr 2001 01:10:18 -0500 (EST), Richard Lucas said: > Ok so I tried this out. From ifconfig rl0 I got the following media info: > > media: autoselect (none) status: active > supported media: autoselect 100baseTX 100baseTX > 10baseT/UTP 10baseT/UTP 100baseTX > > > Since it's on a 10mb hub I tried to change it to 10baseT/UTP which didn't > help anything. I then tried the 10baseT/UTP in full duplex and it helped a > bit. I am now able to get up to about 60kb/sec. So at least it got a bit > better. Any other suggestions? > > Another thing that may be related is that before it was going extremely > slow even on the LAN. I was getting dial-up speeds transferring stuff > between internal machines. Now since I changed that it is getting full > speed between one of the BSD machines and the win2k machine. The other BSD > machine is still getting slow transfer speeds internally though which > seems a bit odd to me. Possibly the hub that's causing the problem? It is > a bit old. > > -Richard > > On Fri, 6 Apr 2001, Aaron Hill wrote: > > > >seem to be limiting upload speed or something. When testing with a 5.3 mb > > >file from websites hosted on each I was getting 80 kb/sec from the win2k > > >machine which is about right for the line but would only get a max of > > >50 kb/sec from the BSD machines. > > > > > >All 3 machines are using the same type of nic, Realtek 10/100 pci > > >cards. Is there some type of hidden setting I'm missing that is limiting > > >the bandwith? Or is it perhaps a driver issue with the card? Any > > >suggestions or ideas are appreciated. > > > > > > Have you looked at the duplex & speed settings of the Realtek cards under > > FreeBSD? > > > > To do that firstly check out what the settings are by issuing this command: > > > > ifconfig rl0 > > > > (that's assuming the Realtek card device is rl0) > > > > Then you can look at how the card is currently configured, have a look at > > what modes are supported and change those modes. > > > > To change the media modes of the network card: > > > > ifconfig rl0 media 10baseT/UTP > > or > > ifconfig rl0 media 100baseTX > > > > > > To change the duplex modes of the network card: > > > > ifconfig rl0 media 100baseTX mediaopt half-duplex > > or > > ifconfig rl0 media 100baseTX mediaopt full-duplex > > > > > > I'm pretty sure you can only do half-duplex in 10Mb/s mode with this card so > > only worry about duplex in 100Mb/s mode. > > > > Of course if you find something that works you can put the appropriate media > > and mediaopt commands in the ifconfig_rl0 line in /etc/rc.conf to keep the > > settings across reboots. > > > > Let us know how you go. > > > > Regards > > Aaron Hill > > > > > > > > > > > > _________________________________________________________________________ > > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > -- Heuristics are bug ridden by definition. If they didn't have bugs, then they'd be algorithms. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message