From owner-freebsd-current@freebsd.org Tue Jan 24 14:17:35 2017 Return-Path: Delivered-To: freebsd-current@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 BC63ACC0FAA; Tue, 24 Jan 2017 14:17:35 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8A2B71A2C; Tue, 24 Jan 2017 14:17:35 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (67-0-248-244.albq.qwest.net [67.0.248.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 316211928BA; Tue, 24 Jan 2017 14:17:33 +0000 (UTC) Subject: Re: HEADS-UP: IFLIB implementations of sys/dev/e1000 em, lem, igb pending To: =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= 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> Cc: Matthew Macy , "freebsd-net@freebsd.org" , "freebsd-current@freebsd.org" From: Sean Bruno Message-ID: Date: Tue, 24 Jan 2017 07:17:29 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EH3LBRDFiKXXA7NS0eMuW7tD6XgogV43s" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2017 14:17:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EH3LBRDFiKXXA7NS0eMuW7tD6XgogV43s Content-Type: multipart/mixed; boundary="2cFxsCj1f2BEwgvWWut6wxc47a2SP511u"; protected-headers="v1" From: Sean Bruno To: =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= Cc: Matthew Macy , "freebsd-net@freebsd.org" , "freebsd-current@freebsd.org" Message-ID: Subject: Re: HEADS-UP: IFLIB implementations of sys/dev/e1000 em, lem, igb pending 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> In-Reply-To: --2cFxsCj1f2BEwgvWWut6wxc47a2SP511u Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/23/17 23:31, Olivier Cochard-Labb=C3=A9 wrote: > On Tue, Jan 24, 2017 at 2:40 AM, Sean Bruno > wrote: >=20 >=20 >=20 > Which set of configs from your test suite are you using for this? > Specifically, what packet size are you slamming across? >=20 > https://github.com/ocochard/netbenches/tree/master/pktgen.configs > = >=20 >=20 > =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) >=20 > pkt-gen -U -i igb2 -f tx -n 80000000 -l 60 -d 198.19.10.1:2000-198.19.1= 0.20 -D 00:0d:b9:41:ca:3d -s 198.18.10.1:2000-198.18.10.100 -w 4 >=20 > =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. >=20 > [1] > https://github.com/ocochard/BSDRP/blob/master/BSDRPcur/patches/freebsd.= pkt-gen.ae-ipv6.patch >=20 Did you increase the number of rx/tx rings to 8 and the number of descriptors to 4k in your tests or just the defaults? sean --2cFxsCj1f2BEwgvWWut6wxc47a2SP511u-- --EH3LBRDFiKXXA7NS0eMuW7tD6XgogV43s Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEuq1GMucSHejSCZfdEgHvyh5yfmQFAliHYflfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJB QUQ0NjMyRTcxMjFERThEMjA5OTdERDEyMDFFRkNBMUU3MjdFNjQACgkQEgHvyh5y fmSPMQgAqXlMPwL5pSNAJopoSHmZdKqVVqg+FFU8712U3aIfW2ZA04oign5ejspr n4YfDcl/Y/T2GMPsspKxBdRj00Muj0Vi55xpfyXbFeGNjaTA5q7XcNZ6zz29IZii J/5+KPIadFjdSEFILyfmGC+ZdyYTGcou1FufhxZsFFijTtaooz0T1OIL/83qQwNY trjI52fMWMpwyOugQ06oKIIZVn6MiL9ep5jNBo4y3/UMw7yHLMhFLNM9j7Do2uO2 pdE3vLNq6tM6Fpwp4vzJ+W6TT3PgB10bVz9D4VVHyCaXQTO67m6X78uLweWAqgRS D6QGY1fdrYUgjvb0i3tCJQkileLKmg== =D+Is -----END PGP SIGNATURE----- --EH3LBRDFiKXXA7NS0eMuW7tD6XgogV43s--