Find PDR using binary search
[csit.git] / tests / suites / performance / Short_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
14 *** Settings ***
15 | Resource | resources/libraries/robot/performance.robot
16 | Library | resources.libraries.python.NodePath
17 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_SHORT
18 | ...        | NIC_Intel-X520-DA2
19 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
20 | ... | L2 | Intel-X520-DA2
21 | Suite Teardown | 3-node Performance Suite Teardown
22 | Test Setup | Setup all DUTs before test
23 | Test Teardown | Run Keyword | Remove startup configuration of VPP from all DUTs
24 | Documentation | Minimal throughput acceptance test cases
25
26 *** Test Cases ***
27 | 1core VPP passes 64B frames through bridge domain at 2x 3.2Mpps in 3-node topology
28 | | [Documentation]
29 | | ... | VPP with 1 core should pass 64B frames through bridge domain
30 | | ... | at 2x 3.2Mpps in 3-node topology.
31 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR
32 | | ${framesize}= | Set Variable | 64
33 | | ${duration}= | Set Variable | 10
34 | | ${rate}= | Set Variable | 3.2mpps
35 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
36 | | And   Add all PCI devices to all DUTs
37 | | And   Add No Multi Seg to all DUTs
38 | | And   Apply startup configuration on all VPP DUTs
39 | | And   L2 bridge domain initialized in a 3-node circular topology
40 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
41 | | ...                                    | ${framesize} | 3-node-bridge
42
43 | 1core VPP passes 1518B frames through bridge domain at 2x 812,743pps in 3-node topology
44 | | [Documentation]
45 | | ... | VPP with 1 core should pass 1518B frames through bridge domain
46 | | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology.
47 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR
48 | | ${framesize}= | Set Variable | 1518
49 | | ${duration}= | Set Variable | 10
50 | | ${rate}= | Set Variable | 812743pps
51 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
52 | | And   Add all PCI devices to all DUTs
53 | | And   Add No Multi Seg to all DUTs
54 | | And   Apply startup configuration on all VPP DUTs
55 | | And   L2 bridge domain initialized in a 3-node circular topology
56 | | Then Traffic should pass with no loss | ${duration} | ${rate}
57 | | ...                                   | ${framesize} | 3-node-bridge
58
59 | 1core VPP passes 9000B frames through bridge domain at 2x 138,580pps in 3-node topology
60 | | [Documentation]
61 | | ... | VPP with 1 core should pass 9000B frames through bridge domain
62 | | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology.
63 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR
64 | | ${framesize}= | Set Variable | 9000
65 | | ${duration}= | Set Variable | 10
66 | | ${rate}= | Set Variable | 138580pps
67 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
68 | | And   Add all PCI devices to all DUTs
69 | | And   Apply startup configuration on all VPP DUTs
70 | | And   L2 bridge domain initialized in a 3-node circular topology
71 | | Then Traffic should pass with no loss | ${duration} | ${rate}
72 | | ...                                   | ${framesize} | 3-node-bridge
73
74 | 2core VPP with rss 1 passes 64B frames through bridge domain at 2x 6.9Mpps in 3-node topology
75 | | [Documentation]
76 | | ... | VPP with 2 cores should pass 64B frames through bridge domain
77 | | ... | at 2x 6.9Mpps in 3-node topology.
78 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR
79 | | ${framesize}= | Set Variable | 64
80 | | ${duration}= | Set Variable | 10
81 | | ${rate}= | Set Variable | 6.9mpps
82 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
83 | | And   Add all PCI devices to all DUTs
84 | | And   Add No Multi Seg to all DUTs
85 | | And   Apply startup configuration on all VPP DUTs
86 | | And   L2 bridge domain initialized in a 3-node circular topology
87 | | Then Traffic should pass with no loss | ${duration} | ${rate}
88 | | ...                                   | ${framesize} | 3-node-bridge
89
90 | 2core VPP with rss 1 passes 1518B frames through bridge domain at 2x 812,743pps in 3-node topology
91 | | [Documentation]
92 | | ... | VPP with 2 cores should pass 1518B frames through bridge domain
93 | | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology.
94 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR
95 | | ${framesize}= | Set Variable | 1518
96 | | ${duration}= | Set Variable | 10
97 | | ${rate}= | Set Variable | 812743pps
98 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
99 | | And   Add all PCI devices to all DUTs
100 | | And   Add No Multi Seg to all DUTs
101 | | And   Apply startup configuration on all VPP DUTs
102 | | And   L2 bridge domain initialized in a 3-node circular topology
103 | | Then Traffic should pass with no loss | ${duration} | ${rate}
104 | | ...                                   | ${framesize} | 3-node-bridge
105
106 | 2core VPP with rss 1 passes 9000B frames through bridge domain at 2x 138,580pps in 3-node topology
107 | | [Documentation]
108 | | ... | VPP with 2 cores should pass 9000B frames through bridge domain
109 | | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology.
110 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR
111 | | ${framesize}= | Set Variable | 9000
112 | | ${duration}= | Set Variable | 10
113 | | ${rate}= | Set Variable | 138580pps
114 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
115 | | And   Add all PCI devices to all DUTs
116 | | And   Apply startup configuration on all VPP DUTs
117 | | And   L2 bridge domain initialized in a 3-node circular topology
118 | | Then Traffic should pass with no loss | ${duration} | ${rate}
119 | | ...                                   | ${framesize} | 3-node-bridge
120
121 | 4core VPP with rss 2 passes 64B frames through bridge domain at 2x 7.4Mpps in 3-node topology
122 | | [Documentation]
123 | | ... | VPP with 4 cores and rss 2 should pass 64B frames through bridge
124 | | ... | domain at 2x7.4Mpps in 3-node topology.
125 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR
126 | | ${framesize}= | Set Variable | 64
127 | | ${duration}= | Set Variable | 10
128 | | ${rate}= | Set Variable | 7.4mpps
129 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
130 | | And   Add all PCI devices to all DUTs
131 | | And   Add No Multi Seg to all DUTs
132 | | And   Apply startup configuration on all VPP DUTs
133 | | And   L2 bridge domain initialized in a 3-node circular topology
134 | | Then Traffic should pass with no loss | ${duration} | ${rate}
135 | | ...                                   | ${framesize} | 3-node-bridge
136
137 | 4core VPP with rss 2 passes 1518B frames through bridge domain at 2x 812,743pps in 3-node topology
138 | | [Documentation]
139 | | ... | VPP with 4 cores and rss 2 should pass 1518B frames through bridge
140 | | ... | domain at 2x 812,743pps (2x 10Gbps) in 3-node topology.
141 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR
142 | | ${framesize}= | Set Variable | 1518
143 | | ${duration}= | Set Variable | 10
144 | | ${rate}= | Set Variable | 812743pps
145 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
146 | | And   Add all PCI devices to all DUTs
147 | | And   Add No Multi Seg to all DUTs
148 | | And   Apply startup configuration on all VPP DUTs
149 | | And   L2 bridge domain initialized in a 3-node circular topology
150 | | Then Traffic should pass with no loss | ${duration} | ${rate}
151 | | ...                                   | ${framesize} | 3-node-bridge
152
153 | 4core VPP with rss 2 passes 9000B frames through bridge domain at 2x 138,580pps in 3-node topology
154 | | [Documentation]
155 | | ... | VPP with 4 cores and rss 2should pass 9000B frames through bridge
156 | | ... | domain at 2x 138,580pps (2x 10Gbps) in 3-node topology.
157 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR
158 | | ${framesize}= | Set Variable | 9000
159 | | ${duration}= | Set Variable | 10
160 | | ${rate}= | Set Variable | 138580pps
161 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
162 | | And   Add all PCI devices to all DUTs
163 | | And   Apply startup configuration on all VPP DUTs
164 | | And   L2 bridge domain initialized in a 3-node circular topology
165 | | Then Traffic should pass with no loss | ${duration} | ${rate}
166 | | ...                                   | ${framesize} | 3-node-bridge