Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2001 23:45:56 +0100
From:      "Mark Hughes" <mark@dvdnews.co.uk>
To:        "David Larkin" <David.Larkin@djl.co.uk>, <questions@FreeBSD.ORG>, <Dirkx@webweaving.org>
Subject:   Re: slow network ?? card ??
Message-ID:  <030101c0f1ff$1e5b0550$0200a8c0@mark2>
References:  <3B23EE58.53C98A0B@DJL.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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"

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


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?030101c0f1ff$1e5b0550$0200a8c0>