8b80aabcfff77c5c7d733758e69f21320dc0c010
[csit.git] / tests / suites / performance / Long_IPv4_Intel-X520-DA2.robot
1 # Copyright (c) 2016 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 *** Settings ***
15 | Resource | resources/libraries/robot/performance.robot
16 | Library | resources.libraries.python.topology.Topology
17 | Library | resources.libraries.python.NodePath
18 | Library | resources.libraries.python.InterfaceUtil
19 | Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT1']} | WITH NAME | dut1_v4
20 | Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT2']} | WITH NAME | dut2_v4
21 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG
22 | ...        | NIC_Intel-X520-DA2
23 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
24 | ... | L3 | Intel-X520-DA2
25 | Suite Teardown | 3-node Performance Suite Teardown
26 | Test Setup | Setup all DUTs before test
27 | Test Teardown | Run Keyword | Remove startup configuration of VPP from all DUTs
28 | Documentation | *Throughput search suite (based on RFC2544).*
29 | ...
30 | ... | Test suite uses 3-node topology TG - DUT1 - DUT2 - TG, with one link
31 | ... | between nodes. Traffic profile contain 2 L3 streams (1 stream per
32 | ... | direction). Packets contain Ethernet header, IPv4 header,
33 | ... | IP protocol=61 and random payload. Ethernet header MAC addresses are
34 | ... | matching MAC addresses of the TG node.
35
36 *** Test Cases ***
37 | Find NDR by using RFC2544 binary search and 64B frames through IPv4 forwarding in 3-node topology
38 | | [Documentation]
39 | | ... | Find throughput with non drop rate for 64B frames by using
40 | | ... | binary search with threshold 0.1Mpps.
41 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
42 | | ${framesize}= | Set Variable | 64
43 | | ${min_rate}= | Set Variable | 100000
44 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
45 | | ${binary_min}= | Set Variable | ${min_rate}
46 | | ${binary_max}= | Set Variable | ${max_rate}
47 | | ${threshold}= | Set Variable | ${min_rate}
48 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
49 | | And   Add all PCI devices to all DUTs
50 | | And   Add No Multi Seg to all DUTs
51 | | And   Apply startup configuration on all VPP DUTs
52 | | And   IPv4 forwarding initialized in a 3-node circular topology
53 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
54 | | ...                                       | ${binary_max} | 3-node-IPv4
55 | | ...                                       | ${min_rate} | ${max_rate}
56 | | ...                                       | ${threshold}
57
58 | Find PDR by using RFC2544 binary search and 64B frames through IPv4 forwarding in 3-node topology
59 | | [Documentation]
60 | | ... | Find throughput with partial drop rate for 64B frames by using
61 | | ... | binary search with threshold 0.1Mpps. Loss acceptance is set to 0.5
62 | | ... | percent of transmitted packets.
63 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
64 | | ${framesize}= | Set Variable | 64
65 | | ${min_rate}= | Set Variable | 100000
66 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
67 | | ${binary_min}= | Set Variable | ${min_rate}
68 | | ${binary_max}= | Set Variable | ${max_rate}
69 | | ${threshold}= | Set Variable | ${min_rate}
70 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
71 | | And   Add all PCI devices to all DUTs
72 | | And   Add No Multi Seg to all DUTs
73 | | And   Apply startup configuration on all VPP DUTs
74 | | And   IPv4 forwarding initialized in a 3-node circular topology
75 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
76 | | ...                                       | ${binary_max} | 3-node-IPv4
77 | | ...                                       | ${min_rate} | ${max_rate}
78 | | ...                                       | ${threshold}
79 | | ...                                       | ${glob_loss_acceptance}
80 | | ...                                       | ${glob_loss_acceptance_type}
81
82 | Find NDR by using RFC2544 binary search and 1518B frames through IPv4 forwarding in 3-node topology
83 | | [Documentation]
84 | | ... | Find throughput with non drop rate for 1518B frames by using
85 | | ... | binary search with threshold 10,000pps.
86 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
87 | | ${framesize}= | Set Variable | 1518
88 | | ${min_rate}= | Set Variable | 10000
89 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
90 | | ${binary_min}= | Set Variable | ${min_rate}
91 | | ${binary_max}= | Set Variable | ${max_rate}
92 | | ${threshold}= | Set Variable | ${min_rate}
93 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
94 | | And   Add all PCI devices to all DUTs
95 | | And   Add No Multi Seg to all DUTs
96 | | And   Apply startup configuration on all VPP DUTs
97 | | And   IPv4 forwarding initialized in a 3-node circular topology
98 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
99 | | ...                                       | ${binary_max} | 3-node-IPv4
100 | | ...                                       | ${min_rate} | ${max_rate}
101 | | ...                                       | ${threshold}
102
103 | Find PDR by using RFC2544 binary search and 1518B frames through IPv4 forwarding in 3-node topology
104 | | [Documentation]
105 | | ... | Find throughput with partial drop rate for 1518B frames by using
106 | | ... | binary search with threshold 10,000pps. Loss acceptance is set to 0.5
107 | | ... | percent of transmitted packets.
108 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
109 | | ${framesize}= | Set Variable | 1518
110 | | ${min_rate}= | Set Variable | 10000
111 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
112 | | ${binary_min}= | Set Variable | ${min_rate}
113 | | ${binary_max}= | Set Variable | ${max_rate}
114 | | ${threshold}= | Set Variable | ${min_rate}
115 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
116 | | And   Add all PCI devices to all DUTs
117 | | And   Add No Multi Seg to all DUTs
118 | | And   Apply startup configuration on all VPP DUTs
119 | | And   IPv4 forwarding initialized in a 3-node circular topology
120 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
121 | | ...                                       | ${binary_max} | 3-node-IPv4
122 | | ...                                       | ${min_rate} | ${max_rate}
123 | | ...                                       | ${threshold}
124 | | ...                                       | ${glob_loss_acceptance}
125 | | ...                                       | ${glob_loss_acceptance_type}
126
127 | Find NDR by using RFC2544 binary search and 9000B frames through IPv4 forwarding in 3-node topology
128 | | [Documentation]
129 | | ... | Find throughput with non drop rate for 9000B frames by using
130 | | ... | binary search with threshold 5,000pps.
131 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
132 | | ${framesize}= | Set Variable | 9000
133 | | ${min_rate}= | Set Variable | 5000
134 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
135 | | ${binary_min}= | Set Variable | ${min_rate}
136 | | ${binary_max}= | Set Variable | ${max_rate}
137 | | ${threshold}= | Set Variable | ${min_rate}
138 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
139 | | And   Add all PCI devices to all DUTs
140 | | And   Apply startup configuration on all VPP DUTs
141 | | And   IPv4 forwarding initialized in a 3-node circular topology
142 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
143 | | ...                                       | ${binary_max} | 3-node-IPv4
144 | | ...                                       | ${min_rate} | ${max_rate}
145 | | ...                                       | ${threshold}
146
147 | Find PDR by using RFC2544 binary search and 9000B frames through IPv4 forwarding in 3-node topology
148 | | [Documentation]
149 | | ... | Find throughput with partial drop rate for 9000B frames by using
150 | | ... | binary search with threshold of 5,000pps. Loss acceptance is set to
151 | | ... | 0.5 percent of transmitted packets.
152 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
153 | | ${framesize}= | Set Variable | 9000
154 | | ${min_rate}= | Set Variable | 5000
155 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
156 | | ${binary_min}= | Set Variable | ${min_rate}
157 | | ${binary_max}= | Set Variable | ${max_rate}
158 | | ${threshold}= | Set Variable | ${min_rate}
159 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
160 | | And   Add all PCI devices to all DUTs
161 | | And   Apply startup configuration on all VPP DUTs
162 | | And   IPv4 forwarding initialized in a 3-node circular topology
163 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
164 | | ...                                       | ${binary_max} | 3-node-IPv4
165 | | ...                                       | ${min_rate} | ${max_rate}
166 | | ...                                       | ${threshold}
167 | | ...                                       | ${glob_loss_acceptance}
168 | | ...                                       | ${glob_loss_acceptance_type}
169
170 | Find NDR with 2 cores and rxqueues 1 by using RFC2544 binary search and 64B frames through IPv4 forwarding in 3-node topology
171 | | [Documentation]
172 | | ... | Find throughput on 2 cores with non drop rate for 64B frames by using
173 | | ... | binary search with threshold 0.1Mpps.
174 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
175 | | ${framesize}= | Set Variable | 64
176 | | ${min_rate}= | Set Variable | 100000
177 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
178 | | ${binary_min}= | Set Variable | ${min_rate}
179 | | ${binary_max}= | Set Variable | ${max_rate}
180 | | ${threshold}= | Set Variable | ${min_rate}
181 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
182 | | And   Add all PCI devices to all DUTs
183 | | And   Add No Multi Seg to all DUTs
184 | | And   Apply startup configuration on all VPP DUTs
185 | | And   IPv4 forwarding initialized in a 3-node circular topology
186 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
187 | | ...                                       | ${binary_max} | 3-node-IPv4
188 | | ...                                       | ${min_rate} | ${max_rate}
189 | | ...                                       | ${threshold}
190
191 | Find PDR with 2 cores and rxqueues 1 by using RFC2544 binary search and 64B frames through IPv4 forwarding in 3-node topology
192 | | [Documentation]
193 | | ... | Find throughput on 2 cores with partial drop rate for 64B frames by
194 | | ... | using binary search with threshold 0.1Mpps. Loss acceptance is set to
195 | | ... | 0.5 percent of transmitted packets.
196 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
197 | | ${framesize}= | Set Variable | 64
198 | | ${min_rate}= | Set Variable | 100000
199 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
200 | | ${binary_min}= | Set Variable | ${min_rate}
201 | | ${binary_max}= | Set Variable | ${max_rate}
202 | | ${threshold}= | Set Variable | ${min_rate}
203 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
204 | | And   Add all PCI devices to all DUTs
205 | | And   Add No Multi Seg to all DUTs
206 | | And   Apply startup configuration on all VPP DUTs
207 | | And   IPv4 forwarding initialized in a 3-node circular topology
208 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
209 | | ...                                       | ${binary_max} | 3-node-IPv4
210 | | ...                                       | ${min_rate} | ${max_rate}
211 | | ...                                       | ${threshold}
212 | | ...                                       | ${glob_loss_acceptance}
213 | | ...                                       | ${glob_loss_acceptance_type}
214
215 | Find NDR with 2 cores and rxqueues 1 by using RFC2544 binary search and 1518B frames through IPv4 forwarding in 3-node topology
216 | | [Documentation]
217 | | ... | Find throughput on 2 cores with non drop rate for 1518B frames by
218 | | ... | using binary search with threshold 10,000pps.
219 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
220 | | ${framesize}= | Set Variable | 1518
221 | | ${min_rate}= | Set Variable | 10000
222 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
223 | | ${binary_min}= | Set Variable | ${min_rate}
224 | | ${binary_max}= | Set Variable | ${max_rate}
225 | | ${threshold}= | Set Variable | ${min_rate}
226 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
227 | | And   Add all PCI devices to all DUTs
228 | | And   Add No Multi Seg to all DUTs
229 | | And   Apply startup configuration on all VPP DUTs
230 | | And   IPv4 forwarding initialized in a 3-node circular topology
231 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
232 | | ...                                       | ${binary_max} | 3-node-IPv4
233 | | ...                                       | ${min_rate} | ${max_rate}
234 | | ...                                       | ${threshold}
235
236 | Find PDR with 2 cores and rxqueues 1 by using RFC2544 binary search and 1518B frames through IPv4 forwarding in 3-node topology
237 | | [Documentation]
238 | | ... | Find throughput on 2 cores with partial drop rate for 1518B frames by
239 | | ... | using binary search with threshold 10,000pps. Loss acceptance is set
240 | | ... | to 0.5 percent of transmitted packets.
241 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
242 | | ${framesize}= | Set Variable | 1518
243 | | ${min_rate}= | Set Variable | 10000
244 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
245 | | ${binary_min}= | Set Variable | ${min_rate}
246 | | ${binary_max}= | Set Variable | ${max_rate}
247 | | ${threshold}= | Set Variable | ${min_rate}
248 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
249 | | And   Add all PCI devices to all DUTs
250 | | And   Add No Multi Seg to all DUTs
251 | | And   Apply startup configuration on all VPP DUTs
252 | | And   IPv4 forwarding initialized in a 3-node circular topology
253 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
254 | | ...                                       | ${binary_max} | 3-node-IPv4
255 | | ...                                       | ${min_rate} | ${max_rate}
256 | | ...                                       | ${threshold}
257 | | ...                                       | ${glob_loss_acceptance}
258 | | ...                                       | ${glob_loss_acceptance_type}
259
260 | Find NDR with 2 cores and rxqueues 1 by using RFC2544 binary search and 9000B frames through IPv4 forwarding in 3-node topology
261 | | [Documentation]
262 | | ... | Find throughput on 2 cores with non drop rate for 9000B frames by
263 | | ... | using binary search with threshold 5,000pps.
264 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
265 | | ${framesize}= | Set Variable | 9000
266 | | ${min_rate}= | Set Variable | 5000
267 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
268 | | ${binary_min}= | Set Variable | ${min_rate}
269 | | ${binary_max}= | Set Variable | ${max_rate}
270 | | ${threshold}= | Set Variable | ${min_rate}
271 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
272 | | And   Add all PCI devices to all DUTs
273 | | And   Apply startup configuration on all VPP DUTs
274 | | And   IPv4 forwarding initialized in a 3-node circular topology
275 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
276 | | ...                                       | ${binary_max} | 3-node-IPv4
277 | | ...                                       | ${min_rate} | ${max_rate}
278 | | ...                                       | ${threshold}
279
280 | Find PDR with 2 cores and rxqueues 1 by using RFC2544 binary search and 9000B frames through IPv4 forwarding in 3-node topology
281 | | [Documentation]
282 | | ... | Find throughput on 2 cores with partial drop rate for 9000B frames by
283 | | ... | using binary search with threshold 5,000pps. Loss acceptance is set
284 | | ... | to 0.5 percent of transmitted packets.
285 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
286 | | ${framesize}= | Set Variable | 9000
287 | | ${min_rate}= | Set Variable | 5000
288 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
289 | | ${binary_min}= | Set Variable | ${min_rate}
290 | | ${binary_max}= | Set Variable | ${max_rate}
291 | | ${threshold}= | Set Variable | ${min_rate}
292 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
293 | | And   Add all PCI devices to all DUTs
294 | | And   Apply startup configuration on all VPP DUTs
295 | | And   IPv4 forwarding initialized in a 3-node circular topology
296 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
297 | | ...                                       | ${binary_max} | 3-node-IPv4
298 | | ...                                       | ${min_rate} | ${max_rate}
299 | | ...                                       | ${threshold}
300 | | ...                                       | ${glob_loss_acceptance}
301 | | ...                                       | ${glob_loss_acceptance_type}
302
303 | Find NDR with 4 cores and rxqueues 2 by using RFC2544 binary search and 64B frames through IPv4 forwarding in 3-node topology
304 | | [Documentation]
305 | | ... | Find throughput on 4 cores and rxqueues 2 with non drop rate for 64B
306 | | ... | frames by using binary search with threshold 0.1Mpps.
307 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
308 | | ${framesize}= | Set Variable | 64
309 | | ${min_rate}= | Set Variable | 100000
310 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
311 | | ${binary_min}= | Set Variable | ${min_rate}
312 | | ${binary_max}= | Set Variable | ${max_rate}
313 | | ${threshold}= | Set Variable | ${min_rate}
314 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
315 | | And   Add all PCI devices to all DUTs
316 | | And   Add No Multi Seg to all DUTs
317 | | And   Apply startup configuration on all VPP DUTs
318 | | And   IPv4 forwarding initialized in a 3-node circular topology
319 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
320 | | ...                                       | ${binary_max} | 3-node-IPv4
321 | | ...                                       | ${min_rate} | ${max_rate}
322 | | ...                                       | ${threshold}
323
324 | Find PDR with 4 cores and rxqueues 2 by using RFC2544 binary search and 64B frames through IPv4 forwarding in 3-node topology
325 | | [Documentation]
326 | | ... | Find throughput on 4 cores and rxqueues 2 with partial drop rate for 64B
327 | | ... | frames by using binary search with threshold 0.1Mpps. Loss acceptance
328 | | ... | is set to 0.5 percent of transmitted packets.
329 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
330 | | ${framesize}= | Set Variable | 64
331 | | ${min_rate}= | Set Variable | 100000
332 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
333 | | ${binary_min}= | Set Variable | ${min_rate}
334 | | ${binary_max}= | Set Variable | ${max_rate}
335 | | ${threshold}= | Set Variable | ${min_rate}
336 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
337 | | And   Add all PCI devices to all DUTs
338 | | And   Add No Multi Seg to all DUTs
339 | | And   Apply startup configuration on all VPP DUTs
340 | | And   IPv4 forwarding initialized in a 3-node circular topology
341 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
342 | | ...                                       | ${binary_max} | 3-node-IPv4
343 | | ...                                       | ${min_rate} | ${max_rate}
344 | | ...                                       | ${threshold}
345 | | ...                                       | ${glob_loss_acceptance}
346 | | ...                                       | ${glob_loss_acceptance_type}
347
348 | Find NDR with 4 cores and rxqueues 2 by using RFC2544 binary search and 1518B frames through IPv4 forwarding in 3-node topology
349 | | [Documentation]
350 | | ... | Find throughput on 4 cores and rxqueues 2 with non drop rate for 1518B
351 | | ... | frames by using binary search with threshold 10,000pps.
352 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
353 | | ${framesize}= | Set Variable | 1518
354 | | ${min_rate}= | Set Variable | 10000
355 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
356 | | ${binary_min}= | Set Variable | ${min_rate}
357 | | ${binary_max}= | Set Variable | ${max_rate}
358 | | ${threshold}= | Set Variable | ${min_rate}
359 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
360 | | And   Add all PCI devices to all DUTs
361 | | And   Add No Multi Seg to all DUTs
362 | | And   Apply startup configuration on all VPP DUTs
363 | | And   IPv4 forwarding initialized in a 3-node circular topology
364 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
365 | | ...                                       | ${binary_max} | 3-node-IPv4
366 | | ...                                       | ${min_rate} | ${max_rate}
367 | | ...                                       | ${threshold}
368
369 | Find PDR with 4 cores and rxqueues 2 by using RFC2544 binary search and 1518B frames through IPv4 forwarding in 3-node topology
370 | | [Documentation]
371 | | ... | Find throughput on 4 cores and rxqueues 2 with partial drop rate for 1518B
372 | | ... | frames by using binary search with threshold 10,000pps. Loss
373 | | ... | acceptance is set to 0.5 percent of transmitted packets.
374 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
375 | | ${framesize}= | Set Variable | 1518
376 | | ${min_rate}= | Set Variable | 10000
377 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
378 | | ${binary_min}= | Set Variable | ${min_rate}
379 | | ${binary_max}= | Set Variable | ${max_rate}
380 | | ${threshold}= | Set Variable | ${min_rate}
381 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
382 | | And   Add all PCI devices to all DUTs
383 | | And   Add No Multi Seg to all DUTs
384 | | And   Apply startup configuration on all VPP DUTs
385 | | And   IPv4 forwarding initialized in a 3-node circular topology
386 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
387 | | ...                                       | ${binary_max} | 3-node-IPv4
388 | | ...                                       | ${min_rate} | ${max_rate}
389 | | ...                                       | ${threshold}
390 | | ...                                       | ${glob_loss_acceptance}
391 | | ...                                       | ${glob_loss_acceptance_type}
392
393 | Find NDR with 4 cores and rxqueues 2 by using RFC2544 linear search and 9000B frames through IPv4 forwarding in 3-node topology
394 | | [Documentation]
395 | | ... | Find throughput on 4 cores and rxqueues 2 with non drop rate for 9000B
396 | | ... | frames by using binary search with threshold 5,000pps.
397 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
398 | | ${framesize}= | Set Variable | 9000
399 | | ${min_rate}= | Set Variable | 5000
400 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
401 | | ${binary_min}= | Set Variable | ${min_rate}
402 | | ${binary_max}= | Set Variable | ${max_rate}
403 | | ${threshold}= | Set Variable | ${min_rate}
404 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
405 | | And   Add all PCI devices to all DUTs
406 | | And   Apply startup configuration on all VPP DUTs
407 | | And   IPv4 forwarding initialized in a 3-node circular topology
408 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
409 | | ...                                       | ${binary_max} | 3-node-IPv4
410 | | ...                                       | ${min_rate} | ${max_rate}
411 | | ...                                       | ${threshold}
412
413 | Find PDR with 4 cores and rxqueues 2 by using RFC2544 linear search and 9000B frames through IPv4 forwarding in 3-node topology
414 | | [Documentation]
415 | | ... | Find throughput on 4 cores and rxqueues 2 with partial drop rate for 9000B
416 | | ... | frames by using binary search with threshold 5,000pps. Loss
417 | | ... | acceptance is set to 0.5 percent of transmitted packets.
418 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
419 | | ${framesize}= | Set Variable | 9000
420 | | ${min_rate}= | Set Variable | 5000
421 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
422 | | ${binary_min}= | Set Variable | ${min_rate}
423 | | ${binary_max}= | Set Variable | ${max_rate}
424 | | ${threshold}= | Set Variable | ${min_rate}
425 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
426 | | And   Add all PCI devices to all DUTs
427 | | And   Apply startup configuration on all VPP DUTs
428 | | And   IPv4 forwarding initialized in a 3-node circular topology
429 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
430 | | ...                                       | ${binary_max} | 3-node-IPv4
431 | | ...                                       | ${min_rate} | ${max_rate}
432 | | ...                                       | ${threshold}
433 | | ...                                       | ${glob_loss_acceptance}
434 | | ...                                       | ${glob_loss_acceptance_type}