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

17-11-2017-08:28

2

syn-attack-64-bytes-multi-CPUs

12.68

17-11-2017-08:26

3

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

37.8

17-11-2017-08:30

4

syn-attack-64-bytes-single-CPU

13.64

17-11-2017-08:27

5

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

39.47

17-11-2017-08:32

6

VM-64-bytes-single-CPU

16.94

17-11-2017-08:31

1.1. Trend: Performance Over Time

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

VM-64-bytes-multi-CPUs

15.43

14.1

17.15

0.81

19.8

222

syn-attack-64-bytes-multi-CPUs

12.56

11.2

13.93

0.65

21.73

222

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

40.11

37.25

45.34

1.35

20.17

221

syn-attack-64-bytes-single-CPU

13.29

11.87

14.56

0.66

20.2

222

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

37.72

35.02

45.73

1.27

28.4

220

VM-64-bytes-single-CPU

16.03

13.9

17.42

0.92

21.99

221

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

14.22

17-11-2017-22:42

2

syn-attack-64-bytes-multi-CPUs

13.41

17-11-2017-22:41

3

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

37.12

17-11-2017-22:45

4

VM-64-bytes-multi-CPUs

16.11

17-11-2017-22:44

5

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

34.74

17-11-2017-22:47

6

VM-64-bytes-single-CPU

16.69

17-11-2017-22:46

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

11.75

14.4

0.64

19.55

274

syn-attack-64-bytes-multi-CPUs

12.95

11.65

13.71

0.58

15.96

274

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

36.68

31.66

39.35

1.3

20.96

273

VM-64-bytes-multi-CPUs

15.31

13.14

16.71

1.0

23.31

273

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

35.87

34.12

37.67

0.86

9.9

274

VM-64-bytes-single-CPU

15.73

13.21

17.06

1.03

24.46

274

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

17-11-2017-22:42

2

syn-attack-64-bytes-multi-CPUs

8.98

17-11-2017-22:41

3

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

24.54

17-11-2017-22:44

4

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

25.62

17-11-2017-22:47

5

VM-64-bytes-multi-CPUs

11.07

17-11-2017-22:43

6

VM-64-bytes-single-CPU

11.56

17-11-2017-22:45

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

8.91

9.86

0.23

9.93

156

syn-attack-64-bytes-multi-CPUs

8.7

8.4

9.0

0.15

6.85

156

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

24.4

22.99

25.72

0.6

11.21

155

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

24.67

21.76

25.88

0.89

16.7

155

VM-64-bytes-multi-CPUs

10.8

9.77

11.18

0.17

13.08

155

VM-64-bytes-single-CPU

11.7

11.12

12.38

0.31

10.74

155

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

18.8

17-11-2017-22:42

2

syn-attack-64-bytes-multi-CPUs

14.06

17-11-2017-22:40

3

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

39.46

17-11-2017-22:44

4

syn-attack-64-bytes-single-CPU

14.64

17-11-2017-22:41

5

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

41.05

17-11-2017-22:46

6

VM-64-bytes-single-CPU

17.68

17-11-2017-22:45

4.1. Trend: Performance Over Time

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

VM-64-bytes-multi-CPUs

18.34

13.87

19.84

0.87

32.56

280

syn-attack-64-bytes-multi-CPUs

14.79

12.06

16.12

0.47

27.45

281

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

40.11

36.07

47.94

1.58

29.58

280

syn-attack-64-bytes-single-CPU

14.82

11.96

16.27

0.43

29.05

281

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

40.06

36.63

45.21

1.29

21.41

280

VM-64-bytes-single-CPU

18.33

13.82

20.01

0.84

33.77

279

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

17-11-2017-22:43

2

syn-attack-64-bytes-multi-CPUs

7.82

17-11-2017-22:40

3

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

26.91

17-11-2017-22:44

4

syn-attack-64-bytes-single-CPU

9.17

17-11-2017-22:42

5

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

25.31

17-11-2017-22:46

6

VM-64-bytes-single-CPU

9.95

17-11-2017-22:45

5.1. Trend: Performance Over Time

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

VM-64-bytes-multi-CPUs

8.5

8.31

8.76

0.09

5.27

284

syn-attack-64-bytes-multi-CPUs

7.79

7.56

8.03

0.07

5.98

286

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

26.7

25.49

27.56

0.41

7.75

284

syn-attack-64-bytes-single-CPU

9.2

8.41

9.44

0.11

11.18

285

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

24.39

22.23

25.59

0.66

13.79

285

VM-64-bytes-single-CPU

9.93

9.48

10.21

0.14

7.29

284

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

15.27

17-11-2017-08:28

1

syn-attack-64-bytes-multi-CPUs

7.82

12.68

17-11-2017-08:26

2

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

26.91

37.8

17-11-2017-08:30

3

syn-attack-64-bytes-single-CPU

9.17

13.64

17-11-2017-08:27

4

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

25.31

39.47

17-11-2017-08:32

5

VM-64-bytes-single-CPU

9.95

16.94

17-11-2017-08:31

7. Raw information

raw information can be found here raw_info.csv