Add test cases with "dpdk no-multi-seg" in vpp startup config
[csit.git] / tests / suites / performance / Long_Xconnect_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.InterfaceUtil
17 | Library | resources.libraries.python.NodePath
18 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG
19 | ...        | NIC_Intel-X520-DA2
20 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
21 | ... | L2 | Intel-X520-DA2
22 | Suite Teardown | 3-node Performance Suite Teardown
23 | Test Setup | Setup all DUTs before test
24 | Test Teardown | Run Keywords | Show statistics on all DUTs
25 | ...                          | Remove startup configuration of VPP from all DUTs
26 | Documentation | *Throughput search suite (based on RFC2544).*
27 | ...
28 | ... | Test suite uses 3-node topology TG - DUT1 - DUT2 - TG, with one link
29 | ... | between nodes. Traffic profile contain 2 L2 streams (1 stream per
30 | ... | direction). Packets contain Ethernet header, IPv4 header,
31 | ... | IP protocol=61 and random payload. Ethernet header MAC addresses are
32 | ... | matching MAC addresses of the TG node.
33
34 *** Test Cases ***
35 | Find NDR by using RFC2544 linear search and 64B frames through L2 cross connect in 3-node topology
36 | | [Documentation]
37 | | ... | Find throughput with non drop rate for 64B frames by using
38 | | ... | linear search starting at 6.0Mpps, stepping down with step of 0.1Mpps
39 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
40 | | ${framesize}= | Set Variable | 64
41 | | ${start_rate}= | Set Variable | 6000000
42 | | ${step_rate}= | Set Variable | 100000
43 | | ${min_rate}= | Set Variable | 100000
44 | | ${max_rate}= | Set Variable | 14880952
45 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
46 | | And   Add all PCI devices to all DUTs
47 | | And   Add No Multi Seg to all DUTs
48 | | And   Apply startup configuration on all VPP DUTs
49 | | And   L2 xconnect initialized in a 3-node circular topology
50 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
51 | | ...                                        | ${step_rate} | 3-node-xconnect
52 | | ...                                        | ${min_rate} | ${max_rate}
53
54 | Find NDR by using RFC2544 linear search and 1518B frames through L2 cross connect in 3-node topology
55 | | [Documentation]
56 | | ... | Find throughput with non drop rate for 1518B frames by using
57 | | ... | linear search starting at 812,743pps, stepping down with step of 10,000pps
58 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
59 | | ${framesize}= | Set Variable | 1518
60 | | ${start_rate}= | Set Variable | 812743
61 | | ${step_rate}= | Set Variable | 10000
62 | | ${min_rate}= | Set Variable | 10000
63 | | ${max_rate}= | Set Variable | 812743
64 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
65 | | And   Add all PCI devices to all DUTs
66 | | And   Add No Multi Seg to all DUTs
67 | | And   Apply startup configuration on all VPP DUTs
68 | | And   L2 xconnect initialized in a 3-node circular topology
69 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
70 | | ...                                        | ${step_rate} | 3-node-xconnect
71 | | ...                                        | ${min_rate} | ${max_rate}
72
73 | Find NDR by using RFC2544 linear search and 9000B frames through L2 cross connect in 3-node topology
74 | | [Documentation]
75 | | ... | Find throughput with non drop rate for 9000B frames by using
76 | | ... | linear search starting at 138,580pps, stepping down with step 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   L2 xconnect initialized in a 3-node circular topology
87 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
88 | | ...                                        | ${step_rate} | 3-node-xconnect
89 | | ...                                        | ${min_rate} | ${max_rate}
90
91 | Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 64B frames through L2 cross connect in 3-node topology
92 | | [Documentation]
93 | | ... | Find throughput on 2 cores with non drop rate for 64B frames by using
94 | | ... | linear search starting at 11Mpps, stepping down with step of 0.1Mpps
95 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
96 | | ${framesize}= | Set Variable | 64
97 | | ${start_rate}= | Set Variable | 11000000
98 | | ${step_rate}= | Set Variable | 100000
99 | | ${min_rate}= | Set Variable | 100000
100 | | ${max_rate}= | Set Variable | 14880952
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   L2 xconnect initialized in a 3-node circular topology
106 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
107 | | ...                                        | ${step_rate} | 3-node-xconnect
108 | | ...                                        | ${min_rate} | ${max_rate}
109
110 | Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 1518B frames through L2 cross connect 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   L2 xconnect initialized in a 3-node circular topology
126 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
127 | | ...                                        | ${step_rate} | 3-node-xconnect
128 | | ...                                        | ${min_rate} | ${max_rate}
129
130 | Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 9000B frames through L2 cross connect 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   L2 xconnect initialized in a 3-node circular topology
145 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
146 | | ...                                        | ${step_rate} | 3-node-xconnect
147 | | ...                                        | ${min_rate} | ${max_rate}
148
149 | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 64B frames through L2 cross connect in 3-node topology
150 | | [Documentation]
151 | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 64B
152 | | ... | frames by using linear search starting at 13.5Mpps, stepping down
153 | | ... | with step of 0.1Mpps
154 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
155 | | ${framesize}= | Set Variable | 64
156 | | ${start_rate}= | Set Variable | 13500000
157 | | ${step_rate}= | Set Variable | 100000
158 | | ${min_rate}= | Set Variable | 100000
159 | | ${max_rate}= | Set Variable | 14880952
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   L2 xconnect initialized in a 3-node circular topology
165 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
166 | | ...                                        | ${step_rate} | 3-node-xconnect
167 | | ...                                        | ${min_rate} | ${max_rate}
168
169 | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 1518B frames through L2 cross connect 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   L2 xconnect initialized in a 3-node circular topology
185 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
186 | | ...                                        | ${step_rate} | 3-node-xconnect
187 | | ...                                        | ${min_rate} | ${max_rate}
188
189 | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through L2 cross connect in 3-node topology
190 | | [Documentation]
191 | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 9000B frames by
192 | | ... | using linear search starting at 138,580pps, stepping down with step
193 | | ... | 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   L2 xconnect initialized in a 3-node circular topology
204 | | Then  Find NDR using linear search and pps | ${framesize} | ${start_rate}
205 | | ...                                        | ${step_rate} | 3-node-xconnect
206 | | ...                                        | ${min_rate} | ${max_rate}