benchmark.yaml revision 52b8755b
1###############################################################
2####           TRex benchmark configuration file           ####
3###############################################################
4
5#### common templates ###
6
7test_jumbo:
8    multiplier          : 120
9    cores               : 2
10    bw_per_core         : 962.464
11
12
13test_routing_imix:
14    multiplier          : 60
15    cores               : 4
16    bw_per_core         : 48.130
17
18
19test_routing_imix_64:
20    multiplier          : 4000
21    cores               : 7
22    bw_per_core         : 12.699
23
24
25test_static_routing_imix_asymmetric:
26    multiplier          : 50
27    cores               : 3
28    bw_per_core         : 50.561
29
30
31test_ipv6_simple:
32    multiplier          : 50
33    cores               : 7
34    bw_per_core         : 19.5
35
36
37test_rx_check_http: &rx_http
38    multiplier          : 99000
39    cores               : 7
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          : 35
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
181test_performance_vm_single_cpu:
182    cfg:
183        mult                    : "90%"
184        mpps_per_core_golden    : 
185                                   min: 9.6
186                                   max: 13.3
187
188
189test_performance_vm_single_cpu_cached:
190    cfg:
191        mult                    : "90%"
192        mpps_per_core_golden    : 
193                                   min: 16.0
194                                   max: 25.0
195
196
197
198test_performance_syn_attack_single_cpu:
199     cfg:
200        mult                    : "90%"
201        mpps_per_core_golden    :
202                                  min: 9.0
203                                  max: 14.0
204
205test_performance_vm_multi_cpus:
206    cfg:
207        core_count             : 7
208        mult                   : "90%"
209        mpps_per_core_golden   :
210                                  min: 8.5
211                                  max: 12.0
212
213
214test_performance_vm_multi_cpus_cached:
215    cfg:
216        core_count             : 7
217        mult                   : "90%"
218        mpps_per_core_golden   :
219                                  min: 9.0
220                                  max: 15.0
221
222test_performance_syn_attack_multi_cpus:
223    cfg:
224        core_count             : 7
225        mult                   : "90%"
226        mpps_per_core_golden   :
227                                  min: 8.0
228                                  max: 16.0
229                                  
230
231test_all_profiles :
232        mult          : "5%"
233        
234