Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2005 23:02:38 +1200
From:      Juha Saarinen <juhasaarinen@gmail.com>
To:        Ted Mittelstaedt <tedm@toybox.placo.com>
Cc:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: How to troubleshoot slow network performance with Realtek 8169s?
Message-ID:  <b34be842050703040270e10d50@mail.gmail.com>
In-Reply-To: <LOBBIFDAGNMAMLGJJCKNCEPAFBAA.tedm@toybox.placo.com>
References:  <b34be8420507030036291f016d@mail.gmail.com> <LOBBIFDAGNMAMLGJJCKNCEPAFBAA.tedm@toybox.placo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/3/05, Ted Mittelstaedt <tedm@toybox.placo.com> wrote:
>=20
> The Realtek is a cheap adapter.  You can try hard-coding the
> media type to see what happens, but the fact remains this is
> nowhere near as good a card as the 82801B.  As a result of this
> there hasn't been that much attention to driver optimizations,
> you can review the work here:
>=20
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c
>=20
> If playing around with the media type doesen't fix it you can
> try a send-pr but your best off just pulling the card and
> replacing it with another Intel, then mailing the card to one
> of the driver developers.  Maybe in 6 months to a year you
> might see a faster driver in FreeBSD - or maybe not.

Yeah, I know the 8169s isn't the flashest card in the universe and I
don't mind donating a card or two to the developers, but with further
testing -- assuming iperf isn't lying -- it seems the driver is OK and
there's something happening further up the chain that I don't
understand yet.

What's weird is that with both 100 and 1000Mbit/s connections, the max
speed is a quarter of the link speed when using applications such as
ftp for transferring files. With iperf, I see 92Mbit/s on 100Mbit/s
and 400-640Mbit/s on 1000mbit/s connections depending on the
direction.



--=20

Juha



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b34be842050703040270e10d50>