From owner-freebsd-net@FreeBSD.ORG Thu Jun 12 15:03:42 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15C37106568D for ; Thu, 12 Jun 2008 15:03:42 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from proxy.meer.net (proxy.meer.net [64.13.141.13]) by mx1.freebsd.org (Postfix) with ESMTP id EE0288FC1C for ; Thu, 12 Jun 2008 15:03:41 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mail.meer.net (mail0.meer.net [209.157.152.14]) by proxy.meer.net (8.14.2/8.14.2) with ESMTP id m5CF3bXU061009; Thu, 12 Jun 2008 08:03:41 -0700 (PDT) (envelope-from gnn@neville-neil.com) Received: from mail2.meer.net (mail2.meer.net [64.13.141.16]) by mail.meer.net (8.13.3/8.13.3/meer) with ESMTP id m5CF3ZC2083731; Thu, 12 Jun 2008 08:03:35 -0700 (PDT) (envelope-from gnn@neville-neil.com) Received: from dhcp-75.hudson-trading.com.neville-neil.com (hudson-trading.com [66.150.84.160] (may be forged)) (authenticated bits=0) by mail2.meer.net (8.14.1/8.14.1) with ESMTP id m5CF3YER018654; Thu, 12 Jun 2008 08:03:34 -0700 (PDT) (envelope-from gnn@neville-neil.com) Date: Thu, 12 Jun 2008 11:03:34 -0400 Message-ID: From: "George V. Neville-Neil" To: security In-Reply-To: <4850028F.6090103@jim-liesl.org> References: <484F3E1B.9050104@ibctech.ca> <4850028F.6090103@jim-liesl.org> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.1.50 (i386-apple-darwin8.11.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Canit-CHI2: 0.50 X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-Spam-Score: 0.00 () [Tag at 5.00] X-CanItPRO-Stream: default X-Canit-Stats-ID: 646738 - fa1aa35888d2 X-Scanned-By: CanIt (www . roaringpenguin . com) on 64.13.141.13 Cc: freebsd-net@freebsd.org, Steve Bertrand Subject: Re: Throughput rate testing configurations X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2008 15:03:42 -0000 At Wed, 11 Jun 2008 09:51:27 -0700, security wrote: > > Steve Bertrand wrote: > > Hi everyone, > > > > I see what I believe to be less-than-adequate communication > > performance between many devices in parts of our network. > > > > Can someone recommend software (and config recommendations if > > possible) that I can implement to test both throughput and pps > > reliably, initially/primarily in a simple host-sw-host configuration? > > > > Perhaps I'm asking too much, but I'd like to have something that can > > push the link to it's absolute maximum capacity (for now, up to 1Gbps) > > for a long sustained time, that I can just walk away from and let it > > do it's work, and review the reports later where it had to scale down > > due to errors. > > > > What I'm really trying to achieve is: > > > > - test the link between hosts alone > > - throw in a switch > > - test the link while r/w to disk > > - test the link while r/w to GELI disk > > - test the link with oddball MTU sizes > > > Iperf or netperf are probably what you're looking for. Both try real > had NOT to tweak other subsystems while they run, so if you want to > throw disk activity in, you'll need to run another tool or roll your own > to create disk activity. You probably don't want to run them for > extended periods in a production network. Depending on the adapters at > each end, you may or may not be able to drive the link to saturation or > alter frame size. The Intel adapters I've seen allow jumbo frames, and > generally good performance (as opposed to say the realtek). It's also > useful to have a managed switch in between so you can look at the > counters on it. > I personally prefer netpipe because it tries odd sized (non power of 2) messages and tends to help edge cases come to light. /usr/ports/benchmarks/netpipe Later, George