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.38

19-10-2018-23:01

2

syn-attack-64-bytes-multi-CPUs

12.87

19-10-2018-23:00

3

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

37.04

19-10-2018-23:04

4

VM-64-bytes-multi-CPUs

15.73

19-10-2018-23:03

5

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

34.36

19-10-2018-23:06

6

VM-64-bytes-single-CPU

15.91

19-10-2018-23:05

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.37

12.97

13.56

0.12

4.39

200

syn-attack-64-bytes-multi-CPUs

12.81

12.07

13.05

0.22

7.6

200

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

36.16

32.82

37.6

1.28

13.24

200

VM-64-bytes-multi-CPUs

15.74

14.56

16.18

0.39

10.27

200

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

33.93

27.2

34.94

1.98

22.79

200

VM-64-bytes-single-CPU

16.37

15.9

16.55

0.12

3.97

200

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

syn-attack-64-bytes-single-CPU

12.65

19-10-2018-23:01

2

syn-attack-64-bytes-multi-CPUs

12.89

19-10-2018-23:00

3

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

35.33

19-10-2018-23:04

4

VM-64-bytes-multi-CPUs

15.89

19-10-2018-23:03

5

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

33.03

19-10-2018-23:06

6

VM-64-bytes-single-CPU

16.02

19-10-2018-23:05

2.1. Trend: Performance Over Time

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

syn-attack-64-bytes-single-CPU

13.38

11.91

13.5

0.22

11.89

229

syn-attack-64-bytes-multi-CPUs

12.64

11.03

13.04

0.5

15.87

229

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

34.55

25.6

36.57

2.21

31.77

228

VM-64-bytes-multi-CPUs

15.63

12.97

16.22

0.74

20.84

229

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

33.06

27.95

35.24

1.35

22.03

228

VM-64-bytes-single-CPU

16.01

15.26

16.35

0.27

6.81

228

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

VM-64-bytes-multi-CPUs

11.37

19-10-2018-23:02

2

syn-attack-64-bytes-multi-CPUs

8.77

19-10-2018-22:59

3

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

26.42

19-10-2018-23:03

4

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

25.81

19-10-2018-23:05

5

VM-64-bytes-single-CPU

12.16

19-10-2018-23:04

6

syn-attack-64-bytes-single-CPU

9.56

19-10-2018-23:00

3.1. Trend: Trend: Performance Over Time

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

VM-64-bytes-multi-CPUs

11.02

9.51

11.64

0.33

19.35

124

syn-attack-64-bytes-multi-CPUs

8.55

7.2

8.97

0.28

20.65

124

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

25.71

21.68

28.56

1.15

26.76

124

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

25.83

24.72

30.76

0.65

23.36

124

VM-64-bytes-single-CPU

12.04

11.25

12.54

0.23

10.74

124

syn-attack-64-bytes-single-CPU

9.64

8.16

9.9

0.35

18.1

124

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.81

19-10-2018-23:01

2

syn-attack-64-bytes-multi-CPUs

14.03

19-10-2018-22:59

3

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

40.13

19-10-2018-23:03

4

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

39.68

19-10-2018-23:05

5

VM-64-bytes-single-CPU

17.81

19-10-2018-23:04

6

syn-attack-64-bytes-single-CPU

13.79

19-10-2018-23:00

4.1. Trend: Performance Over Time

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

VM-64-bytes-multi-CPUs

17.53

13.87

20.52

0.48

37.96

254

syn-attack-64-bytes-multi-CPUs

13.87

11.86

16.73

0.39

35.04

254

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

39.65

34.18

45.21

0.66

27.83

254

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

39.63

33.22

46.69

0.78

33.97

254

VM-64-bytes-single-CPU

17.51

13.82

20.59

0.51

38.65

254

syn-attack-64-bytes-single-CPU

13.87

11.79

16.53

0.4

34.22

254

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

13.95

19-10-2018-23:02

2

syn-attack-64-bytes-multi-CPUs

11.73

19-10-2018-22:59

3

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

25.17

19-10-2018-23:03

4

syn-attack-64-bytes-single-CPU

12.07

19-10-2018-23:01

5

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

23.43

19-10-2018-23:05

6

VM-64-bytes-single-CPU

14.36

19-10-2018-23:04

5.1. Trend: Performance Over Time

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

VM-64-bytes-multi-CPUs

13.95

13.61

14.04

0.05

3.11

214

syn-attack-64-bytes-multi-CPUs

11.72

11.35

11.8

0.05

3.84

214

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

24.75

23.06

25.49

0.43

9.82

214

syn-attack-64-bytes-single-CPU

12.28

11.68

12.4

0.09

5.84

214

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

23.32

20.57

24.0

0.64

14.74

214

VM-64-bytes-single-CPU

15.0

13.24

15.12

0.16

12.56

214

6. Setup: Mellanox ConnectX-5 (2x100GbE) trex-19

Table 6. Setup Details
Server Cisco UCS 240

CPU:

2 sockets x Intel® Xeon® CPU E5-2660 v4 @ 2.0GHz, 14 cores

NICs:

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

NUMA

One NIC on NUMA1

Memory

2x32GB

PCIe

2x PCIe16 + 2xPCIe4

OS:

CentOS 7.4 - baremetal

Note

This is a new version of UCS with low-end CPU (2Ghz vs 3.2GHz) so cycle/packet should be normalized accordingly

Test Name MPPS\Core (Norm) Date

1

syn-attack-64-bytes-single-CPU

12.08

19-10-2018-23:01

2

syn-attack-64-bytes-multi-CPUs

10.37

19-10-2018-23:00

3

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

35.51

19-10-2018-23:03

4

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

24.44

19-10-2018-23:06

5

VM-64-bytes-multi-CPUs

13.37

19-10-2018-23:02

6

VM-64-bytes-single-CPU

15.05

19-10-2018-23:05

6.1. Trend: Performance Over Time

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

syn-attack-64-bytes-single-CPU

12.08

11.45

12.62

0.19

9.65

254

syn-attack-64-bytes-multi-CPUs

10.12

8.5

11.8

0.52

32.57

254

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

34.71

26.52

41.82

2.69

44.07

254

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

24.18

21.65

24.71

0.64

12.66

254

VM-64-bytes-multi-CPUs

13.19

10.33

15.76

0.83

41.16

254

VM-64-bytes-single-CPU

15.21

14.35

16.02

0.3

11.01

254

7. Comparison between Mellanox ConnectX-5 (2x100GbE) (trex-19) and XL710 (4x40GbE) (trex-08)

Test Name Mellanox ConnectX-5 Intel XL710 Date

0

syn-attack-64-bytes-single-CPU

12.08

13.38

19-10-2018-23:01

1

syn-attack-64-bytes-multi-CPUs

10.37

12.87

19-10-2018-23:00

2

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

35.51

37.04

19-10-2018-23:04

3

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

24.44

34.36

19-10-2018-23:06

4

VM-64-bytes-multi-CPUs

13.37

15.73

19-10-2018-23:03

5

VM-64-bytes-single-CPU

15.05

15.91

19-10-2018-23:05

8. Raw information

raw information can be found here raw_info.csv