benchmark.yaml revision 1eea3fc8
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
13#test_routing_imix:
14#    multiplier          : 60
15#    cores               : 4
16#    bw_per_core         : 48.130
17
18
19
20#test_routing_imix_64:
21#    multiplier          : 4000
22#    cores               : 7
23#    bw_per_core         : 12.699
24
25
26test_static_routing_imix_asymmetric:
27    multiplier          : 50
28    cores               : 3
29    bw_per_core         : 50.561
30
31
32#test_ipv6_simple:
33#    multiplier          : 50
34#    cores               : 7
35#    bw_per_core         : 19.5
36
37
38test_rx_check_http: &rx_http
39    multiplier          : 99000
40    cores               : 7
41    rx_sample_rate      : 128
42    bw_per_core         : 49.464
43
44test_rx_check_http_ipv6:
45    <<                  : *rx_http
46    bw_per_core         : 49.237
47
48test_rx_check_sfr: &rx_sfr
49    multiplier          : 35
50    cores               : 7
51    rx_sample_rate      : 128
52    bw_per_core         : 20.871
53
54test_rx_check_sfr_ipv6:
55    <<                  : *rx_sfr
56    bw_per_core         : 19.198
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
182test_performance_vm_single_cpu:
183    cfg:
184        mult                    : "90%"
185        mpps_per_core_golden    : 
186                                   min: 9.6
187                                   max: 13.3
188
189
190test_performance_vm_single_cpu_cached:
191    cfg:
192        mult                    : "10%"
193        mpps_per_core_golden    : 
194                                   min: 16.0
195                                   max: 25.0
196
197
198
199test_performance_syn_attack_single_cpu:
200     cfg:
201        mult                    : "90%"
202        mpps_per_core_golden    :
203                                  min: 9.0
204                                  max: 14.0
205
206test_performance_vm_multi_cpus:
207    cfg:
208        core_count             : 7
209        mult                   : "90%"
210        mpps_per_core_golden   :
211                                  min: 8.5
212                                  max: 12.0
213
214
215test_performance_vm_multi_cpus_cached:
216    cfg:
217        core_count             : 7
218        mult                   : "35%"
219        mpps_per_core_golden   :
220                                  min: 9.0
221                                  max: 15.0
222
223test_performance_syn_attack_multi_cpus:
224    cfg:
225        core_count             : 7
226        mult                   : "90%"
227        mpps_per_core_golden   :
228                                  min: 8.0
229                                  max: 16.0
230                                  
231
232test_all_profiles :
233        mult          : "5%"
234        
235