From owner-freebsd-performance@FreeBSD.ORG Fri Jan 5 18:00:05 2007 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD1C116A403; Fri, 5 Jan 2007 18:00:05 +0000 (UTC) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id 0201C13C43E; Fri, 5 Jan 2007 18:00:04 +0000 (UTC) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id l05I03Gv023590; Sat, 6 Jan 2007 01:00:03 +0700 (KRAT) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id l05I03G3023588; Sat, 6 Jan 2007 01:00:03 +0700 (KRAT) (envelope-from eugen) Date: Sat, 6 Jan 2007 01:00:03 +0700 From: Eugene Grosbein To: pete wright Message-ID: <20070105180003.GA23331@svzserv.kemerovo.su> References: <20070105174350.GA21615@svzserv.kemerovo.su> <57d710000701050956j36433495v72b62a9404a25a5d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57d710000701050956j36433495v72b62a9404a25a5d@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-Mailman-Approved-At: Fri, 05 Jan 2007 19:30:21 +0000 Cc: stable@freebsd.org, performance@freebsd.org Subject: Re: benchmark X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2007 18:00:05 -0000 On Fri, Jan 05, 2007 at 09:56:31AM -0800, pete wright wrote: > >Tried to use iperf from ports in UDP mode with 64 byte payload, > >but it calls gettimeofday() after each write and gives me about 80Kpps only > >for Pentium D 2.8Ghz. > > > >What alternative should I use? May be, a netgraph node? > > I've done some benchmarking/testing of 10gig-e NIC's using a combo of > iperf/netgraph and ttcp with good results. all are available in > ports. What pps numbers had you obtained? What CPU had you used? I don't like iperf for gettimeofday() overhead. Eugene From owner-freebsd-performance@FreeBSD.ORG Fri Jan 5 18:02:37 2007 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E13516A403 for ; Fri, 5 Jan 2007 18:02:37 +0000 (UTC) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id CD90313C468 for ; Fri, 5 Jan 2007 18:02:36 +0000 (UTC) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id l05HhoGA022108; Sat, 6 Jan 2007 00:43:50 +0700 (KRAT) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id l05Hho0U022107; Sat, 6 Jan 2007 00:43:50 +0700 (KRAT) (envelope-from eugen) Date: Sat, 6 Jan 2007 00:43:50 +0700 From: Eugene Grosbein To: performance@freebsd.org Message-ID: <20070105174350.GA21615@svzserv.kemerovo.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Mailman-Approved-At: Fri, 05 Jan 2007 19:30:27 +0000 Cc: stable@freebsd.org Subject: benchmark X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2007 18:02:37 -0000 Hi! I'm trying to meashure network throughput between two 6.2-PRERELEASE boxes, basically get maximim IP packets per second transmitted/received. Tried to use iperf from ports in UDP mode with 64 byte payload, but it calls gettimeofday() after each write and gives me about 80Kpps only for Pentium D 2.8Ghz. What alternative should I use? May be, a netgraph node? Eugene From owner-freebsd-performance@FreeBSD.ORG Fri Jan 5 18:13:30 2007 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1D4016A5A1 for ; Fri, 5 Jan 2007 18:13:30 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 68EF813C465 for ; Fri, 5 Jan 2007 18:13:30 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so5138150uge for ; Fri, 05 Jan 2007 10:13:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JZ2f71KY1ViPP3UM/nHSv7FvR5ZvNws59PS4ucsF+84xV/ZGCyulsFRWpVxbG6wGv1oh0+OJSKcZ4fh9zsMNTxS5g7/4Erw0dsXb8WnKNXnFbPxga+NzNo1M1p/Zlj2zrgFsnY+FqTIoJFkJa/08fkceJSMvlfiQrF6vaOa1r48= Received: by 10.78.200.3 with SMTP id x3mr6703771huf.1168020373572; Fri, 05 Jan 2007 10:06:13 -0800 (PST) Received: by 10.78.162.12 with HTTP; Fri, 5 Jan 2007 10:06:13 -0800 (PST) Message-ID: <57d710000701051006n278c44b4x9da019f3d8d8275c@mail.gmail.com> Date: Fri, 5 Jan 2007 10:06:13 -0800 From: "pete wright" To: "Eugene Grosbein" In-Reply-To: <20070105180003.GA23331@svzserv.kemerovo.su> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070105174350.GA21615@svzserv.kemerovo.su> <57d710000701050956j36433495v72b62a9404a25a5d@mail.gmail.com> <20070105180003.GA23331@svzserv.kemerovo.su> X-Mailman-Approved-At: Fri, 05 Jan 2007 19:30:36 +0000 Cc: stable@freebsd.org, performance@freebsd.org Subject: Re: benchmark X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2007 18:13:30 -0000 On 1/5/07, Eugene Grosbein wrote: > On Fri, Jan 05, 2007 at 09:56:31AM -0800, pete wright wrote: > > > >Tried to use iperf from ports in UDP mode with 64 byte payload, > > >but it calls gettimeofday() after each write and gives me about 80Kpps only > > >for Pentium D 2.8Ghz. > > > > > >What alternative should I use? May be, a netgraph node? > > > > I've done some benchmarking/testing of 10gig-e NIC's using a combo of > > iperf/netgraph and ttcp with good results. all are available in > > ports. > > What pps numbers had you obtained? What CPU had you used? > I don't like iperf for gettimeofday() overhead. > yea that was an issue, hence us using multiple benchmarks to get a better picture of performance. sorry can't really get into the specifics on the hardware/stat's of the benchmark. used 10gig-e as example to illustrate that all these utilities functioned well under heavy tcp and udp loads. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group From owner-freebsd-performance@FreeBSD.ORG Fri Jan 5 18:16:57 2007 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A2CC16A650 for ; Fri, 5 Jan 2007 18:16:57 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id 0247413C45E for ; Fri, 5 Jan 2007 18:16:56 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l05I5cgr091195; Fri, 5 Jan 2007 10:05:38 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l05I5cf6091194; Fri, 5 Jan 2007 10:05:38 -0800 (PST) (envelope-from rizzo) Date: Fri, 5 Jan 2007 10:05:38 -0800 From: Luigi Rizzo To: Eugene Grosbein Message-ID: <20070105100537.A90952@xorpc.icir.org> References: <20070105174350.GA21615@svzserv.kemerovo.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20070105174350.GA21615@svzserv.kemerovo.su>; from eugen@kuzbass.ru on Sat, Jan 06, 2007 at 12:43:50AM +0700 X-Mailman-Approved-At: Fri, 05 Jan 2007 19:30:48 +0000 Cc: stable@freebsd.org, performance@freebsd.org Subject: Re: benchmark X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2007 18:16:57 -0000 On Sat, Jan 06, 2007 at 12:43:50AM +0700, Eugene Grosbein wrote: > Hi! > > I'm trying to meashure network throughput between two 6.2-PRERELEASE boxes, > basically get maximim IP packets per second transmitted/received. > > Tried to use iperf from ports in UDP mode with 64 byte payload, > but it calls gettimeofday() after each write and gives me about 80Kpps only > for Pentium D 2.8Ghz. just write your own program that repeatedly calls send() on an udp socket, and you should be able to go way up. in the past (2001-2002) i tweaked the kernel with a sysctl that generated multiple (e.g. 100 or so) copies of each packet for a single send(), just for testing purposes, and on a 700 MHz machine i think i reached something in the order of 5-700kpps on a 4.x At the time the limit was the Gig-E card mounted on a PCI-66/64 bus. These days with a decent card on a PCI-X bus you shouldn't have these problems. cheers luigi > What alternative should I use? May be, a netgraph node? > > Eugene > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-performance@FreeBSD.ORG Fri Jan 5 18:23:39 2007 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8EB716A40F for ; Fri, 5 Jan 2007 18:23:39 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 849DE13C441 for ; Fri, 5 Jan 2007 18:23:39 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so5140304uge for ; Fri, 05 Jan 2007 10:23:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VNQmMwHfLjrXzSKc006S3kRGZB90N0lnyQfiHncNi/lNKAGUT1Y3++xqqE8VGDfOOe/OLkwL+I4jfzxzqrL8JL4pdIJh7xGVjVeCndbK56vyCG+a/nPR6N183tiSCgS0RdTsavfMc+XySCfEEvgdOTo2UvRx22E0HKZevpw3vw4= Received: by 10.78.185.15 with SMTP id i15mr5087243huf.1168019791276; Fri, 05 Jan 2007 09:56:31 -0800 (PST) Received: by 10.78.162.12 with HTTP; Fri, 5 Jan 2007 09:56:31 -0800 (PST) Message-ID: <57d710000701050956j36433495v72b62a9404a25a5d@mail.gmail.com> Date: Fri, 5 Jan 2007 09:56:31 -0800 From: "pete wright" To: "Eugene Grosbein" In-Reply-To: <20070105174350.GA21615@svzserv.kemerovo.su> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070105174350.GA21615@svzserv.kemerovo.su> X-Mailman-Approved-At: Fri, 05 Jan 2007 19:30:57 +0000 Cc: stable@freebsd.org, performance@freebsd.org Subject: Re: benchmark X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2007 18:23:40 -0000 On 1/5/07, Eugene Grosbein wrote: > Hi! > > I'm trying to meashure network throughput between two 6.2-PRERELEASE boxes, > basically get maximim IP packets per second transmitted/received. > > Tried to use iperf from ports in UDP mode with 64 byte payload, > but it calls gettimeofday() after each write and gives me about 80Kpps only > for Pentium D 2.8Ghz. > > What alternative should I use? May be, a netgraph node? > I've done some benchmarking/testing of 10gig-e NIC's using a combo of iperf/netgraph and ttcp with good results. all are available in ports. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group From owner-freebsd-performance@FreeBSD.ORG Sat Jan 6 05:14:41 2007 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A17F316A407; Sat, 6 Jan 2007 05:14:41 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 4ADB713C44B; Sat, 6 Jan 2007 05:14:39 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id l064mGt8000387; Fri, 5 Jan 2007 23:48:16 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.6/8.13.3) with ESMTP id l064mE1t007611 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 5 Jan 2007 23:48:15 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200701060448.l064mE1t007611@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Fri, 05 Jan 2007 23:50:23 -0500 To: Eugene Grosbein , performance@freebsd.org From: Mike Tancsa In-Reply-To: <20070105174350.GA21615@svzserv.kemerovo.su> References: <20070105174350.GA21615@svzserv.kemerovo.su> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on clamscanner2 X-Virus-Status: Clean Cc: stable@freebsd.org Subject: Re: benchmark X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2007 05:14:41 -0000 At 12:43 PM 1/5/2007, Eugene Grosbein wrote: >Hi! > >I'm trying to meashure network throughput between two 6.2-PRERELEASE boxes, >basically get maximim IP packets per second transmitted/received. Try /usr/src/tools/tools/netrate/ I did some tests with the results at http://www.tancsa.com/blast.html ---Mike