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

17-12-2018-07:42

2

syn-attack-64-bytes-multi-CPUs

12.93

17-12-2018-07:41

3

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

37.01

17-12-2018-07:44

4

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

34.9

17-12-2018-07:47

5

VM-64-bytes-multi-CPUs

15.92

17-12-2018-07:43

6

VM-64-bytes-single-CPU

16.44

17-12-2018-07:46

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

11.26

13.53

0.22

17.03

176

syn-attack-64-bytes-multi-CPUs

12.91

12.33

13.13

0.14

6.2

176

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

36.54

32.66

38.71

0.57

16.56

176

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

34.75

29.5

45.33

1.52

45.57

176

VM-64-bytes-multi-CPUs

15.73

14.79

16.06

0.24

8.1

176

VM-64-bytes-single-CPU

16.22

12.86

16.47

0.38

22.22

176

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

15.94

17-12-2018-22:50

2

syn-attack-64-bytes-multi-CPUs

12.78

17-12-2018-22:48

3

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

35.13

17-12-2018-22:51

4

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

33.85

17-12-2018-22:54

5

VM-64-bytes-single-CPU

16.15

17-12-2018-22:53

6

syn-attack-64-bytes-single-CPU

13.49

17-12-2018-22:49

2.1. Trend: Performance Over Time

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

VM-64-bytes-multi-CPUs

15.74

13.91

16.24

0.26

14.8

165

syn-attack-64-bytes-multi-CPUs

12.86

11.95

13.36

0.17

10.98

165

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

34.93

30.27

36.77

0.97

18.61

165

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

33.39

31.19

34.91

0.52

11.15

165

VM-64-bytes-single-CPU

15.99

15.56

16.23

0.12

4.24

165

syn-attack-64-bytes-single-CPU

13.52

13.27

13.63

0.07

2.68

165

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

10.65

17-12-2018-22:48

2

syn-attack-64-bytes-multi-CPUs

8.42

17-12-2018-22:46

3

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

24.72

17-12-2018-22:50

4

syn-attack-64-bytes-single-CPU

9.4

17-12-2018-22:47

5

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

25.89

17-12-2018-22:52

6

VM-64-bytes-single-CPU

11.69

17-12-2018-22:51

3.1. Trend: Trend: Performance Over Time

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

VM-64-bytes-multi-CPUs

10.62

8.73

11.48

0.34

25.98

101

syn-attack-64-bytes-multi-CPUs

8.35

7.04

9.17

0.43

25.53

101

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

24.8

23.32

27.27

0.69

15.93

101

syn-attack-64-bytes-single-CPU

9.27

7.62

9.88

0.45

24.41

101

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

25.65

24.0

26.23

0.46

8.71

101

VM-64-bytes-single-CPU

11.61

10.39

12.23

0.42

15.9

101

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

syn-attack-64-bytes-single-CPU

13.9

17-12-2018-22:47

2

syn-attack-64-bytes-multi-CPUs

13.71

17-12-2018-22:46

3

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

39.46

17-12-2018-22:50

4

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

39.03

17-12-2018-22:52

5

VM-64-bytes-multi-CPUs

17.01

17-12-2018-22:49

6

VM-64-bytes-single-CPU

17.13

17-12-2018-22:51

4.1. Trend: Performance Over Time

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

syn-attack-64-bytes-single-CPU

14.0

11.86

16.69

0.31

34.46

190

syn-attack-64-bytes-multi-CPUs

13.99

11.81

16.77

0.31

35.46

190

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

39.69

31.89

47.94

1.02

40.45

190

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

39.72

32.77

49.26

0.99

41.52

190

VM-64-bytes-multi-CPUs

17.49

14.67

20.29

0.41

32.16

190

VM-64-bytes-single-CPU

17.43

14.64

20.64

0.41

34.47

190

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

17-12-2018-22:50

2

syn-attack-64-bytes-multi-CPUs

11.73

17-12-2018-22:47

3

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

25.02

17-12-2018-22:51

4

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

23.45

17-12-2018-22:53

5

VM-64-bytes-single-CPU

15.1

17-12-2018-22:52

6

syn-attack-64-bytes-single-CPU

12.29

17-12-2018-22:48

5.1. Trend: Performance Over Time

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

VM-64-bytes-multi-CPUs

13.91

12.81

14.03

0.11

8.78

191

syn-attack-64-bytes-multi-CPUs

11.75

11.27

11.84

0.07

4.92

191

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

24.98

23.66

25.8

0.24

8.57

191

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

23.43

22.01

24.06

0.23

8.78

191

VM-64-bytes-single-CPU

14.91

13.46

15.14

0.19

11.28

191

syn-attack-64-bytes-single-CPU

12.32

11.81

12.43

0.08

5.02

191

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

17-12-2018-22:49

2

syn-attack-64-bytes-multi-CPUs

10.1

17-12-2018-22:47

3

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

34.88

17-12-2018-22:51

4

VM-64-bytes-multi-CPUs

12.96

17-12-2018-22:50

5

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

24.11

17-12-2018-22:53

6

VM-64-bytes-single-CPU

15.43

17-12-2018-22:52

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

11.74

12.7

0.23

7.9

191

syn-attack-64-bytes-multi-CPUs

10.27

9.74

11.47

0.25

16.8

191

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

35.58

33.51

38.46

1.33

13.93

191

VM-64-bytes-multi-CPUs

13.28

12.35

14.72

0.32

17.84

191

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

24.37

23.11

24.93

0.24

7.48

191

VM-64-bytes-single-CPU

15.13

13.56

16.04

0.33

16.34

191

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

13.19

17-12-2018-07:42

1

syn-attack-64-bytes-multi-CPUs

10.1

12.93

17-12-2018-07:41

2

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

34.88

37.01

17-12-2018-07:44

3

VM-64-bytes-multi-CPUs

12.96

15.92

17-12-2018-07:43

4

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

24.11

34.9

17-12-2018-07:47

5

VM-64-bytes-single-CPU

15.43

16.44

17-12-2018-07:46

8. Raw information

raw information can be found here raw_info.csv