From owner-freebsd-net@freebsd.org Tue Jan 24 06:39:08 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D087CBCA24 for ; Tue, 24 Jan 2017 06:39:08 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from smtp.smtpout.orange.fr (smtp06.smtpout.orange.fr [80.12.242.128]) by mx1.freebsd.org (Postfix) with ESMTP id 6D7B0116 for ; Tue, 24 Jan 2017 06:39:06 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from mail-qt0-f172.google.com ([209.85.216.172]) by mwinf5d64 with ME id c6XS1u00o3jlGMd036XTTe; Tue, 24 Jan 2017 07:31:28 +0100 X-ME-Helo: mail-qt0-f172.google.com X-ME-Auth: Y29jaGFyZC1sYWJiZS5vbGl2aWVyQG9yYW5nZS5mcg== X-ME-Date: Tue, 24 Jan 2017 07:31:28 +0100 X-ME-IP: 209.85.216.172 Received: by mail-qt0-f172.google.com with SMTP id l7so166530083qtd.1; Mon, 23 Jan 2017 22:31:27 -0800 (PST) X-Gm-Message-State: AIkVDXJrZhBfUoV5fPgNON84ztsCgM1Oav6hVo4EDz0K8XOpjkea4o6Zh++4+lgavccWYwo8xjQZ4WZMwzvwXA== X-Received: by 10.200.1.11 with SMTP id e11mr26112945qtg.85.1485239486391; Mon, 23 Jan 2017 22:31:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.49.99 with HTTP; Mon, 23 Jan 2017 22:31:05 -0800 (PST) In-Reply-To: <18abdd64-08a6-50ca-fb6b-9c01a3d7b60c@freebsd.org> References: <30f21c75-d3a2-edcd-1999-d5ed9f970c06@freebsd.org> <1598d97bf2a.c6bcb76838987.6501340920645175463@nextbsd.org> <574a7ac7-4842-9518-8286-a4d89a9f7a27@freebsd.org> <6c6cb534-73c7-464b-8af1-7445a9c0188c@freebsd.org> <1598f29d379.ea6360351471.8752933472741761813@nextbsd.org> <1598f3f8588.d20017893749.339651164872952258@nextbsd.org> <1598f42ad77.eeec05be4113.9201780237587761460@nextbsd.org> <159902b73ed.10775291e21533.7488368455500235608@nextbsd.org> <18abdd64-08a6-50ca-fb6b-9c01a3d7b60c@freebsd.org> From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Tue, 24 Jan 2017 07:31:05 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: HEADS-UP: IFLIB implementations of sys/dev/e1000 em, lem, igb pending To: Sean Bruno Cc: Matthew Macy , "freebsd-net@freebsd.org" , "freebsd-current@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2017 06:39:08 -0000 On Tue, Jan 24, 2017 at 2:40 AM, Sean Bruno wrote: > > > Which set of configs from your test suite are you using for this? > Specifically, what packet size are you slamming across? > > https://github.com/ocochard/netbenches/tree/master/pktgen.configs > =E2=80=8BBecause I'm in the point of view of a Telco, I'm measuring the =C2= =ABworst=C2=BB case, this mean with the smallest frame size. Here is the exact pkt-gen command line I'm using: - 60 byte Ethernet frame size (excluding the 4 CRC bytes) - 2000 UDP flows (20 IP sources * 100 IP destinations) pkt-gen -U -i igb2 -f tx -n 80000000 -l 60 -d 198.19.10.1:2000-198.19.10.20 -D 00:0d:b9:41:ca:3d -s 198.18.10.1:2000-198.18.10.100 -w 4 =E2=80=8BOption -U is available on a patched netmap version [1]: It fix the checksum calculation when using source/destination IP range on NIC that didn't enable HW CHKSUM in netmap mode and IPv6 support. [1] https://github.com/ocochard/BSDRP/blob/master/BSDRPcur/patches/freebsd.pkt-= gen.ae-ipv6.patch