Table of Contents

TRex performance trend

This document tracks the performance of TRex Stateless use-cases of various hardware and NICS. The intention is to track the TRex software performance and not the NIC driver performance, however from this document you can learn the difference between different driver implementation (cycles/packets) Performance is measured in a metric called MPPS/Core (Norm), which stands for Mega-Packet per second (Norm).
How the calculation is made?

We measure the MPPS of the DUT in its best working point.
The measurement is then scaled to fit 100% CPU utilization, and finally divided by the number of cores the device has, to get a normalized MPPS/Core which is denoted as MPPS/Core (Norm)

How to run these tests?

       trex-core/scripts> ./run_regression --stl -t <name of test> --cfg setups/<name of setup>

The Error (%) metric:

You will see a column titled Error (%) next to other metrics (avg,std etc)
Error(%) is calculated for each batch of test results

Taking the Max value (max) and the Min value (min), calculating the difference max-min
We take the difference and then normalize it to the Average value to get (max-min)/Avg
Then, we present it as percentage

Error (%) = ((max-min)/Avg)*100

1. Setup: XL710 (4x40GbE) trex-08

Table 1. Setup Details
Server Cisco UCS 240M3

CPU:

2 sockets x Intel® Xeon® CPU E5-2667 v3 @ 3.20GHz, 8 cores

NICs:

2 NICS x ( 2x 40GbE ) Intel XL710, Total ports 4

NUMA

NIC0-NUMA 0 , NIC1-NUMA1

Memory

2x16GB

PCIe

2x PCIe16 + 2xPCIe4

OS:

Fedora 18 - baremetal

Test Name MPPS\Core (Norm) Date

1

syn-attack-64-bytes-single-CPU

13.91

24-09-2017-22:16

2

syn-attack-64-bytes-multi-CPUs

13.47

24-09-2017-22:15

3

VM-64-bytes-multi-CPU-cache-size-1024

35.17

24-09-2017-22:19

4

VM-64-bytes-multi-CPUs

16.51

24-09-2017-22:18

5

VM-64-bytes-single-CPU-cache-size-1024

31.33

24-09-2017-22:21

6

VM-64-bytes-single-CPU

16.96

24-09-2017-22:20

1.1. Trend: Performance Over Time

Test Name Avg MPPS/Core (Norm) Min Max Std Error (%) Total Results

syn-attack-64-bytes-single-CPU

13.7

12.91

14.42

0.25

11.0

264

syn-attack-64-bytes-multi-CPUs

13.29

11.64

14.01

0.42

17.83

266

VM-64-bytes-multi-CPU-cache-size-1024

34.08

29.89

37.19

1.15

21.43

264

VM-64-bytes-multi-CPUs

16.26

13.7

17.44

0.6

23.04

264

VM-64-bytes-single-CPU-cache-size-1024

31.14

28.37

31.64

0.44

10.49

263

VM-64-bytes-single-CPU

16.43

14.88

17.09

0.37

13.45

263

2. Setup: X710 (8x10GbE) trex-09

Table 2. Setup Details
Server Cisco UCS 240M3

CPU:

2 sockets x Intel® Xeon® CPU E5-2667 v3 @ 3.20GHz, 8 cores

NICs:

2 NICS x ( 2x 40GbE ) Intel X710, Total 8 ports

NUMA

NIC0-NUMA0 , NIC1-NUMA1

Memory

2x16GB

PCIe

2x PCIe16 + 2xPCIe4

OS:

Fedora 18 - baremetal

Test Name MPPS\Core (Norm) Date

1

VM-64-bytes-multi-CPUs

16.41

24-09-2017-22:18

2

syn-attack-64-bytes-multi-CPUs

13.62

24-09-2017-22:15

3

VM-64-bytes-multi-CPU-cache-size-1024

31.74

24-09-2017-22:19

4

VM-64-bytes-single-CPU-cache-size-1024

31.4

24-09-2017-22:21

5

VM-64-bytes-single-CPU

16.01

24-09-2017-22:20

6

syn-attack-64-bytes-single-CPU

13.71

24-09-2017-22:16

2.1. Trend: Performance Over Time

Test Name Avg MPPS/Core (Norm) Min Max Std Error (%) Total Results

VM-64-bytes-multi-CPUs

15.64

13.4

16.75

0.69

21.45

224

syn-attack-64-bytes-multi-CPUs

13.09

11.48

13.9

0.45

18.43

225

VM-64-bytes-multi-CPU-cache-size-1024

30.21

28.5

32.37

1.23

12.82

223

VM-64-bytes-single-CPU-cache-size-1024

30.78

29.86

31.58

0.55

5.59

224

VM-64-bytes-single-CPU

16.17

14.48

16.93

0.44

15.15

224

syn-attack-64-bytes-single-CPU

13.69

12.56

14.23

0.25

12.21

225

3. Setup: 82599EB (4x10GbE) kiwi02

Table 3. Setup Details
Server Cisco UCS 220M3

CPU:

2 x Intel® Xeon® CPU E5-2650 0 @ 2.00GHz (low end)

NICs:

2(NICS)x (2x10GbE) (4 ports) Intel 82599EB Total 4 ports

NUMA

NIC0-NUMA0 , NIC1-NUMA1

Memory

2x16GB

PCIe

1x PCIe16 + 1xPCIe8

OS:

Fedora 18 - baremetal

Test Name MPPS\Core (Norm) Date

1

syn-attack-64-bytes-single-CPU

9.36

24-09-2017-22:15

2

syn-attack-64-bytes-multi-CPUs

8.65

24-09-2017-22:14

3

VM-64-bytes-multi-CPU-cache-size-1024

23.25

24-09-2017-22:18

4

