benchmark.yaml revision 37cb7ee7
1###############################################################
2####           TRex benchmark configuration file           ####
3###############################################################
4
5#### common templates ###
6
7#test_jumbo:
8#    multiplier          : 2.8
9#    cores               : 1
10#    bw_per_core         : 962.464
11
12
13test_routing_imix:
14    multiplier          : 0.5
15    cores               : 1
16    bw_per_core         : 48.130
17
18
19test_routing_imix_64:
20    multiplier          : 28
21    cores               : 1
22    bw_per_core         : 12.699
23
24
25test_static_routing_imix_asymmetric:
26    multiplier          : 0.5
27    cores               : 1
28    bw_per_core         : 50.561
29
30
31test_ipv6_simple:
32    multiplier          : 0.5
33    cores               : 1
34    bw_per_core         : 19.5
35
36
37test_rx_check_http: &rx_http
38    multiplier          : 1000
39    cores               : 1
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          : 8
49    cores               : 1
50    rx_sample_rate      : 128
51    bw_per_core         : 20.9
52
53test_rx_check_sfr_ipv6:
54    <<                  : *rx_sfr
55    bw_per_core         : 23.9
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                                  
182
183test_all_profiles :
184        mult          : "5%"
185        skip          : ['udp_rand_len_9k.py','udp_inc_len_9k.py'] # due to VIC 9K defect trex-282
186
187
188test_performance_vm_single_cpu:
189    cfg:
190        mult                    : "40%"
191        mpps_per_core_golden    : 
192                                   min: 1
193                                   max: 99
194
195
196test_performance_vm_single_cpu_cached:
197    cfg:
198        mult                    : "40%"
199        mpps_per_core_golden    : 
200                                   min: 1
201                                   max: 99
202
203
204
205test_performance_syn_attack_single_cpu:
206     cfg:
207        mult                    : "40%"
208        mpps_per_core_golden    :
209                                  min: 1
210                                  max: 99
211
212test_performance_vm_multi_cpus:
213    cfg:
214        core_count             : 7
215        mult                   : "40%"
216        mpps_per_core_golden   :
217                                  min: 1
218                                  max: 99
219
220
221test_performance_vm_multi_cpus_cached:
222    cfg:
223        core_count             : 7
224        mult                   : "40%"
225        mpps_per_core_golden   :
226                                  min: 1
227                                  max: 99
228
229test_performance_syn_attack_multi_cpus:
230    cfg:
231        core_count             : 7
232        mult                   : "40%"
233        mpps_per_core_golden   :
234                                  min: 1
235                                  max: 99
236