Gigabit ethernet very slow.

Nikolas Britton nikolas.britton at gmail.com
Sun Jun 25 22:23:49 UTC 2006


On 6/25/06, Nikolas Britton <nikolas.britton at gmail.com> wrote:
> On 6/25/06, Sean Bryant <bryants at gmail.com> wrote:
> > /dev/zero not exactly the best way to test sending data across the
> > network. Especially since you'll be reading a 8k chunks.
> >
> > I could be wrong, strong possibility that I am. I only got 408mb when
> > doing a /dev/zero test. I've managed to saturate though. Using other
> > software that I wrote.
> > On 6/25/06, Nikolas Britton <nikolas.britton at gmail.com> wrote:
> > > What's up with my computer, it's only getting 30MB/s?
> > >
> > > hostB: nc -4kl port > /dev/null
> > > hostA: nc host port < /dev/zero
> > >
>
> 408MByte/s or 408Mbit/s and what measuring stick are you using? I'm
> trying to rule in/out problems with the disks, I'm only getting
> ~25MB/s on a 6 disk RAID0 over the network... would it be better to
> setup an memory backed disk, md(4) , to read from?
>
>

Now I'm getting 523.2Mbit/s (65.4MB/s) with netcat, I wiped out the
FreeBSD 6.1/amd64 install with FreeBSD 6.1/i386... and...

After a kernel rebuild (recompiled nc too):
CPUTYPE?=athlon-mp
CFLAGS+= -mtune=athlon64
COPTFLAGS+= -mtune=athlon64

I'm up to 607.2Mbit/s (75.9MB/s). What else can I do to get that
number higher, and how can I get interrupts lower?

Before recompile:
load averages:  0.94,  0.91,  0.66
CPU states:  2.6% user,  0.0% nice, 21.5% system, 64.6% interrupt, 11.3% idle
-------------------
After recompile:
load averages:  0.99,  0.96,  0.76
CPU states:  3.0% user,  0.0% nice, 33.7% system, 58.2% interrupt,  5.1% idle




-- 
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/


More information about the freebsd-stable mailing list