Patch: Detection of running t-rex instance before initializing
[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 *** Settings ***
14 | Resource | resources/libraries/robot/performance.robot
15 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG
16 | ...        | NIC_Intel-X520-DA2
17 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
18 | ... | L3 | Intel-X520-DA2
19 | Suite Teardown | 3-node Performance Suite Teardown
20 | Test Setup | Setup all DUTs before test
21 | Test Teardown | Run Keyword | Show statistics on all DUTs
22 | Documentation | *Throughput search suite (based on RFC2544).*
23 | ...
24 | ... | Test suite uses 3-node topology TG - DUT1 - DUT2 - TG, with one link
25 | ... | between nodes. Traffic profile contain 2 L3 streams (1 stream per
26 | ... | direction). Packets contain Ethernet header, IPv6 header, and random
27 | ... | payload. Ethernet header MAC addresses are matching MAC addresses
28 | ... | of the TG node.
29
30 *** Test Cases ***
31 | Find NDR by using RFC2544 linear search and 78B frames through IPv6 forwarding in 3-node topology
32 | | [Documentation]
33 | | ... | Find throughput with non drop rate for 78B frames by using
34 | | ... | linear search starting at 4.0Mpps, stepping down with step of 0.1Mpps
35 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
36 | | ${framesize}= | Set Variable | 78
37 | | ${start_rate}= | Set Variable | 4000000
38 | | ${step_rate}= | Set Variable | 100000
39 | | ${min_rate}= | Set Variable | 100000
40 | | ${max_rate}= | Set Variable | 14880952
41 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
42 | | And   IPv6 forwarding initialized in a 3-node circular topology
43 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
44 | | ...                                       | ${step_rate} | 3-node-IPv6
45 | | ...                                       | ${min_rate} | ${max_rate}
46
47 | Find NDR by using RFC2544 linear search and 1518B frames through IPv6 forwarding in 3-node topology
48 | | [Documentation]
49 | | ... | Find throughput with non drop rate for 1518B frames by using
50 | | ... | linear search starting at 812,743pps, stepping down with step of
51 | | ... | 10,000pps
52 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
53 | | ${framesize}= | Set Variable | 1518
54 | | ${start_rate}= | Set Variable | 812743
55 | | ${step_rate}= | Set Variable | 10000
56 | | ${min_rate}= | Set Variable | 10000
57 | | ${max_rate}= | Set Variable | 812743
58 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
59 | | And   IPv6 forwarding initialized in a 3-node circular topology
60 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
61 | | ...                                       | ${step_rate} | 3-node-IPv6
62 | | ...                                       | ${min_rate} | ${max_rate}
63
64 | Find NDR by using RFC2544 linear search and 9000B frames through IPv6 forwarding in 3-node topology
65 | | [Documentation]
66 | | ... | Find throughput with non drop rate for 9000B frames by using
67 | | ... | linear search starting at 138,580pps, stepping down with step of
68 | | ... | 5,000pps
69 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
70 | | ${framesize}= | Set Variable | 9000
71 | | ${start_rate}= | Set Variable | 138580
72 | | ${step_rate}= | Set Variable | 5000
73 | | ${min_rate}= | Set Variable | 5000
74 | | ${max_rate}= | Set Variable | 138580
75 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
76 | | And   IPv6 forwarding initialized in a 3-node circular topology
77 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
78 | | ...                                       | ${step_rate} | 3-node-IPv6
79 | | ...                                       | ${min_rate} | ${max_rate}
80
81 | Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 78B frames through IPv6 forwarding in 3-node topology
82 | | [Documentation]
83 | | ... | Find throughput on 2 cores with non drop rate for 78B frames by using
84 | | ... | linear search starting at 7.8Mpps, stepping down with step of 0.1Mpps
85 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
86 | | ${framesize}= | Set Variable | 78
87 | | ${start_rate}= | Set Variable | 7800000
88 | | ${step_rate}= | Set Variable | 100000
89 | | ${min_rate}= | Set Variable | 100000
90 | | ${max_rate}= | Set Variable | 14880952
91 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
92 | | And   IPv6 forwarding initialized in a 3-node circular topology
93 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
94 | | ...                                       | ${step_rate} | 3-node-IPv6
95 | | ...                                       | ${min_rate} | ${max_rate}
96
97 | Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 1518B frames through IPv6 forwarding in 3-node topology
98 | | [Documentation]
99 | | ... | Find throughput on 2 cores with non drop rate for 1518B frames by
100 | | ... | using linear search starting at 812,743pps, stepping down with step
101 | | ... | of 10.000pps
102 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
103 | | ${framesize}= | Set Variable | 1518
104 | | ${start_rate}= | Set Variable | 812743
105 | | ${step_rate}= | Set Variable | 10000
106 | | ${min_rate}= | Set Variable | 10000
107 | | ${max_rate}= | Set Variable | 812743
108 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
109 | | And   IPv6 forwarding initialized in a 3-node circular topology
110 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
111 | | ...                                       | ${step_rate} | 3-node-IPv6
112 | | ...                                       | ${min_rate} | ${max_rate}
113
114 | Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 9000B frames through IPv6 forwarding in 3-node topology
115 | | [Documentation]
116 | | ... | Find throughput on 2 cores with non drop rate for 9000B frames by
117 | | ... | using linear search starting at 138,580pps, stepping down with step
118 | | ... | of 5,000pps
119 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
120 | | ${framesize}= | Set Variable | 9000
121 | | ${start_rate}= | Set Variable | 138580
122 | | ${step_rate}= | Set Variable | 5000
123 | | ${min_rate}= | Set Variable | 5000
124 | | ${max_rate}= | Set Variable | 138580
125 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
126 | | And   IPv6 forwarding initialized in a 3-node circular topology
127 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
128 | | ...                                       | ${step_rate} | 3-node-IPv6
129 | | ...                                       | ${min_rate} | ${max_rate}
130
131 | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 78B frames through IPv6 forwarding in 3-node topology
132 | | [Documentation]
133 | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 78B
134 | | ... | frames by using linear search starting at 9.8Mpps, stepping down with
135 | | ... | step of 0.1Mpps
136 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
137 | | ${framesize}= | Set Variable | 78
138 | | ${start_rate}= | Set Variable | 9800000
139 | | ${step_rate}= | Set Variable | 100000
140 | | ${min_rate}= | Set Variable | 100000
141 | | ${max_rate}= | Set Variable | 14880952
142 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
143 | | And   IPv6 forwarding initialized in a 3-node circular topology
144 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
145 | | ...                                       | ${step_rate} | 3-node-IPv6
146 | | ...                                       | ${min_rate} | ${max_rate}
147
148 | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 1518B frames through IPv6 forwarding in 3-node topology
149 | | [Documentation]
150 | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 1518B
151 | | ... | frames by using linear search starting at 812,743pps, stepping down
152 | | ... | with step of 10.000pps
153 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
154 | | ${framesize}= | Set Variable | 1518
155 | | ${start_rate}= | Set Variable | 812743
156 | | ${step_rate}= | Set Variable | 10000
157 | | ${min_rate}= | Set Variable | 10000
158 | | ${max_rate}= | Set Variable | 812743
159 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
160 | | And   IPv6 forwarding initialized in a 3-node circular topology
161 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
162 | | ...                                       | ${step_rate} | 3-node-IPv6
163 | | ...                                       | ${min_rate} | ${max_rate}
164
165 | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through IPv6 forwarding in 3-node topology
166 | | [Documentation]
167 | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 9000B
168 | | ... | frames by using linear search starting at 138,580pps, stepping down
169 | | ... | with step of 5,000pps
170 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
171 | | ${framesize}= | Set Variable | 9000
172 | | ${start_rate}= | Set Variable | 138580
173 | | ${step_rate}= | Set Variable | 5000
174 | | ${min_rate}= | Set Variable | 5000
175 | | ${max_rate}= | Set Variable | 138580
176 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
177 | | And   IPv6 forwarding initialized in a 3-node circular topology
178 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
179 | | ...                                       | ${step_rate} | 3-node-IPv6
180 | | ...                                       | ${min_rate} | ${max_rate}
181
182 | Find NDR with 2 cores by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology
183 | | [Documentation]
184 | | ... | Find throughput on 2 cores with non drop rate for 78B
185 | | ... | frames by using binary search with threshold 5,000pps
186 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
187 | | ${framesize}= | Set Variable | 78
188 | | ${binary_min}= | Set Variable | 5000000
189 | | ${binary_max}= | Set Variable | 9000000
190 | | ${min_rate}= | Set Variable | 100000
191 | | ${max_rate}= | Set Variable | 14880952
192 | | ${threshold}= | Set Variable | 5000
193 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
194 | | And   IPv6 forwarding initialized in a 3-node circular topology
195 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
196 | | ...                                       | ${binary_max} | 3-node-IPv6
197 | | ...                                       | ${min_rate} | ${max_rate}
198 | | ...                                       | ${threshold}
199
200 | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology
201 | | [Documentation]
202 | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 78B
203 | | ... | frames by using binary search with threshold 5,000pps
204 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
205 | | ${framesize}= | Set Variable | 78
206 | | ${binary_min}= | Set Variable | 6000000
207 | | ${binary_max}= | Set Variable | 11000000
208 | | ${min_rate}= | Set Variable | 100000
209 | | ${max_rate}= | Set Variable | 14880952
210 | | ${threshold}= | Set Variable | 5000
211 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
212 | | And   IPv6 forwarding initialized in a 3-node circular topology
213 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
214 | | ...                                       | ${binary_max} | 3-node-IPv6
215 | | ...                                       | ${min_rate} | ${max_rate}
216 | | ...                                       | ${threshold}