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

20-07-2017-22:15

2

syn-attack-64-bytes-multi-CPUs

13.27

20-07-2017-22:12

3

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

34.26

20-07-2017-22:16

4

syn-attack-64-bytes-single-CPU

13.78

20-07-2017-22:14

5

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

31.47

20-07-2017-22:18

6

VM-64-bytes-single-CPU

16.19

20-07-2017-22:17

1.1. Trend: Performance Over Time

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

VM-64-bytes-multi-CPUs

16.12

15.49

17.02

0.32

9.49

144

syn-attack-64-bytes-multi-CPUs

13.07

12.14

13.9

0.27

13.49

145

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

34.04

32.11

35.42

0.6

9.73

144

syn-attack-64-bytes-single-CPU

13.52

11.19

13.99

0.37

20.72

143

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

31.4

28.35

32.77

0.33

14.08

144

VM-64-bytes-single-CPU

16.4

16.04

17.04

0.24

6.08

143

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

20-07-2017-22:16

2

syn-attack-64-bytes-multi-CPUs

13.42

20-07-2017-22:13

3

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

31.29

20-07-2017-22:17

4

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

31.09

20-07-2017-22:19

5

VM-64-bytes-single-CPU

15.95

20-07-2017-22:18

6

syn-attack-64-bytes-single-CPU

13.72

20-07-2017-22:15

2.1. Trend: Performance Over Time

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

VM-64-bytes-multi-CPUs

16.08

15.13

16.75

0.39

10.09

130

syn-attack-64-bytes-multi-CPUs

13.1

11.39

13.92

0.5

19.33

131

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

31.27

27.87

32.48

1.0

14.73

130

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

31.01

27.71

31.96

0.42

13.7

131

VM-64-bytes-single-CPU

16.12

15.34

16.91

0.33

9.71

130

syn-attack-64-bytes-single-CPU

13.45

11.38

14.24

0.53

21.23

130

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

8.45

20-07-2017-22:14

2

syn-attack-64-bytes-multi-CPUs

8.02

20-07-2017-22:13

3

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

24.07

20-07-2017-22:16

4

VM-64-bytes-multi-CPUs

9.75

20-07-2017-22:15

5

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

22.99

20-07-2017-22:19

6

VM-64-bytes-single-CPU

10.45

20-07-2017-22:18

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

8.27

9.63

0.31

14.91

56

syn-attack-64-bytes-multi-CPUs

8.28

7.31

9.07

0.44

21.32

56

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

22.2

20.95

25.04

1.02

18.41

56

VM-64-bytes-multi-CPUs

10.0

8.41

11.28

0.59

28.71

56

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

22.31

20.48

23.13

0.52

11.88

56

VM-64-bytes-single-CPU

11.38

9.93

11.96

0.47

17.85

56

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

14.26

20-07-2017-22:13

2

syn-attack-64-bytes-multi-CPUs

14.17

20-07-2017-22:12

3

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

30.4

20-07-2017-22:15

4

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

30.01

20-07-2017-22:18

5

VM-64-bytes-multi-CPUs

17.09

20-07-2017-22:14

6

VM-64-bytes-single-CPU

17.38

20-07-2017-22:16

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

13.45

14.7

0.3

8.83

128

syn-attack-64-bytes-multi-CPUs

14.13

13.43

14.82

0.28

9.84

129

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

30.1

29.51

31.6

0.32

6.94

127

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

30.11

29.64

31.06

0.31

4.72

127

VM-64-bytes-multi-CPUs

17.04

16.46

17.72

0.24

7.43

127

VM-64-bytes-single-CPU

17.06

16.5

17.55

0.22

6.19

127

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

10.49

20-07-2017-22:14

2

syn-attack-64-bytes-multi-CPUs

8.09

20-07-2017-22:12

3

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

23.57

20-07-2017-22:16

4

VM-64-bytes-multi-CPUs

8.3

20-07-2017-22:15

5

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

20.6

20-07-2017-22:18

6

VM-64-bytes-single-CPU

9.81

20-07-2017-22:17

5.1. Trend: Performance Over Time

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

syn-attack-64-bytes-single-CPU

10.41

9.91

10.71

0.19

7.72

181

syn-attack-64-bytes-multi-CPUs

8.17

8.08

8.3

0.05

2.66

182

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

23.32

22.7

23.88

0.25

5.07

180

VM-64-bytes-multi-CPUs

8.4

8.27

8.56

0.06

3.39

180

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

20.46

19.95

20.87

0.23

4.52

179

VM-64-bytes-single-CPU

9.79

9.53

9.94

0.07

4.18

180

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

10.49

13.78

20-07-2017-22:14

1

syn-attack-64-bytes-multi-CPUs

8.09

13.27

20-07-2017-22:12

2

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

23.57

34.26

20-07-2017-22:16

3

VM-64-bytes-multi-CPUs

8.3

15.83

20-07-2017-22:15

4

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

20.6

31.47

20-07-2017-22:18

5

VM-64-bytes-single-CPU

9.81

16.19

20-07-2017-22:17

7. Raw information

raw information can be found here raw_info.csv