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