From owner-freebsd-net Thu Sep 27 11:15:20 2001 Delivered-To: freebsd-net@freebsd.org Received: from zogbe.tasam.com (uta-ip196.ntc.off-campus.vt.edu [63.165.178.196]) by hub.freebsd.org (Postfix) with ESMTP id C3B2437B41A for ; Thu, 27 Sep 2001 11:15:12 -0700 (PDT) Received: from localhost (clash@localhost) by zogbe.tasam.com (8.11.6/8.11.6) with ESMTP id f8RIEgh51563; Thu, 27 Sep 2001 14:14:47 -0400 (EDT) Date: Thu, 27 Sep 2001 14:14:41 -0400 (EDT) From: Joseph Gleason To: Kris Kirby Cc: Subject: Re: Network optimization? In-Reply-To: Message-ID: <20010927140608.T42171-100000@zogbe.tasam.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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. > | > ------------------------------------------------------- > "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