Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2001 14:14:41 -0400 (EDT)
From:      Joseph Gleason <clash@zogbe.tasam.com>
To:        Kris Kirby <kris@catonic.net>
Cc:        <freebsd-net@FreeBSD.ORG>
Subject:   Re: Network optimization?
Message-ID:  <20010927140608.T42171-100000@zogbe.tasam.com>
In-Reply-To: <Pine.BSF.4.33.0109270521140.14680-100000@spaz.catonic.net>

next in thread | previous in thread | raw e-mail | index | archive | help
To isolate drives from network, I usually use dd, faucet and hose to test
the network.

cd /usr/ports/net/netpipes
make install clean

on System A:

faucet 45363 --in dd if=/dev/stdin of=/dev/null bs=1k

on System B:

hose HostA 45363 --out dd if=/dev/zero of=/dev/stdout bs=1k count=1m

Of course, adjust the bs and count if you want.  When it completed, the dd
will tell you the transfer rate.

This will give you network performance independant of drives.

Then you can use benchmarking tools from the ports tree to test your
drives.  Armed with the this info, you should be able to isolate the
problem subsystem.

I hope my dirty little method is useful to you.  Good luck.

On Thu, 27 Sep 2001, Kris Kirby wrote:

>
> Please, if I have addressed this wrong, do not hesitate to point me toward
> another list.
>
> I'm looking for tips on network / kernel optimization. I know that when
> 100Mb/s ethernet first came to FreeBSD, there were P90s moving at 9MB/s,
> but I've never been able to break 7MB/s, except for my K7-850 with
> Barricuda hard drives (9.0). I'm using xl's on most machine (K7 as well)
> with a fxp in my P166 with SCSI drives (sees only ~6 MB/s on a good day).
>
> Any ideas? I've got 2560 total mbuf clusters on the P166; I can't really
> think of much else to change to speed things up...
>
> -----
> Kris Kirby, KE4AHR          | TGIFreeBSD... 'Nuff said.
> <kris@nospam.catonic.net>   |
> -------------------------------------------------------
> "Fate, it seems, is not without a sense of irony."
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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