HEADS-UP: IFLIB implementations of sys/dev/e1000 em, lem, igb pending

Sean Bruno sbruno at freebsd.org
Tue Jan 24 14:17:35 UTC 2017



On 01/23/17 23:31, Olivier Cochard-Labbé wrote:
> On Tue, Jan 24, 2017 at 2:40 AM, Sean Bruno <sbruno at freebsd.org
> <mailto:sbruno at freebsd.org>> 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
>     <https://github.com/ocochard/netbenches/tree/master/pktgen.configs>
> 
> 
> ​Because I'm in the point of view of a Telco, I'm measuring the «worst»
> 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
> 
> ​Option -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
> 


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20170124/d1024097/attachment.sig>


More information about the freebsd-current mailing list