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

VM-64-bytes-multi-CPUs

15.12

16-01-2018-23:20

2

syn-attack-64-bytes-multi-CPUs

12.64

16-01-2018-23:17

3

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

35.54

16-01-2018-23:21

4

syn-attack-64-bytes-single-CPU

13.0

16-01-2018-23:18

5

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

34.94

16-01-2018-23:23

6

VM-64-bytes-single-CPU

15.75

16-01-2018-23:22

1.1. Trend: Performance Over Time

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

VM-64-bytes-multi-CPUs

14.79

13.62

15.6

0.36

13.37

276

syn-attack-64-bytes-multi-CPUs

12.43

11.73

13.06

0.25

10.72

277

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

35.78

31.56

38.69

1.17

19.95

276

syn-attack-64-bytes-single-CPU

13.08

12.4

13.67

0.25

9.72

278

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

34.86

29.11

40.77

0.8

33.44

276

VM-64-bytes-single-CPU

15.58

13.9

16.12

0.3

14.22

276

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

13.27

16-01-2018-23:20

2

syn-attack-64-bytes-multi-CPUs

12.9

16-01-2018-23:19

3

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

35.19

16-01-2018-23:22

4

VM-64-bytes-multi-CPUs

15.11

16-01-2018-23:21

5

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

33.05

16-01-2018-23:25

6

VM-64-bytes-single-CPU

15.25

16-01-2018-23:23

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

12.59

13.59

0.19

7.58

284

syn-attack-64-bytes-multi-CPUs

12.77

11.88

13.45

0.21

12.26

280

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

34.75

28.14

40.12

1.09

34.49

283

VM-64-bytes-multi-CPUs

15.13

13.75

15.84

0.28

13.84

283

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

33.15

29.87

34.35

0.48

13.52

285

VM-64-bytes-single-CPU

15.31

13.74

15.8

0.27

13.46

283

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

16-01-2018-23:19

2

syn-attack-64-bytes-multi-CPUs

9.62

16-01-2018-23:17

3

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

29.18

16-01-2018-23:21

4

VM-64-bytes-multi-CPUs

11.98

16-01-2018-23:20

5

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

26.82

16-01-2018-23:23

6

VM-64-bytes-single-CPU

11.93

16-01-2018-23:22

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

8.4

10.15

0.52

18.42

81

syn-attack-64-bytes-multi-CPUs

9.13

8.05

9.92

0.57

20.47

81

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

29.06

23.92

30.39

1.0

22.28

81

VM-64-bytes-multi-CPUs

11.82

9.79

12.36

0.42

21.72

81

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

26.87

24.95

28.52

0.65

13.28

81

VM-64-bytes-single-CPU

11.74

11.32

12.26

0.2

8.06

81

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

16-01-2018-23:20

2

syn-attack-64-bytes-multi-CPUs

14.61

16-01-2018-23:17

3

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

50.3

16-01-2018-23:21

4

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

51.02

16-01-2018-23:23

5

VM-64-bytes-single-CPU

16.65

16-01-2018-23:22

6

syn-attack-64-bytes-single-CPU

14.64

16-01-2018-23:18

4.1. Trend: Performance Over Time

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

VM-64-bytes-multi-CPUs

17.59

14.11

19.2

0.75

28.91

286

syn-attack-64-bytes-multi-CPUs

14.9

11.94

16.61

0.5

31.31

287

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

46.94

39.9

56.24

3.45

34.81

282

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

46.9

41.05

56.68

3.34

33.32

287

VM-64-bytes-single-CPU

17.58

14.2

19.2

0.74

28.43

287

syn-attack-64-bytes-single-CPU

14.88

11.94

16.31

0.49

29.32

290

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

syn-attack-64-bytes-single-CPU

12.72

16-01-2018-23:19

2

syn-attack-64-bytes-multi-CPUs

12.12

16-01-2018-23:17

3

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

25.76

16-01-2018-23:21

4

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

24.23

16-01-2018-23:23

5

VM-64-bytes-multi-CPUs

14.05

16-01-2018-23:20

6

VM-64-bytes-single-CPU

15.24

16-01-2018-23:22

5.1. Trend: Performance Over Time

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

syn-attack-64-bytes-single-CPU

12.68

11.8

12.85

0.1

8.25

280

syn-attack-64-bytes-multi-CPUs

12.12

11.9

12.23

0.05

2.74

279

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

25.76

24.44

26.35

0.33

7.41

277

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

24.13

23.45

24.46

0.18

4.21

280

VM-64-bytes-multi-CPUs

13.99

13.66

14.18

0.1

3.72

281

VM-64-bytes-single-CPU

15.15

13.91

15.55

0.23

10.82

279

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

Test Name Mellanox ConnectX-4 Intel XL710 Date

0

syn-attack-64-bytes-single-CPU

12.72

13.0

16-01-2018-23:18

1

syn-attack-64-bytes-multi-CPUs

12.12

12.64

16-01-2018-23:17

2

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

25.76

35.54

16-01-2018-23:21

3

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

24.23

34.94

16-01-2018-23:23

4

VM-64-bytes-multi-CPUs

14.05

15.12

16-01-2018-23:20

5

VM-64-bytes-single-CPU

15.24

15.75

16-01-2018-23:22

7. Raw information

raw information can be found here raw_info.csv