From owner-freebsd-net@FreeBSD.ORG Mon Jan 5 03:40:36 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E65A9EF5 for ; Mon, 5 Jan 2015 03:40:36 +0000 (UTC) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD1562E51 for ; Mon, 5 Jan 2015 03:40:36 +0000 (UTC) Received: from pool-96-250-5-187.nycmny.fios.verizon.net ([96.250.5.187]:51291 helo=[192.168.1.17]) by vps.hungerhost.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82) (envelope-from ) id 1Y7yWw-0007sI-No; Sun, 04 Jan 2015 22:40:35 -0500 From: "George Neville-Neil" To: "Isaac (.ike) Levy" Subject: Re: 10Gbit Interface Testing Date: Sun, 04 Jan 2015 22:40:34 -0500 Message-ID: In-Reply-To: <201412092110.sB9LA9Po018390@rs103.luxsci.com> References: <201412092110.sB9LA9Po018390@rs103.luxsci.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Mailer: MailMate (1.8r5029) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2015 03:40:37 -0000 On 9 Dec 2014, at 16:10, Isaac (.ike) Levy wrote: > Hi All, > > In our relatively small environment, I'm looking for pointers in > testing 10Gbit network performance, for internet-facing connectivity. > Our enviornment employs pairs of routers running FreeBSD- also > utilizing PF, CARP, and PFSYNC. > > We have 2 core problems testing the 10Gbit interfaces: > > 1) A lack of external options on the internet for testing. We've > found it non-trivial to adequately saturate a 10Gbit internet > connection in 2014, (without having one or two more 10Gbit connections > to saturate). We simply don't have enough outside resources we > control to saturate our lines for reasonable tests. > > 2) We've done our homework on testing, but would love any input from > this audience about ways to measure any of these: > - PPS (easier) > - Maximum Socket Connections (easier) > - New Socket Connections per Second (harder!) > - Redline Throughput (easier) > - Ways to measure PF performance, (state handling, etc...) > - Ways to start measure/test ALTQ based shaping, as we experiment with > it. > > Thanks for any input! Take a look at some of the scripts in my netperf project: git@github.com:gvnn3/netperf.git That uses Conductor: https://github.com/gvnn3/conductor which is still under development, but the packet generation is just pkt-gen on FreeBSD with netmap capable 10G cards (Chelsio or Intel). Bet, George