Re: slow network performance

From: Peter Strömberg (wilfried_at_spamcop.net)
Date: 12/27/03


Date: 27 Dec 2003 12:32:08 GMT

Matt Garman <fake@not-real.bogus> wrote in
news:slrnbuqde4.tjj.fake@sewage.raw-sewage.fake:

> I've been doing some network performance testing using netperf on my
> home LAN. The testing has been between my OpenBSD and Linux boxes,
> which are connected via a 100 Mbps switch.
>
> From the Linux box to the OpenBSD box, I can achieve TCP transfer rates
> of almost 8 MB/s (roughly 64 Mbps). However, from OpenBSD to Linux,
> I'm only getting about 233 KB/s!

obsd -> obsd

mowgli:/tmp $ wget ftp://bagheera/pub/OpenBSD/3.4/i386/base34.tgz
--13:22:04-- ftp://bagheera/pub/OpenBSD/3.4/i386/base34.tgz
           => `base34.tgz'
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/OpenBSD/3.4/i386 ... done.
==> PASV ... done. ==> RETR base34.tgz ... done.
Length: 30,993,589 (unauthoritative)
100%[====================================>] 30,993,589 10.55M/s ETA
00:00
13:22:08 (10.55 MB/s) - `base34.tgz' saved [30993589]

fxp0 at pci0 "Intel 82557" rev 0x0c: (Intel EtherExpress) on both machines
thru a netgear switch

> Does anyone have any idea why this is happening? I'm not running any
> type of bandwidth queue or anything (I did a pfctl -F all -d just to
> be sure). Also, I've duplicated these results with three different
> ethernet cards, different cables, and even tried using a crossover
> cable (to avoid the switch).

Bad auto negotiating?

I explicitly specify "media 100baseTX mediaopt full-duplex" in
/etc/hostname.fxp0

-- 
Peter Strömberg
C2K2 C2K3 ISCCIV02 ISCCIV03


Relevant Pages

  • Re: Why has my local Ethernet packed up?
    ... gigabit hub and they do seem happy with it. ... I've also got a gigabit switch and a 10/100 hub (both unmanaged Netgear ... I got some new Ethernet cables. ... The port lights on the Gb switch are `on' where there is a cable running ...
    (uk.comp.sys.mac)
  • Re: Why has my local Ethernet packed up?
    ... Superset of Switch, Hub, Repeater, etc. essentially sends networking ... A printer shouldn't need a crossover lead, but your Autosensing ports ... Hah) identifying and labelling all my Ethernet cables. ...
    (uk.comp.sys.mac)
  • Re: Electrical Outlet Wiring
    ... You really ought to run a new circuit from the panel ... NOT go on or off with the switch. ... -You could have one 2-wire cable feeding the box, ... Be cautious, however, because with the exact same cables and ...
    (alt.home.repair)
  • Re: Cable Management vs. Easy Maintenance
    ... with limited PoE ports and people wanting to move their own ... so that a jack that was on a non-PoE switch would be moved to a PoE ... When I mix PoE and non-PoE I color code the patch cables. ...
    (comp.dcom.cabling)
  • Re: Why has my local Ethernet packed up?
    ... Superset of Switch, Hub, Repeater, etc. essentially sends networking ... A printer shouldn't need a crossover lead, but your Autosensing ports ... I think we got it so that we could use the printer hooked straight up to ... Hah) identifying and labelling all my Ethernet cables. ...
    (uk.comp.sys.mac)