From ecd1a97965af52b88ab2fa558ee23466ccbd92b8 Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Thu, 13 Oct 2016 19:48:35 +0300 Subject: [PATCH] merge XL710 benchmark Signed-off-by: Hanoh Haim --- trex_faq.asciidoc | 1 + trex_index.asciidoc | 2 ++ trex_stateless_bench.asciidoc | 8 +++++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/trex_faq.asciidoc b/trex_faq.asciidoc index ac309680..169b04be 100644 --- a/trex_faq.asciidoc +++ b/trex_faq.asciidoc @@ -118,6 +118,7 @@ This is still better than the Intel x520 (82559 based) which can reach ~30MPPS f ==== I have XL710 NIC with 2x40Gb/sec ports and I can not get line rate XL710-da2 with 2 40G ports can reach maximum of 40MPPS/50Gb (total for all ports) and not 60MPPS with small packets (64B) Intel had in mind redundancy use case when they produced a two port NIC. Card was not intended to reach 80G line rate. +see link:trex_stateless_bench.html[xl710_benchmark.html] for more info ==== I want to contribute to the project You have several ways you can help: + diff --git a/trex_index.asciidoc b/trex_index.asciidoc index b2f3b1fd..454e21ec 100644 --- a/trex_index.asciidoc +++ b/trex_index.asciidoc @@ -72,6 +72,8 @@ link:http://trex-tgn.cisco.com/youtrack/dashboard[youtrack] link:../release/[pkgs] | Windows Stateful GUI | link:../client_gui/[stateful GUI] +| XL710 Statless performance | +link:trex_stateless_bench.html[xl710_benchmark.html] |================= == For Developers diff --git a/trex_stateless_bench.asciidoc b/trex_stateless_bench.asciidoc index 0ddcb35d..fc55e775 100755 --- a/trex_stateless_bench.asciidoc +++ b/trex_stateless_bench.asciidoc @@ -1,5 +1,5 @@ -TRex Stateless support -====================== +XL710 Statless benchmark +======================== :email: trex.tgen@gmail.com :quotes.++: :numbered: @@ -68,6 +68,8 @@ TRex port 1 ↔ Switch port Eth1/50 (vlan 1005) ↔ Switch port Eth1/52 <1> Extrapolated L1 bandwidth per 1 core @ 100% CPU utilization. <2> Extrapolated amount of MPPS per 1 core @ 100% CPU utilization. +INFO: XL710 NIC does not support linerate for 64B by design. only 128B is supported. + == Appendix === Preparing setup and running the tests. @@ -87,7 +89,7 @@ Bare Intel NICs don't work with Cisco QSFP+ optics, for such case you will need * Obtain the latest TRex package: wget https://trex-tgn.cisco.com/trex/release/latest * Untar the package: tar -xzf latest * Change dir to unzipped TRex -* Create config file using command: sudo python dpdk_setup_ports.py -i +* Create config file using command: sudo python dpdk_setup_ports.py -i *TBD more info here* ** In case of Ubuntu 16 need python3 ** The script by default produces config for loopback or L2 Switch as DUT (ports connection 1↔2, 3↔4 etc.). + If you have router or L3 switch, change the destination MACs of TRex interfaces to match the DUT one's. -- 2.16.6