Explicitly list the NIC type for perf tests
[csit.git] / tests / suites / performance / Long_Bridge_Domain_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 | Library | resources.libraries.python.NodePath
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 | ... | L2 | Intel-X520-DA2
20 | Suite Teardown | 3-node Performance Suite Teardown
21 | Test Setup | Setup all DUTs before test
22 | Test Teardown | Run Keyword | Show statistics on all DUTs
23 | Documentation | *Throughput search suite (based on RFC2544).*
24 | ...
25 | ... | Test suite uses 3-node topology TG - DUT1 - DUT2 - TG, with one link
26 | ... | between nodes. Traffic profile contain 2 L2 streams (1 stream per
27 | ... | direction). Packets contain Ethernet header, IPv4 header,
28 | ... | IP protocol=61 and random payload. Ethernet header MAC addresses are
29 | ... | matching MAC addresses of the TG node.
30
31 *** Test Cases ***
32 | Find NDR by using RFC2544 linear search and 64B frames through bridge domain in 3-node topology
33 | | [Documentation]
34 | | ... | Find throughput with non drop rate for 64B frames by using
35 | | ... | linear search starting at 4.1Mpps, stepping down with step of 0.1Mpps
36 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
37 | | ${framesize}= | Set Variable | 64
38 | | ${start_rate}= | Set Variable | 4100000
39 | | ${step_rate}= | Set Variable | 100000
40 | | ${min_rate}= | Set Variable | 100000
41 | | ${max_rate}= | Set Variable | 14880952
42 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
43 | | AND   L2 bridge domain initialized in a 3-node circular topology
44 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
45 | | ...                                       | ${step_rate} | 3-node-bridge
46 | | ...                                       | ${min_rate} | ${max_rate}
47
48 | Find NDR by using RFC2544 linear search and 1518B frames through bridge domain in 3-node topology
49 | | [Documentation]
50 | | ... | Find throughput with non drop rate for 1518B frames by using
51 | | ... | linear search starting at 812,743pps, stepping down with step of
52 | | ... | 10,000pps
53 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
54 | | ${framesize}= | Set Variable | 1518
55 | | ${start_rate}= | Set Variable | 812743
56 | | ${step_rate}= | Set Variable | 10000
57 | | ${min_rate}= | Set Variable | 10000
58 | | ${max_rate}= | Set Variable | 812743
59 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
60 | | AND   L2 bridge domain initialized in a 3-node circular topology
61 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
62 | | ...                                       | ${step_rate} | 3-node-bridge
63 | | ...                                       | ${min_rate} | ${max_rate}
64
65 | Find NDR by using RFC2544 linear search and 9000B frames through bridge domain in 3-node topology
66 | | [Documentation]
67 | | ... | Find throughput with non drop rate for 9000B frames by using
68 | | ... | linear search starting at 138,580pps, stepping down with step of
69 | | ... | 5,000pps
70 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
71 | | ${framesize}= | Set Variable | 9000
72 | | ${start_rate}= | Set Variable | 138580
73 | | ${step_rate}= | Set Variable | 5000
74 | | ${min_rate}= | Set Variable | 5000
75 | | ${max_rate}= | Set Variable | 138580
76 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
77 | | AND   L2 bridge domain initialized in a 3-node circular topology
78 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
79 | | ...                                       | ${step_rate} | 3-node-bridge
80 | | ...                                       | ${min_rate} | ${max_rate}
81
82 | Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 64B frames through bridge domain in 3-node topology
83 | | [Documentation]
84 | | ... | Find throughput on 2 cores with non drop rate for 64B frames by using
85 | | ... | linear search starting at 8.2Mpps, stepping down with step of 0.1Mpps
86 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
87 | | ${framesize}= | Set Variable | 64
88 | | ${start_rate}= | Set Variable | 8200000
89 | | ${step_rate}= | Set Variable | 100000
90 | | ${min_rate}= | Set Variable | 100000
91 | | ${max_rate}= | Set Variable | 14880952
92 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
93 | | AND   L2 bridge domain initialized in a 3-node circular topology
94 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
95 | | ...                                       | ${step_rate} | 3-node-bridge
96 | | ...                                       | ${min_rate} | ${max_rate}
97
98 | Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 1518B frames through bridge domain in 3-node topology
99 | | [Documentation]
100 | | ... | Find throughput on 2 cores with non drop rate for 1518B frames by
101 | | ... | using linear search starting at 812,743pps, stepping down with step
102 | | ... | of 10,000pps
103 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
104 | | ${framesize}= | Set Variable | 1518
105 | | ${start_rate}= | Set Variable | 812743
106 | | ${step_rate}= | Set Variable | 10000
107 | | ${min_rate}= | Set Variable | 10000
108 | | ${max_rate}= | Set Variable | 812743
109 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
110 | | AND   L2 bridge domain initialized in a 3-node circular topology
111 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
112 | | ...                                       | ${step_rate} | 3-node-bridge
113 | | ...                                       | ${min_rate} | ${max_rate}
114
115 | Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 9000B frames through bridge domain in 3-node topology
116 | | [Documentation]
117 | | ... | Find throughput on 2 cores with non drop rate for 9000B frames by
118 | | ... | using linear search starting at 138,580pps, stepping down with step
119 | | ... | of 5,000pps
120 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
121 | | ${framesize}= | Set Variable | 9000
122 | | ${start_rate}= | Set Variable | 138580
123 | | ${step_rate}= | Set Variable | 5000
124 | | ${min_rate}= | Set Variable | 5000
125 | | ${max_rate}= | Set Variable | 138580
126 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
127 | | AND   L2 bridge domain initialized in a 3-node circular topology
128 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
129 | | ...                                       | ${step_rate} | 3-node-bridge
130 | | ...                                       | ${min_rate} | ${max_rate}
131
132 | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 64B frames through bridge domain in 3-node topology
133 | | [Documentation]
134 | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 64B
135 | | ... | frames by using linear search starting at 9.8Mpps, stepping down
136 | | ... | with step of 0.1Mpps
137 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
138 | | ${framesize}= | Set Variable | 64
139 | | ${start_rate}= | Set Variable | 9800000
140 | | ${step_rate}= | Set Variable | 100000
141 | | ${min_rate}= | Set Variable | 100000
142 | | ${max_rate}= | Set Variable | 14880952
143 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
144 | | AND   L2 bridge domain initialized in a 3-node circular topology
145 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
146 | | ...                                       | ${step_rate} | 3-node-bridge
147 | | ...                                       | ${min_rate} | ${max_rate}
148
149 | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 1518B frames through bridge domain in 3-node topology
150 | | [Documentation]
151 | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 1518B
152 | | ... | frames by using linear search starting at 812,743pps, stepping down
153 | | ... | with step of 10,000pps
154 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
155 | | ${framesize}= | Set Variable | 1518
156 | | ${start_rate}= | Set Variable | 812743
157 | | ${step_rate}= | Set Variable | 10000
158 | | ${min_rate}= | Set Variable | 10000
159 | | ${max_rate}= | Set Variable | 812743
160 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
161 | | AND   L2 bridge domain initialized in a 3-node circular topology
162 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
163 | | ...                                       | ${step_rate} | 3-node-bridge
164 | | ...                                       | ${min_rate} | ${max_rate}
165
166 | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through bridge domain in 3-node topology
167 | | [Documentation]
168 | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 9000B
169 | | ... | frames by using linear search starting at 138,580pps, stepping
170 | | ... | down with step of 5,000pps
171 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
172 | | ${framesize}= | Set Variable | 9000
173 | | ${start_rate}= | Set Variable | 138580
174 | | ${step_rate}= | Set Variable | 5000
175 | | ${min_rate}= | Set Variable | 5000
176 | | ${max_rate}= | Set Variable | 138580
177 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
178 | | AND   L2 bridge domain initialized in a 3-node circular topology
179 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate}
180 | | ...                                       | ${step_rate} | 3-node-bridge
181 | | ...                                       | ${min_rate} | ${max_rate}