VM-64-bytes-single-CPU-cache-size-1024

23.26

24-09-2017-22:20

5

VM-64-bytes-multi-CPUs

10.77

24-09-2017-22:17

6

VM-64-bytes-single-CPU

12.08

24-09-2017-22:19

3.1. Trend: Trend: Performance Over Time

Test Name Avg MPPS/Core (Norm) Min Max Std Error (%) Total Results

syn-attack-64-bytes-single-CPU

9.34

7.46

9.64

0.43

23.34

157

syn-attack-64-bytes-multi-CPUs

8.74

6.83

9.6

0.48

31.68

157

VM-64-bytes-multi-CPU-cache-size-1024

23.13

22.02

26.64

0.84

19.94

157

VM-64-bytes-single-CPU-cache-size-1024

22.56

20.91

23.38

0.54

10.95

157

VM-64-bytes-multi-CPUs

10.87

9.57

12.32

0.46

25.33

157

VM-64-bytes-single-CPU

11.58

10.34

12.2

0.37

16.07

157

4. Setup: Cisco 1300 VIC (2x40GbE) trex-11

Important
  • this setup is not baremetal, performance are low due to that

Table 4. Setup Details
Server Cisco UCS 240M3

CPU:

2 sockets x Intel® Xeon® CPU E5-2667 v3 @ 3.20GHz, 8 cores

NICs:

1 NIC x ( 2x 40GbE ) Cisco 1300 VIC

NUMA

Unknown due to ESXi

Memory

2x16GB

PCIe

2x PCIe16 + 2xPCIe4

OS:

Ubuntu 14 - ESXi only 4 cores are utilized

Test Name MPPS\Core (Norm) Date

1

VM-64-bytes-multi-CPUs

17.55

24-09-2017-22:16

2

syn-attack-64-bytes-multi-CPUs

14.4

24-09-2017-22:14

3

VM-64-bytes-multi-CPU-cache-size-1024

30.92

24-09-2017-22:18

4

syn-attack-64-bytes-single-CPU

14.37

24-09-2017-22:15

5

VM-64-bytes-single-CPU-cache-size-1024

31.19

24-09-2017-22:20

6

VM-64-bytes-single-CPU

17.25

24-09-2017-22:19

4.1. Trend: Performance Over Time

Test Name Avg MPPS/Core (Norm) Min Max Std Error (%) Total Results

VM-64-bytes-multi-CPUs

17.03

13.98

18.27

0.35

25.19

301

syn-attack-64-bytes-multi-CPUs

14.12

11.85

14.82

0.41

21.06

302

VM-64-bytes-multi-CPU-cache-size-1024

30.34

29.64

34.34

0.52

15.51

301

syn-attack-64-bytes-single-CPU

14.14

11.98

14.91

0.39

20.7

301

VM-64-bytes-single-CPU-cache-size-1024

30.15

29.27

31.75

0.4

8.21

301

VM-64-bytes-single-CPU

17.05

14.2

17.86

0.32

21.46

301

5. Setup: Mellanox ConnectX-4 (2x100GbE) trex-07

Table 5. Setup Details
Server Cisco UCS 240

CPU:

2 sockets x Intel® Xeon® CPU E5-2667 v3 @ 3.20GHz, 8 cores

NICs:

1 NIC x 100G (2 ports) Mellanox ConnectX-4 NUMA#1

NUMA

One NIC on NUMA1

Memory

2x16GB

PCIe

2x PCIe16 + 2xPCIe4

OS:

CentOS 7.2 - baremetal

Test Name MPPS\Core (Norm) Date

1

VM-64-bytes-multi-CPUs

8.38

24-09-2017-22:16

2

syn-attack-64-bytes-multi-CPUs

8.09

24-09-2017-22:14

3

VM-64-bytes-multi-CPU-cache-size-1024

23.46

24-09-2017-22:18

4

syn-attack-64-bytes-single-CPU

10.4

24-09-2017-22:15

5

VM-64-bytes-single-CPU-cache-size-1024

20.73

24-09-2017-22:20

6

VM-64-bytes-single-CPU

9.77

24-09-2017-22:19

5.1. Trend: Performance Over Time

Test Name Avg MPPS/Core (Norm) Min Max Std Error (%) Total Results

VM-64-bytes-multi-CPUs

8.41

8.19

8.54

0.06

4.13

300

syn-attack-64-bytes-multi-CPUs

8.15

8.0

8.47

0.07

5.71

301

VM-64-bytes-multi-CPU-cache-size-1024

23.32

22.63

23.82

0.22

5.11

300

syn-attack-64-bytes-single-CPU

10.39

9.42

10.7

0.19

12.26

301

VM-64-bytes-single-CPU-cache-size-1024

20.54

20.11

20.95

0.18

4.1

300

VM-64-bytes-single-CPU

9.81

9.59

10.54

0.08

9.76

300

6. Comparison between Mellanox ConnectX-4 (2x100GbE) (trex-07) and XL710 (4x40GbE) (trex-08)

Test Name Mellanox ConnectX-4 Intel XL710 Date

0

VM-64-bytes-multi-CPUs

8.38

16.51

24-09-2017-22:18

1

syn-attack-64-bytes-multi-CPUs

8.09

13.47

24-09-2017-22:15

2

VM-64-bytes-multi-CPU-cache-size-1024

23.46

35.17

24-09-2017-22:19

3

syn-attack-64-bytes-single-CPU

10.4

13.91

24-09-2017-22:16

4

VM-64-bytes-single-CPU-cache-size-1024

20.73

31.33

24-09-2017-22:21

5

VM-64-bytes-single-CPU

9.77

16.96

24-09-2017-22:20

7. Raw information

raw information can be found here raw_info.csv