CSIT-1142 Change thread perf test TAGs
[csit.git] / tests / vpp / perf / ip4 / 10ge2p1x710-ethip4-ip4scale200k-mrr.robot
1 # Copyright (c) 2018 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/performance_setup.robot
16 | ...
17 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | MRR
18 | ... | NIC_Intel-X710 | ETH | IP4FWD | SCALE | FIB_200K
19 | ...
20 | Suite Setup | Set up 3-node performance topology with DUT's NIC model
21 | ... | L3 | Intel-X710
22 | Suite Teardown | Tear down 3-node performance topology
23 | ...
24 | Test Setup | Set up performance test
25 | ...
26 | Test Teardown | Tear down performance mrr test
27 | ...
28 | Documentation | *Raw results IPv4 routing test cases*
29 | ...
30 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
31 | ... | with single links between nodes.
32 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for IPv4 routing.
33 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv4
34 | ... | routing and 2x100k static IPv4 /32 route entries. DUT1 and DUT2 tested
35 | ... | with 2p10GE NIC X710 by Intel.
36 | ... | *[Ver] TG verification:* In MaxReceivedRate test TG sends traffic
37 | ... | at line rate and reports total received/sent packets over trial period.
38 | ... | Test packets are generated by TG on links to DUTs. TG traffic profile
39 | ... | contains two L3 flow-groups (flow-group per direction, 253 flows per
40 | ... | flow-group) with all packets containing Ethernet header, IPv4 header
41 | ... | with IP protocol=61 and static payload. MAC addresses are matching MAC
42 | ... | addresses of the TG node interfaces.
43 | ... | *[Ref] Applicable standard specifications:* RFC2544.
44
45 *** Variables ***
46 # X710 bandwidth limit
47 | ${s_limit}= | ${10000000000}
48 | ${rts_per_flow}= | ${100000}
49 # Traffic profile:
50 | ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst${rts_per_flow}
51
52 *** Keywords ***
53 | Check RR for ethip4-ip4scale200k
54 | | ...
55 | | [Documentation]
56 | | ... | [Cfg] DUT runs IPv4 routing config with ${wt} thread(s), ${wt}\
57 | | ... | phy core(s), ${rxq} receive queue(s) per NIC port.
58 | | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\
59 | | ... | trial throughput test.
60 | | ...
61 | | [Arguments] | ${wt} | ${rxq} | ${framesize}
62 | | ...
63 | | # Test Variables required for test execution and test teardown
64 | | Set Test Variable | ${framesize}
65 | | ${get_framesize}= | Get Frame Size | ${framesize}
66 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
67 | | ...
68 | | Given Add '${wt}' worker threads and '${rxq}' rxqueues in 3-node single-link circular topology
69 | | And Add PCI devices to all DUTs
70 | | And Run Keyword If | ${get_framesize} < ${1522}
71 | | ... | Add no multi seg to all DUTs
72 | | And Apply startup configuration on all VPP DUTs
73 | | When Initialize IPv4 forwarding with scaling in 3-node circular topology
74 | | ... | ${rts_per_flow}
75 | | Then Traffic should pass with maximum rate | ${perf_trial_duration}
76 | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile}
77
78 *** Test Cases ***
79 | tc01-64B-1t1c-ethip4-ip4scale200k-mrr
80 | | [Documentation]
81 | | ... | [Cfg] DUT runs IPv4 routing config with 1 phy core, \
82 | | ... | 1 receive queue per NIC port.
83 | | ... | [Ver] Measure MaxReceivedRate for 64B frames using single trial\
84 | | ... | throughput test.
85 | | ...
86 | | [Tags] | 64B | 1C
87 | | ...
88 | | [Template] | Check RR for ethip4-ip4scale200k
89 | | wt=1 | rxq=1 | framesize=${64}
90
91 | tc02-1518B-1t1c-ethip4-ip4scale200k-mrr
92 | | [Documentation]
93 | | ... | [Cfg] DUT runs IPv4 routing config with 1 phy core, \
94 | | ... | 1 receive queue per NIC port.
95 | | ... | [Ver] Measure MaxReceivedRate for 1518B frames using single\
96 | | ... | trial throughput test.
97 | | ...
98 | | [Tags] | 1518B | 1C
99 | | ...
100 | | [Template] | Check RR for ethip4-ip4scale200k
101 | | wt=1 | rxq=1 | framesize=${1518}
102
103 | tc03-9000B-1t1c-ethip4-ip4scale200k-mrr
104 | | [Documentation]
105 | | ... | [Cfg] DUT runs IPv4 routing config with 1 phy core, \
106 | | ... | 1 receive queue per NIC port.
107 | | ... | [Ver] Measure MaxReceivedRate for 9000B frames using single\
108 | | ... | trial throughput test.
109 | | ...
110 | | [Tags] | 9000B | 1C
111 | | ...
112 | | [Template] | Check RR for ethip4-ip4scale200k
113 | | wt=1 | rxq=1 | framesize=${9000}
114
115 | tc04-IMIX-1t1c-ethip4-ip4scale200k-mrr
116 | | [Documentation]
117 | | ... | [Cfg] DUT runs IPv4 routing config with \
118 | | ... | 1 phy core, 1 receive queue per NIC port.
119 | | ... | [Ver] Measure MaxReceivedRate for IMIX_v4_1 frames using single trial\
120 | | ... | throughput test.
121 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
122 | | ...
123 | | [Tags] | IMIX | 1C
124 | | ...
125 | | [Template] | Check RR for ethip4-ip4scale200k
126 | | wt=1 | rxq=1 | framesize=IMIX_v4_1
127
128 | tc05-64B-2t2c-ethip4-ip4scale200k-mrr
129 | | [Documentation]
130 | | ... | [Cfg] DUT runs IPv4 routing config with 2 phy cores, \
131 | | ... | 1 receive queue per NIC port.
132 | | ... | [Ver] Measure MaxReceivedRate for 64B frames using single trial\
133 | | ... | throughput test.
134 | | ...
135 | | [Tags] | 64B | 2C
136 | | ...
137 | | [Template] | Check RR for ethip4-ip4scale200k
138 | | wt=2 | rxq=1 | framesize=${64}
139
140 | tc06-1518B-2t2c-ethip4-ip4scale200k-mrr
141 | | [Documentation]
142 | | ... | [Cfg] DUT runs IPv4 routing config with 2 phy cores, \
143 | | ... | 1 receive queue per NIC port.
144 | | ... | [Ver] Measure MaxReceivedRate for 1518B frames using single\
145 | | ... | trial throughput test.
146 | | ...
147 | | [Tags] | 1518B | 2C
148 | | ...
149 | | [Template] | Check RR for ethip4-ip4scale200k
150 | | wt=2 | rxq=1 | framesize=${1518}
151
152 | tc07-9000B-2t2c-ethip4-ip4scale200k-mrr
153 | | [Documentation]
154 | | ... | [Cfg] DUT runs IPv4 routing config with 2 phy cores, \
155 | | ... | 1 receive queue per NIC port.
156 | | ... | [Ver] Measure MaxReceivedRate for 9000B frames using single\
157 | | ... | trial throughput test.
158 | | ...
159 | | [Tags] | 9000B | 2C
160 | | ...
161 | | [Template] | Check RR for ethip4-ip4scale200k
162 | | wt=2 | rxq=1 | framesize=${9000}
163
164 | tc08-IMIX-2t2c-ethip4-ip4scale200k-mrr
165 | | [Documentation]
166 | | ... | [Cfg] DUT runs IPv4 routing config with \
167 | | ... | 2 phy cores, 1 receive queue per NIC port.
168 | | ... | [Ver] Measure MaxReceivedRate for IMIX_v4_1 frames using single trial\
169 | | ... | throughput test.
170 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
171 | | ...
172 | | [Tags] | IMIX | 2C
173 | | ...
174 | | [Template] | Check RR for ethip4-ip4scale200k
175 | | wt=2 | rxq=1 | framesize=IMIX_v4_1
176
177 | tc09-64B-4t4c-ethip4-ip4scale200k-mrr
178 | | [Documentation]
179 | | ... | [Cfg] DUT runs IPv4 routing config with 4 phy cores, \
180 | | ... | 2 receive queues per NIC port.
181 | | ... | [Ver] Measure MaxReceivedRate for 64B frames using single trial\
182 | | ... | throughput test.
183 | | ...
184 | | [Tags] | 64B | 4C
185 | | ...
186 | | [Template] | Check RR for ethip4-ip4scale200k
187 | | wt=4 | rxq=2 | framesize=${64}
188
189 | tc10-1518B-4t4c-ethip4-ip4scale200k-mrr
190 | | [Documentation]
191 | | ... | [Cfg] DUT runs IPv4 routing config with 4 phy cores, \
192 | | ... | 2 receive queues per NIC port.
193 | | ... | [Ver] Measure MaxReceivedRate for 1518B frames using single\
194 | | ... | trial throughput test.
195 | | ...
196 | | [Tags] | 1518B | 4C
197 | | ...
198 | | [Template] | Check RR for ethip4-ip4scale200k
199 | | wt=4 | rxq=2 | framesize=${1518}
200
201 | tc11-9000B-4t4c-ethip4-ip4scale200k-mrr
202 | | [Documentation]
203 | | ... | [Cfg] DUT runs IPv4 routing config with 4 phy cores, \
204 | | ... | 2 receive queues per NIC port.
205 | | ... | [Ver] Measure MaxReceivedRate for 9000B frames using single\
206 | | ... | trial throughput test.
207 | | ...
208 | | [Tags] | 9000B | 4C
209 | | ...
210 | | [Template] | Check RR for ethip4-ip4scale200k
211 | | wt=4 | rxq=2 | framesize=${9000}
212
213 | tc12-IMIX-4t4c-ethip4-ip4scale200k-mrr
214 | | [Documentation]
215 | | ... | [Cfg] DUT runs IPv4 routing config with \
216 | | ... | 4 phy cores, 2 receive queue per NIC port.
217 | | ... | [Ver] Measure MaxReceivedRate for IMIX_v4_1 frames using single trial\
218 | | ... | throughput test.
219 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
220 | | ...
221 | | [Tags] | IMIX | 4C
222 | | ...
223 | | [Template] | Check RR for ethip4-ip4scale200k
224 | | wt=4 | rxq=2 | framesize=IMIX_v4_1