Add test cases with "dpdk no-multi-seg" in vpp startup config
[csit.git] / tests / suites / performance / Long_IPv6_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 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG
17 | ...        | NIC_Intel-X520-DA2
18 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
19 | ... | L3 | Intel-X520-DA2
20 | Suite Teardown | 3-node Performance Suite Teardown
21 | Test Setup | Setup all DUTs before test
22 | Test Teardown | Run Keywords | Show statistics on all DUTs
23 | ...                          | Remove startup configuration of VPP from all DUTs
24 | Documentation | *Throughput search suite (based on RFC2544).*
25 | ...
26 | ... | Test suite uses 3-node topology TG - DUT1 - DUT2 - TG, with one link
27 | ... | between nodes. Traffic profile contain 2 L3 streams (1 stream per
28 | ... | direction). Packets contain Ethernet header, IPv6 header, and random
29 | ... | payload. Ethernet header MAC addresses are matching MAC addresses
30 | ... | of the TG node.
31
32 *** Test Cases ***
33 | Find NDR by using RFC2544 linear search and 78B frames through IPv6 forwarding in 3-node topology
34 | | [Documentation]
35 | | ... | Find throughput with non drop rate for 78B frames by using
36 | | ... | linear search starting at 5.0Mpps, stepping down with step of 0.1Mpps
37 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
38 | | ${framesize}= | Set Variable | 78
39 | | ${start_rate}= | Set Variable | 5000000
40 | | ${step_rate}= | Set Variable | 100000
41 | | ${min_rate}= | Set Variable | 100000
42 | | ${max_rate}= | Set Variable | 12755102
43 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
44 | | And   Add all PCI devices to all DUTs
45 | | And   Add No Multi Seg to all DUTs
46 | | And   Apply startup configuration on all VPP DUTs
47 | | And   IPv6 forwarding initialized in a 3-node circular topology
48 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
49 | | ...                                        | ${step_rate} | 3-node-IPv6
50 | | ...                                        | ${min_rate} | ${max_rate}
51
52 | Find NDR by using RFC2544 linear search and 1518B frames through IPv6 forwarding in 3-node topology
53 | | [Documentation]
54 | | ... | Find throughput with non drop rate for 1518B frames by using
55 | | ... | linear search starting at 812,743pps, stepping down with step of
56 | | ... | 10,000pps
57 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
58 | | ${framesize}= | Set Variable | 1518
59 | | ${start_rate}= | Set Variable | 812743
60 | | ${step_rate}= | Set Variable | 10000
61 | | ${min_rate}= | Set Variable | 10000
62 | | ${max_rate}= | Set Variable | 812743
63 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
64 | | And   Add all PCI devices to all DUTs
65 | | And   Add No Multi Seg to all DUTs
66 | | And   Apply startup configuration on all VPP DUTs
67 | | And   IPv6 forwarding initialized in a 3-node circular topology
68 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
69 | | ...                                        | ${step_rate} | 3-node-IPv6
70 | | ...                                        | ${min_rate} | ${max_rate}
71
72 | Find NDR by using RFC2544 linear search and 9000B frames through IPv6 forwarding in 3-node topology
73 | | [Documentation]
74 | | ... | Find throughput with non drop rate for 9000B frames by using
75 | | ... | linear search starting at 138,580pps, stepping down with step of
76 | | ... | 5,000pps
77 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
78 | | ${framesize}= | Set Variable | 9000
79 | | ${start_rate}= | Set Variable | 138580
80 | | ${step_rate}= | Set Variable | 5000
81 | | ${min_rate}= | Set Variable | 5000
82 | | ${max_rate}= | Set Variable | 138580
83 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
84 | | And   Add all PCI devices to all DUTs
85 | | And   Apply startup configuration on all VPP DUTs
86 | | And   IPv6 forwarding initialized in a 3-node circular topology
87 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
88 | | ...                                        | ${step_rate} | 3-node-IPv6
89 | | ...                                        | ${min_rate} | ${max_rate}
90
91 | Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 78B frames through IPv6 forwarding in 3-node topology
92 | | [Documentation]
93 | | ... | Find throughput on 2 cores with non drop rate for 78B frames by using
94 | | ... | linear search starting at 9Mpps, stepping down with step of 0.1Mpps
95 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
96 | | ${framesize}= | Set Variable | 78
97 | | ${start_rate}= | Set Variable | 9000000
98 | | ${step_rate}= | Set Variable | 100000
99 | | ${min_rate}= | Set Variable | 100000
100 | | ${max_rate}= | Set Variable | 12755102
101 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
102 | | And   Add all PCI devices to all DUTs
103 | | And   Add No Multi Seg to all DUTs
104 | | And   Apply startup configuration on all VPP DUTs
105 | | And   IPv6 forwarding initialized in a 3-node circular topology
106 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
107 | | ...                                        | ${step_rate} | 3-node-IPv6
108 | | ...                                        | ${min_rate} | ${max_rate}
109
110 | Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 1518B frames through IPv6 forwarding in 3-node topology
111 | | [Documentation]
112 | | ... | Find throughput on 2 cores with non drop rate for 1518B frames by
113 | | ... | using linear search starting at 812,743pps, stepping down with step
114 | | ... | of 10.000pps
115 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
116 | | ${framesize}= | Set Variable | 1518
117 | | ${start_rate}= | Set Variable | 812743
118 | | ${step_rate}= | Set Variable | 10000
119 | | ${min_rate}= | Set Variable | 10000
120 | | ${max_rate}= | Set Variable | 812743
121 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
122 | | And   Add all PCI devices to all DUTs
123 | | And   Add No Multi Seg to all DUTs
124 | | And   Apply startup configuration on all VPP DUTs
125 | | And   IPv6 forwarding initialized in a 3-node circular topology
126 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
127 | | ...                                        | ${step_rate} | 3-node-IPv6
128 | | ...                                        | ${min_rate} | ${max_rate}
129
130 | Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 9000B frames through IPv6 forwarding in 3-node topology
131 | | [Documentation]
132 | | ... | Find throughput on 2 cores with non drop rate for 9000B frames by
133 | | ... | using linear search starting at 138,580pps, stepping down with step
134 | | ... | of 5,000pps
135 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
136 | | ${framesize}= | Set Variable | 9000
137 | | ${start_rate}= | Set Variable | 138580
138 | | ${step_rate}= | Set Variable | 5000
139 | | ${min_rate}= | Set Variable | 5000
140 | | ${max_rate}= | Set Variable | 138580
141 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
142 | | And   Add all PCI devices to all DUTs
143 | | And   Apply startup configuration on all VPP DUTs
144 | | And   IPv6 forwarding initialized in a 3-node circular topology
145 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
146 | | ...                                        | ${step_rate} | 3-node-IPv6
147 | | ...                                        | ${min_rate} | ${max_rate}
148
149 | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 78B frames through IPv6 forwarding in 3-node topology
150 | | [Documentation]
151 | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 78B
152 | | ... | frames by using linear search starting at 12.2Mpps, stepping down with
153 | | ... | step of 0.1Mpps
154 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
155 | | ${framesize}= | Set Variable | 78
156 | | ${start_rate}= | Set Variable | 12200000
157 | | ${step_rate}= | Set Variable | 100000
158 | | ${min_rate}= | Set Variable | 100000
159 | | ${max_rate}= | Set Variable | 12755102
160 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
161 | | And   Add all PCI devices to all DUTs
162 | | And   Add No Multi Seg to all DUTs
163 | | And   Apply startup configuration on all VPP DUTs
164 | | And   IPv6 forwarding initialized in a 3-node circular topology
165 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
166 | | ...                                        | ${step_rate} | 3-node-IPv6
167 | | ...                                        | ${min_rate} | ${max_rate}
168
169 | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 1518B frames through IPv6 forwarding in 3-node topology
170 | | [Documentation]
171 | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 1518B
172 | | ... | frames by using linear search starting at 812,743pps, stepping down
173 | | ... | with step of 10.000pps
174 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
175 | | ${framesize}= | Set Variable | 1518
176 | | ${start_rate}= | Set Variable | 812743
177 | | ${step_rate}= | Set Variable | 10000
178 | | ${min_rate}= | Set Variable | 10000
179 | | ${max_rate}= | Set Variable | 812743
180 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
181 | | And   Add all PCI devices to all DUTs
182 | | And   Add No Multi Seg to all DUTs
183 | | And   Apply startup configuration on all VPP DUTs
184 | | And   IPv6 forwarding initialized in a 3-node circular topology
185 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
186 | | ...                                        | ${step_rate} | 3-node-IPv6
187 | | ...                                        | ${min_rate} | ${max_rate}
188
189 | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through IPv6 forwarding in 3-node topology
190 | | [Documentation]
191 | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 9000B
192 | | ... | frames by using linear search starting at 138,580pps, stepping down
193 | | ... | with step of 5,000pps
194 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
195 | | ${framesize}= | Set Variable | 9000
196 | | ${start_rate}= | Set Variable | 138580
197 | | ${step_rate}= | Set Variable | 5000
198 | | ${min_rate}= | Set Variable | 5000
199 | | ${max_rate}= | Set Variable | 138580
200 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
201 | | And   Add all PCI devices to all DUTs
202 | | And   Apply startup configuration on all VPP DUTs
203 | | And   IPv6 forwarding initialized in a 3-node circular topology
204 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
205 | | ...                                        | ${step_rate} | 3-node-IPv6
206 | | ...                                        | ${min_rate} | ${max_rate}
207
208 | Find NDR with 2 cores by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology
209 | | [Documentation]
210 | | ... | Find throughput on 2 cores with non drop rate for 78B
211 | | ... | frames by using binary search with threshold 5,000pps
212 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
213 | | ${framesize}= | Set Variable | 78
214 | | ${binary_min}= | Set Variable | 5000000
215 | | ${binary_max}= | Set Variable | 12000000
216 | | ${min_rate}= | Set Variable | 100000
217 | | ${max_rate}= | Set Variable | 12755102
218 | | ${threshold}= | Set Variable | 5000
219 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
220 | | And   Add all PCI devices to all DUTs
221 | | And   Add No Multi Seg to all DUTs
222 | | And   Apply startup configuration on all VPP DUTs
223 | | And   IPv6 forwarding initialized in a 3-node circular topology
224 | | Then  Find NDR using binary search and pps | ${framesize} | ${binary_min}
225 | | ...                                        | ${binary_max} | 3-node-IPv6
226 | | ...                                        | ${min_rate} | ${max_rate}
227 | | ...                                        | ${threshold}
228
229 | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology
230 | | [Documentation]
231 | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 78B
232 | | ... | frames by using binary search with threshold 5,000pps
233 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
234 | | ${framesize}= | Set Variable | 78
235 | | ${binary_min}= | Set Variable | 6000000
236 | | ${binary_max}= | Set Variable | 12000000
237 | | ${min_rate}= | Set Variable | 100000
238 | | ${max_rate}= | Set Variable | 12755102
239 | | ${threshold}= | Set Variable | 5000
240 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
241 | | And   Add all PCI devices to all DUTs
242 | | And   Add No Multi Seg to all DUTs
243 | | And   Apply startup configuration on all VPP DUTs
244 | | And   IPv6 forwarding initialized in a 3-node circular topology
245 | | Then  Find NDR using binary search and pps | ${framesize} | ${binary_min}
246 | | ...                                        | ${binary_max} | 3-node-IPv6
247 | | ...                                        | ${min_rate} | ${max_rate}
248 | | ...                                        | ${threshold}