benchmark.yaml revision 1eea3fc8
1###############################################################
2####           TRex benchmark configuration file           ####
3###############################################################
4
5### stateful ###
6
7test_jumbo:
8    multiplier          : 14
9    cores               : 1
10    bw_per_core         : 689.664
11
12
13test_routing_imix:
14    multiplier          : 8
15    cores               : 1
16    bw_per_core         : 45.422
17
18
19#test_routing_imix_64:
20#    multiplier          : 2200
21#    cores               : 1
22#    bw_per_core         : 11.655
23
24
25test_static_routing_imix_asymmetric:
26    multiplier          : 4
27    cores               : 1
28    bw_per_core         : 45.294
29
30
31test_ipv6_simple:
32    multiplier          : 8
33    cores               : 1
34    bw_per_core         : 29.332
35
36
37test_rx_check_http: &rx_http
38    multiplier          : 11000
39    cores               : 1
40    rx_sample_rate      : 16
41    bw_per_core         : 47.813
42
43test_rx_check_http_ipv6:
44    <<                  : *rx_http
45    bw_per_core         : 55.607
46
47
48test_rx_check_sfr: &rx_sfr
49    multiplier          : 8
50    cores               : 1
51    rx_sample_rate      : 16
52    bw_per_core         : 24.203
53
54test_rx_check_sfr_ipv6:
55    <<                  : *rx_sfr
56    bw_per_core         : 28.867
57
58
59### stateless ###
60
61test_CPU_benchmark:
62    profiles:
63      - name            : stl/udp_for_benchmarks.py
64        kwargs          : {packet_len: 64}
65        cpu_util        : 1
66        bw_per_core     : 1
67
68      - name            : stl/udp_for_benchmarks.py
69        kwargs          : {packet_len: 64, stream_count: 10}
70        cpu_util        : 1
71        bw_per_core     : 1
72
73      - name            : stl/udp_for_benchmarks.py
74        kwargs          : {packet_len: 64, stream_count: 100}
75        cpu_util        : 1
76        bw_per_core     : 1
77
78# causes queue full
79#      - name            : stl/udp_for_benchmarks.py
80#        kwargs          : {packet_len: 64, stream_count: 1000}
81#        cpu_util        : 1
82#        bw_per_core     : 1
83
84      - name            : stl/udp_for_benchmarks.py
85        kwargs          : {packet_len: 128}
86        cpu_util        : 1
87        bw_per_core     : 1
88
89      - name            : stl/udp_for_benchmarks.py
90        kwargs          : {packet_len: 256}
91        cpu_util        : 1
92        bw_per_core     : 1
93
94      - name            : stl/udp_for_benchmarks.py
95        kwargs          : {packet_len: 512}
96        cpu_util        : 1
97        bw_per_core     : 1
98
99      - name            : stl/udp_for_benchmarks.py
100        kwargs          : {packet_len: 1500}
101        cpu_util        : 1
102        bw_per_core     : 1
103
104      - name            : stl/udp_for_benchmarks.py
105        kwargs          : {packet_len: 4000}
106        cpu_util        : 1
107        bw_per_core     : 1
108
109      - name            : stl/udp_for_benchmarks.py
110        kwargs          : {packet_len: 9000}
111        cpu_util        : 1
112        bw_per_core     : 1
113
114      - name            : stl/udp_for_benchmarks.py
115        kwargs          : {packet_len: 9000, stream_count: 10}
116        cpu_util        : 1
117        bw_per_core     : 1
118
119      - name            : stl/udp_for_benchmarks.py
120        kwargs          : {packet_len: 9000, stream_count: 100}
121        cpu_util        : 1
122        bw_per_core     : 1
123
124# not enough memory + queue full if memory increase
125#      - name            : stl/udp_for_benchmarks.py
126#        kwargs          : {packet_len: 9000, stream_count: 1000}
127#        cpu_util        : 1
128#        bw_per_core     : 1
129
130      - name            : stl/imix.py
131        cpu_util        : 1
132        bw_per_core     : 1
133
134      - name            : stl/udp_1pkt_tuple_gen.py
135        kwargs          : {packet_len: 64}
136        cpu_util        : 1
137        bw_per_core     : 1
138
139      - name            : stl/udp_1pkt_tuple_gen.py
140        kwargs          : {packet_len: 128}
141        cpu_util        : 1
142        bw_per_core     : 1
143
144      - name            : stl/udp_1pkt_tuple_gen.py
145        kwargs          : {packet_len: 256}
146        cpu_util        : 1
147        bw_per_core     : 1
148
149      - name            : stl/udp_1pkt_tuple_gen.py
150        kwargs          : {packet_len: 512}
151        cpu_util        : 1
152        bw_per_core     : 1
153
154      - name            : stl/udp_1pkt_tuple_gen.py
155        kwargs          : {packet_len: 1500}
156        cpu_util        : 1
157        bw_per_core     : 1
158
159      - name            : stl/udp_1pkt_tuple_gen.py
160        kwargs          : {packet_len: 4000}
161        cpu_util        : 1
162        bw_per_core     : 1
163
164      - name            : stl/udp_1pkt_tuple_gen.py
165        kwargs          : {packet_len: 9000}
166        cpu_util        : 1
167        bw_per_core     : 1
168
169      - name            : stl/pcap.py
170        kwargs          : {ipg_usec: 2, loop_count: 0}
171        cpu_util        : 1
172        bw_per_core     : 1
173
174      - name            : stl/udp_rand_len_9k.py
175        cpu_util        : 1
176        bw_per_core     : 1
177
178      - name            : stl/hlt/hlt_udp_rand_len_9k.py
179        cpu_util        : 1
180        bw_per_core     : 1
181
182
183