benchmark.yaml revision 3983da29
1###############################################################
2####           TRex benchmark configuration file           ####
3###############################################################
4
5### stateful ###
6
7test_jumbo:
8    multiplier          : 150
9    cores               : 2
10    bw_per_core         : 962.464
11
12
13test_routing_imix:
14    multiplier          : 80
15    cores               : 4
16    bw_per_core         : 55.130
17
18
19test_routing_imix_64:
20    multiplier          : 8000
21    cores               : 7
22    bw_per_core         : 11.699
23
24
25test_static_routing_imix_asymmetric:
26    multiplier          : 70
27    cores               : 3
28    bw_per_core         : 50.561
29
30
31test_ipv6_simple:
32    multiplier          : 80
33    cores               : 7
34    bw_per_core         : 25.948
35
36
37test_rx_check_http: &rx_http
38    multiplier          : 99000
39    cores               : 3
40    rx_sample_rate      : 128
41    bw_per_core         : 49.464
42
43test_rx_check_http_ipv6:
44    <<                  : *rx_http
45    bw_per_core         : 49.237
46
47test_rx_check_sfr: &rx_sfr
48    multiplier          : 80
49    cores               : 7
50    rx_sample_rate      : 128
51    bw_per_core         : 20.871
52
53test_rx_check_sfr_ipv6:
54    <<                  : *rx_sfr
55    bw_per_core         : 19.198
56
57
58### stateless ###
59
60test_CPU_benchmark:
61    profiles:
62      - name            : stl/udp_for_benchmarks.py
63        kwargs          : {packet_len: 64}
64        cpu_util        : 1
65        bw_per_core     : 1
66
67      - name            : stl/udp_for_benchmarks.py
68        kwargs          : {packet_len: 64, stream_count: 10}
69        cpu_util        : 1
70        bw_per_core     : 1
71
72      - name            : stl/udp_for_benchmarks.py
73        kwargs          : {packet_len: 64, stream_count: 100}
74        cpu_util        : 1
75        bw_per_core     : 1
76
77# causes queue full
78#      - name            : stl/udp_for_benchmarks.py
79#        kwargs          : {packet_len: 64, stream_count: 1000}
80#        cpu_util        : 1
81#        bw_per_core     : 1
82
83      - name            : stl/udp_for_benchmarks.py
84        kwargs          : {packet_len: 128}
85        cpu_util        : 1
86        bw_per_core     : 1
87
88      - name            : stl/udp_for_benchmarks.py
89        kwargs          : {packet_len: 256}
90        cpu_util        : 1
91        bw_per_core     : 1
92
93      - name            : stl/udp_for_benchmarks.py
94        kwargs          : {packet_len: 512}
95        cpu_util        : 1
96        bw_per_core     : 1
97
98      - name            : stl/udp_for_benchmarks.py
99        kwargs          : {packet_len: 1500}
100        cpu_util        : 1
101        bw_per_core     : 1
102
103      - name            : stl/udp_for_benchmarks.py
104        kwargs          : {packet_len: 4000}
105        cpu_util        : 1
106        bw_per_core     : 1
107
108      - name            : stl/udp_for_benchmarks.py
109        kwargs          : {packet_len: 9000}
110        cpu_util        : 1
111        bw_per_core     : 1
112
113      - name            : stl/udp_for_benchmarks.py
114        kwargs          : {packet_len: 9000, stream_count: 10}
115        cpu_util        : 1
116        bw_per_core     : 1
117
118      - name            : stl/udp_for_benchmarks.py
119        kwargs          : {packet_len: 9000, stream_count: 100}
120        cpu_util        : 1
121        bw_per_core     : 1
122
123# not enough memory + queue full if memory increase
124#      - name            : stl/udp_for_benchmarks.py
125#        kwargs          : {packet_len: 9000, stream_count: 1000}
126#        cpu_util        : 1
127#        bw_per_core     : 1
128
129      - name            : stl/imix.py
130        cpu_util        : 1
131        bw_per_core     : 1
132
133      - name            : stl/udp_1pkt_tuple_gen.py
134        kwargs          : {packet_len: 64}
135        cpu_util        : 1
136        bw_per_core     : 1
137
138      - name            : stl/udp_1pkt_tuple_gen.py
139        kwargs          : {packet_len: 128}
140        cpu_util        : 1
141        bw_per_core     : 1
142
143      - name            : stl/udp_1pkt_tuple_gen.py
144        kwargs          : {packet_len: 256}
145        cpu_util        : 1
146        bw_per_core     : 1
147
148      - name            : stl/udp_1pkt_tuple_gen.py
149        kwargs          : {packet_len: 512}
150        cpu_util        : 1
151        bw_per_core     : 1
152
153      - name            : stl/udp_1pkt_tuple_gen.py
154        kwargs          : {packet_len: 1500}
155        cpu_util        : 1
156        bw_per_core     : 1
157
158      - name            : stl/udp_1pkt_tuple_gen.py
159        kwargs          : {packet_len: 4000}
160        cpu_util        : 1
161        bw_per_core     : 1
162
163      - name            : stl/udp_1pkt_tuple_gen.py
164        kwargs          : {packet_len: 9000}
165        cpu_util        : 1
166        bw_per_core     : 1
167
168      - name            : stl/pcap.py
169        kwargs          : {ipg_usec: 2, loop_count: 0}
170        cpu_util        : 1
171        bw_per_core     : 1
172
173      - name            : stl/udp_rand_len_9k.py
174        cpu_util        : 1
175        bw_per_core     : 1
176
177      - name            : stl/hlt/hlt_udp_rand_len_9k.py
178        cpu_util        : 1
179        bw_per_core     : 1
180
181
182test_performance_vm_single_cpu:
183    cfg:
184        mult                    : "90%"
185        mpps_per_core_golden    : 
186                                   min: 15.1
187                                   max: 20.3
188
189
190test_performance_vm_single_cpu_cached:
191    cfg:
192        mult                    : "10%"
193        mpps_per_core_golden    : 
194                                   min: 29.1
195                                   max: 32.0
196
197
198
199test_performance_syn_attack_single_cpu:
200     cfg:
201        mult                    : "90%"
202        mpps_per_core_golden    :
203                                  min: 13.2
204                                  max: 15.0
205
206test_performance_vm_multi_cpus:
207    cfg:
208        core_count             : 7
209        mult                   : "40%"
210        mpps_per_core_golden   :
211                                  min: 15.0
212                                  max: 20.0
213
214
215test_performance_vm_multi_cpus_cached:
216    cfg:
217        core_count             : 7
218        mult                   : "40%"
219        mpps_per_core_golden   :
220                                  min: 29.0
221                                  max: 34.0
222
223test_performance_syn_attack_multi_cpus:
224    cfg:
225        core_count             : 7
226        mult                   : "40%"
227        mpps_per_core_golden   :
228                                  min: 13.0
229                                  max: 17.0
230                                  
231
232