Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2006 15:23:45 -0700
From:      "Nikolas Britton" <nikolas.britton@gmail.com>
To:        freebsd-stable@freebsd.org
Cc:        Sean Bryant <bryants@gmail.com>
Subject:   Re: Gigabit ethernet very slow.
Message-ID:  <ef10de9a0606251523h4102e782m1fe2403c57c80e57@mail.gmail.com>
In-Reply-To: <ef10de9a0606250930k6b655e2bkb81694905454bf58@mail.gmail.com>
References:  <ef10de9a0606250157jce24553h52e67db7a9f76b03@mail.gmail.com> <f6791cc60606250835p51c966e7xa12fb241c9aaab8d@mail.gmail.com> <ef10de9a0606250930k6b655e2bkb81694905454bf58@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/25/06, Nikolas Britton <nikolas.britton@gmail.com> wrote:
> On 6/25/06, Sean Bryant <bryants@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@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/



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