Date: Mon, 11 Jun 2001 12:01:23 +0100 From: David Larkin <David.Larkin@djl.co.uk> To: Mark Hughes <mark@dvdnews.co.uk> Cc: questions@FreeBSD.ORG, Dirkx@webweaving.org Subject: Re: slow network ?? card ?? Message-ID: <3B24A503.33422888@DJL.co.uk> References: <3B23EE58.53C98A0B@DJL.co.uk> <030101c0f1ff$1e5b0550$0200a8c0@mark2>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Hughes wrote: > > A reports > > ======= > > ed1: <NE2000 PCI Ethernet (RealTek 8029)> rev 0x00 int a irq 11 on > > pci0.8.0 > > ed1: address 00:00:21:c5:c7:ab, type NE2000 (16 bit) > > > B reports > > ======= > > rl0: <RealTek 8139 10/100BaseTX> port 0xe800-0xe87f mem > > 0xec000000-0xec00007f irq 10 at device 9.0 on pci0 > > rl0: Ethernet address: 00:c0:df:22:49:4d > > miibus0: <MII bus> on rl0 > > rlphy0: <RealTek internal media interface> on miibus0 > > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > ^ > I think this could be your problem -------------------------- > > You should try, on each machine, explicitly setting the transport type - in your rc.conf > something like > > ifconfig_rl0="inet 192.168.0.1 netmask 255.255.255.0 media 10baseT/UTP mediaopt > full-duplex up" > Yes, that worked , THANKS !!!! ..... now getting 1MB/sec However : note that it is "-mediaopt" rather than just "mediaopt" That cost me me an hour or so, but at least it meant I read the man page ;-) This machine is on my LAN with 10Mbit hub. I intend moving it to an ISP to colocate an http server, and it will presumably attach to a 100Mbit network. What should I set the options to then ? I've kind of followed your recipe blindly. Is there any docs worth reading out there ? > > is what I have. This configues the card to use 10baseT over UTP at full duplex. To use > half duplex, replace "mediaopt full-duplex" with "-mediaopt full-duplex". You'll need to > replace 192.168.0.1 with whatever the IP address should be for the adaptor in question. > > I found that stating this gave me an increase in network performance from about 100kbps to > around 7.5mbps, a hell of a leap obviously. If you're using the exact same network card on > every machine, then auto detect may work, but in my experience it's far FAR better to > explicitly state what speed you want everything to run at. > > > rl1: <RealTek 8139 10/100BaseTX> port 0xec00-0xec7f mem > > 0xec001000-0xec00107f irq 15 at device 10.0 on pci0 > > rl1: Ethernet address: 00:c0:df:22:46:b6 > > miibus1: <MII bus> on rl1 > > rlphy1: <RealTek internal media interface> on miibus1 > > rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > you'll need to do the same for ifconfig_rl1="" aswell in rc.conf on this machine. > > > C reports > > ======= > > rl0: <RealTek 8139 10/100BaseTX> port 0xdc00-0xdcff mem > > 0xeffffe00-0xeffffeff irq 12 at device 10.0 on pci0 > > rl0: Ethernet address: 00:02:44:04:93:f1 > > miibus0: <MII bus> on rl0 > > rlphy0: <RealTek internal media interface> on miibus0 > > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > rl1: <RealTek 8139 10/100BaseTX> port 0xde00-0xdeff mem > > 0xefffff00-0xefffffff irq 10 at device 11.0 on pci0 > > rl1: Ethernet address: 00:02:44:04:93:c6 > > miibus1: <MII bus> on rl1 > > rlphy1: <RealTek internal media interface> on miibus1 > > rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > and the same on this c machine. > > Hope this helps, let us know if it improves it at all. > > regards, > mark -- ---------------------------------------------------- David Larkin D.J.L. Software Consultancy Ltd. The Industry Centre Sunderland Enterprise Park SR5 3XB UK Switchboard Tel: 44 191 5152666 Fax: 44 191 5152669 Direct Line Tel: 44 191 5153527 Fax: 44 191 5153527 David.Larkin@DJL.co.uk www.DJL.co.uk ----------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B24A503.33422888>