7.4. hoststack¶
7.4.1. 10ge2p1x710-eth-ip4tcpbase-ldpreload-iperf3-bps suite¶
Iperf3 client -> Iperf3 server goodput. *[Top] Network Topologies: DUT-DUT 2-node topology with single link between nodes. [Enc] Packet Encapsulations: Eth-IPv4-TCP [Cfg] DUT configuration: [Ref] Applicable standard specifications:
# Copyright (c) 2021 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Library | resources.libraries.python.HoststackUtil
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/hoststack/hoststack.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
| ... | TCP | NIC_Intel-X710 | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | HOSTSTACK
| ... | LDPRELOAD | IPERF3 | 1CLIENT | 1STREAM | 1460B
| ... | eth-ip4tcpbase-ldpreload-iperf3
|
| Suite Setup | Setup suite topology interfaces with no TG
| Suite Teardown | Tear down suite | hoststack
| Test Setup | Setup test
| Test Teardown | Tear down test
|
| Test Template | Local template
|
|
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${overhead}= | ${0}
| ${frame_size}= | ${9000}
| ${crypto_type}= | ${None}
7.4.1.1. Local template¶
Set Test Variable ${dpdk_no_tx_checksum_offload} ${False}
Set VPP Hoststack Attributes phy_cores=${phy_cores}
${defer_fail}= Get Test Results From Hoststack Iperf3 Test
Run Keyword If ${defer_fail}==True FAIL Defered Failure From Hoststack Iperf3 Test Program
7.4.1.2. 1460B-1c-eth-ip4tcpbase-ldpreload-iperf3-bps¶
phy_cores=${1}
7.4.2. 10ge2p1x710-eth-ip4tcpbase-nsim-ldpreload-iperf3-bps suite¶
Iperf3 client -> Iperf3 server goodput. *[Top] Network Topologies: DUT-DUT 2-node topology with single link between nodes. [Enc] Packet Encapsulations: Eth-IPv4-TCP [Cfg] DUT configuration: [Ref] Applicable standard specifications:
# Copyright (c) 2021 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Library | resources.libraries.python.HoststackUtil
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/hoststack/hoststack.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
| ... | TCP | NIC_Intel-X710 | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | HOSTSTACK
| ... | NSIM | LDPRELOAD | IPERF3 | 1CLIENT | 1STREAM | 1460B
| ... | eth-ip4tcpbase-nsim-ldpreload-iperf3
|
| Suite Setup | Setup suite topology interfaces with no TG
| Suite Teardown | Tear down suite
| Test Setup | Setup test
| Test Teardown | Tear down test
|
| Test Template | Local template
|
|
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so | nsim_plugin.so
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${overhead}= | ${0}
| ${frame_size}= | ${9000}
| ${crypto_type}= | ${None}
| ${pkts_per_drop}= | ${100}
7.4.2.1. Local template¶
Set VPP Hoststack Attributes phy_cores=${phy_cores}
Set VPP NSIM Attributes output_nsim_enable=${True} packets_per_drop=${pkts_per_drop}
${defer_fail}= Get Test Results From Hoststack Iperf3 Test
Run Keyword If ${defer_fail}==True FAIL Defered Failure From Hoststack Iperf3 Test Program
7.4.2.2. 1460B-1c-eth-ip4tcpbase-nsim-ldpreload-iperf3-bps¶
phy_cores=${1}
7.4.3. 10ge2p1x710-eth-ip4tcpscale1cl10s-ldpreload-iperf3-bps suite¶
Iperf3 client -> Iperf3 server goodput. *[Top] Network Topologies: DUT-DUT 2-node topology with single link between nodes. [Enc] Packet Encapsulations: Eth-IPv4-TCP [Cfg] DUT configuration: [Ref] Applicable standard specifications:
# Copyright (c) 2021 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Library | resources.libraries.python.HoststackUtil
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/hoststack/hoststack.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
| ... | TCP | NIC_Intel-X710 | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | HOSTSTACK
| ... | LDPRELOAD | IPERF3 | 1CLIENT | 10STREAM | 1460B
| ... | eth-ip4tcpscale1cl10s-ldpreload-iperf3
|
| Suite Setup | Setup suite topology interfaces with no TG
| Suite Teardown | Tear down suite | hoststack
| Test Setup | Setup test
| Test Teardown | Tear down test
|
| Test Template | Local template
|
|
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${overhead}= | ${0}
| ${frame_size}= | ${9000}
| ${crypto_type}= | ${None}
| ${streams} | ${10}
7.4.3.1. Local template¶
Set Test Variable ${dpdk_no_tx_checksum_offload} ${False}
Set VPP Hoststack Attributes phy_cores=${phy_cores}
Set Iperf3 Client Attributes parallel=${streams}
${defer_fail}= Get Test Results From Hoststack Iperf3 Test
Run Keyword If ${defer_fail}==True FAIL Defered Failure From Hoststack Iperf3 Test Program
7.4.3.2. 1460B-1c-eth-ip4tcpscale1cl10s-ldpreload-iperf3-bps¶
phy_cores=${1}
7.4.4. 10ge2p1x710-eth-ip4tcpscale1cl10s-nsim-ldpreload-iperf3-bps suite¶
Iperf3 client -> Iperf3 server goodput. *[Top] Network Topologies: DUT-DUT 2-node topology with single link between nodes. [Enc] Packet Encapsulations: Eth-IPv4-TCP [Cfg] DUT configuration: [Ref] Applicable standard specifications:
# Copyright (c) 2021 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Library | resources.libraries.python.HoststackUtil
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/hoststack/hoststack.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
| ... | TCP | NIC_Intel-X710 | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | HOSTSTACK
| ... | NSIM | LDPRELOAD | IPERF3 | 1CLIENT | 10STREAM | 1460B
| ... | eth-ip4tcpscale1cl10s-nsim-ldpreload-iperf3
|
| Suite Setup | Setup suite topology interfaces with no TG
| Suite Teardown | Tear down suite
| Test Setup | Setup test
| Test Teardown | Tear down test
|
| Test Template | Local template
|
|
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so | nsim_plugin.so
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${overhead}= | ${0}
| ${frame_size}= | ${9000}
| ${crypto_type}= | ${None}
| ${pkts_per_drop}= | ${100}
| ${streams}= | ${10}
7.4.4.1. Local template¶
Set VPP Hoststack Attributes phy_cores=${phy_cores}
Set Iperf3 Client Attributes parallel=${streams}
Set VPP NSIM Attributes output_nsim_enable=${True} packets_per_drop=${pkts_per_drop}
${defer_fail}= Get Test Results From Hoststack Iperf3 Test
Run Keyword If ${defer_fail}==True FAIL Defered Failure From Hoststack Iperf3 Test Program
7.4.4.2. 1460B-1c-eth-ip4tcpscale1cl10s-nsim-ldpreload-iperf3-bps¶
phy_cores=${1}
7.4.5. 10ge2p1x710-eth-ip4udpbase-ldpreload-iperf3-bps suite¶
Iperf3 client -> Iperf3 server goodput. *[Top] Network Topologies: DUT-DUT 2-node topology with single link between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP [Cfg] DUT configuration: [Ref] Applicable standard specifications:
# Copyright (c) 2021 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Library | resources.libraries.python.HoststackUtil
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/hoststack/hoststack.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
| ... | UDP | NIC_Intel-X710 | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | HOSTSTACK
| ... | LDPRELOAD | IPERF3 | 1CLIENT | 1STREAM | 1460B
| ... | eth-ip4udpbase-ldpreload-iperf3
|
| Suite Setup | Setup suite topology interfaces with no TG
| Suite Teardown | Tear down suite | hoststack
| Test Setup | Setup test
| Test Teardown | Tear down test
|
| Test Template | Local template
|
|
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${overhead}= | ${0}
| ${frame_size}= | ${9000}
| ${crypto_type}= | ${None}
| ${iperf3_packet_length}= | ${1460}
7.4.5.1. Local template¶
Set Test Variable ${dpdk_no_tx_checksum_offload} ${False}
Set VPP Hoststack Attributes phy_cores=${phy_cores}
${bandwidth} = Get From Dictionary ${NIC_NAME_TO_BPS_LIMIT} ${nic_name}
Set Iperf3 Client Attributes udp=${True} bandwidth=${bandwidth} length=${iperf3_packet_length}
${defer_fail}= Get Test Results From Hoststack Iperf3 Test
Run Keyword If ${defer_fail}==True FAIL Defered Failure From Hoststack Iperf3 Test Program
7.4.5.2. 1460B-1c-eth-ip4udpbase-ldpreload-iperf3-bps¶
phy_cores=${1}
7.4.6. 10ge2p1x710-eth-ip4udpquicbase-vppecho-bps suite¶
QUIC Unidirectional Echo Client -> Echo Server goodput. *[Top] Network Topologies: DUT-DUT 2-node topology with single link between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP-QUIC [Cfg] DUT configuration: [Ref] Applicable standard specifications:
# Copyright (c) 2021 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Library | resources.libraries.python.HoststackUtil
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/hoststack/hoststack.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
| ... | NIC_Intel-X710 | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | UDP | QUIC | VPPECHO
| ... | 1CLIENT | 1STREAM | HOSTSTACK | 1280B | eth-ip4udpquicbase-vppecho
|
| Suite Setup | Setup suite topology interfaces with no TG
| Suite Teardown | Tear down suite
| Test Setup | Setup test
| Test Teardown | Tear down test
|
| Test Template | Local template
|
|
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so | quic_plugin.so
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${overhead}= | ${0}
| ${frame_size}= | ${9000}
| ${crypto_type}= | ${None}
| ${bytes}= | 10G
7.4.6.1. Local template¶
Set VPP Hoststack Attributes phy_cores=${phy_cores}
Set VPP Echo Server Attributes cfg_vpp_feature=quic rx_bytes=${bytes}
Set VPP Echo Client Attributes cfg_vpp_feature=quic tx_bytes=${bytes}
${defer_fail}= Get Test Results From Hoststack VPP Echo Test
Run Keyword If ${defer_fail}==True FAIL Defered Failure From Hoststack VPP Echo Test Program
7.4.6.2. 1280B-1c-eth-ip4udpquicbase-vppecho-bps¶
phy_cores=${1}
7.4.7. 10ge2p1x710-eth-ip4udpquicscale10cl10s-vppecho-bps suite¶
QUIC Unidirectional Echo Client -> Echo Server goodput. *[Top] Network Topologies: DUT-DUT 2-node topology with single link between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP-QUIC [Cfg] DUT configuration: [Ref] Applicable standard specifications:
# Copyright (c) 2021 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Library | resources.libraries.python.HoststackUtil
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/hoststack/hoststack.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
| ... | NIC_Intel-X710 | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | UDP | QUIC | VPPECHO
| ... | HOSTSTACK | 10CLIENT | 10STREAM | 1280B
| ... | eth-ip4udpquicscale10cl10s-vppecho
|
| Suite Setup | Setup suite topology interfaces with no TG
| Suite Teardown | Tear down suite
| Test Setup | Setup test
| Test Teardown | Tear down test
|
| Test Template | Local template
|
|
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so | quic_plugin.so
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${overhead}= | ${0}
| ${frame_size}= | ${9000}
| ${crypto_type}= | ${None}
| ${clients}= | ${10}
| ${streams}= | ${10}
| ${bytes}= | 100M
7.4.7.1. Local template¶
Set VPP Hoststack Attributes phy_cores=${phy_cores}
Set VPP Echo Server Attributes cfg_vpp_feature=quic nclients=${clients} quic_streams=${streams} rx_bytes=${bytes}
Set VPP Echo Client Attributes cfg_vpp_feature=quic nclients=${clients} quic_streams=${streams} tx_bytes=${bytes}
${defer_fail}= Get Test Results From Hoststack VPP Echo Test
Run Keyword If ${defer_fail}==True FAIL Defered Failure From Hoststack VPP Echo Test Program
7.4.7.2. 1280B-1c-eth-ip4udpquicscale10cl10s-vppecho-bps¶
phy_cores=${1}
7.4.8. 10ge2p1x710-eth-ip4udpquicscale10cl1s-vppecho-bps suite¶
QUIC Unidirectional Echo Client -> Echo Server goodput. *[Top] Network Topologies: DUT-DUT 2-node topology with single link between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP-QUIC [Cfg] DUT configuration: [Ref] Applicable standard specifications:
# Copyright (c) 2021 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Library | resources.libraries.python.HoststackUtil
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/hoststack/hoststack.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
| ... | NIC_Intel-X710 | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | UDP | QUIC | VPPECHO
| ... | HOSTSTACK | 10CLIENT | 1STREAM | 1280B
| ... | eth-ip4udpquicscale10cl1s-vppecho
|
| Suite Setup | Setup suite topology interfaces with no TG
| Suite Teardown | Tear down suite
| Test Setup | Setup test
| Test Teardown | Tear down test
|
| Test Template | Local template
|
|
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so | quic_plugin.so
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${overhead}= | ${0}
| ${frame_size}= | ${9000}
| ${crypto_type}= | ${None}
| ${clients}= | ${10}
| ${bytes}= | 1G
7.4.8.1. Local template¶
Set VPP Hoststack Attributes phy_cores=${phy_cores}
Set VPP Echo Server Attributes cfg_vpp_feature=quic nclients=${clients} rx_bytes=${bytes}
Set VPP Echo Client Attributes cfg_vpp_feature=quic nclients=${clients} tx_bytes=${bytes}
${defer_fail}= Get Test Results From Hoststack VPP Echo Test
Run Keyword If ${defer_fail}==True FAIL Defered Failure From Hoststack VPP Echo Test Program
7.4.8.2. 1280B-1c-eth-ip4udpquicscale10cl1s-vppecho-bps¶
phy_cores=${1}
7.4.9. 10ge2p1x710-eth-ip4udpquicscale1cl10s-vppecho-bps suite¶
QUIC Unidirectional Echo Client -> Echo Server goodput. *[Top] Network Topologies: DUT-DUT 2-node topology with single link between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP-QUIC [Cfg] DUT configuration: [Ref] Applicable standard specifications:
# Copyright (c) 2021 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Library | resources.libraries.python.HoststackUtil
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/hoststack/hoststack.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
| ... | NIC_Intel-X710 | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | UDP | QUIC | VPPECHO
| ... | HOSTSTACK | 1CLIENT | 10STREAM | 1280B
| ... | eth-ip4udpquicscale1cl10s-vppecho
|
| Suite Setup | Setup suite topology interfaces with no TG
| Suite Teardown | Tear down suite
| Test Setup | Setup test
| Test Teardown | Tear down test
|
| Test Template | Local template
|
|
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so | quic_plugin.so
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${overhead}= | ${0}
| ${frame_size}= | ${9000}
| ${crypto_type}= | ${None}
| ${streams}= | ${10}
| ${bytes}= | 1G
7.4.9.1. Local template¶
Set VPP Hoststack Attributes phy_cores=${phy_cores}
Set VPP Echo Server Attributes cfg_vpp_feature=quic quic_streams=${streams} rx_bytes=${bytes}
Set VPP Echo Client Attributes cfg_vpp_feature=quic quic_streams=${streams} tx_bytes=${bytes}
${defer_fail}= Get Test Results From Hoststack VPP Echo Test
Run Keyword If ${defer_fail}==True FAIL Defered Failure From Hoststack VPP Echo Test Program
7.4.9.2. 1280B-1c-eth-ip4udpquicscale1cl10s-vppecho-bps¶
phy_cores=${1}
7.4.10. 10ge2p1x710-eth-ip4udpscale1cl10s-ldpreload-iperf3-bps suite¶
Iperf3 client -> Iperf3 server goodput. *[Top] Network Topologies: DUT-DUT 2-node topology with single link between nodes. [Enc] Packet Encapsulations: Eth-IPv4-UDP [Cfg] DUT configuration: [Ref] Applicable standard specifications:
# Copyright (c) 2021 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Library | resources.libraries.python.HoststackUtil
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/hoststack/hoststack.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
| ... | UDP | NIC_Intel-X710 | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | HOSTSTACK
| ... | LDPRELOAD | IPERF3 | 1CLIENT | 10STREAM | 1460B
| ... | eth-ip4udpscale1cl10s-ldpreload-iperf3
|
| Suite Setup | Setup suite topology interfaces with no TG
| Suite Teardown | Tear down suite | hoststack
| Test Setup | Setup test
| Test Teardown | Tear down test
|
| Test Template | Local template
|
|
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${overhead}= | ${0}
| ${frame_size}= | ${9000}
| ${crypto_type}= | ${None}
| ${streams} | ${10}
| ${iperf3_packet_length}= | ${1460}
7.4.10.1. Local template¶
Set Test Variable ${dpdk_no_tx_checksum_offload} ${False}
Set VPP Hoststack Attributes phy_cores=${phy_cores}
${bandwidth} = Get From Dictionary ${NIC_NAME_TO_BPS_LIMIT} ${nic_name}
Set Iperf3 Client Attributes udp=${True} bandwidth=${bandwidth} parallel=${streams} length=${iperf3_packet_length}
${defer_fail}= Get Test Results From Hoststack Iperf3 Test
Run Keyword If ${defer_fail}==True FAIL Defered Failure From Hoststack Iperf3 Test Program
7.4.10.2. 1460B-1c-eth-ip4udpscale1cl10s-ldpreload-iperf3-bps¶
phy_cores=${1}
7.4.11. 2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps suite¶
TCP requests per seconds. [Top] Network Topologies: TG-DUT-TG 2-node topologywith single link between nodes. [Enc] Packet Encapsulations: Eth-IPv4-TCP-HTTP for TCP [Cfg] DUT configuration: [Ver] TG verification: [Ref] Applicable standard specifications:
# Copyright (c) 2021 Intel and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/hoststack/hoststack.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
| ... | LDP_NGINX | TCP | NIC_Intel-X710 | DRV_VFIO_PCI
| ... | TCP_CPS | eth-ip4tcphttp-ldpreload-nginx-1_14_2
|
| Suite Setup | Setup suite topology interfaces | ab | nginx
| Suite Teardown | Tear down suite | ab
| Test Setup | Setup test
| Test Teardown | Tear down test | nginx
|
| Test Template | Local Template
|
|
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${nic_name}= | Intel-X710
| ${crypto_type}= | ${None}
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${overhead}= | ${0}
| ${ciphers}= | 0
| ${rps_cps}= | cps
| ${qat}= | ${0}
| ${r_total}= | ${1000000}
| ${c_total}= | ${2000}
| ${listen_port}= | ${80}
| ${mode}= | ldp
| ${tls_tcp}= | tcp
| ${keep_time}= | 0
| ${ab_ip_prefix}= | 24
| @{ab_ip_addrs}= | 192.168.10.2
| ${dut_ip_prefix}= | 24
| @{dut_ip_addrs}= | 192.168.10.1
| ${nginx_version}= | 1.14.2
7.4.11.1. Local template¶
Set Test Variable \${frame_size}
Set Test Variable ${dpdk_no_tx_checksum_offload} ${False}
Given Set Max Rate And Jumbo
And Add worker threads to all DUTs ${phy_cores} ${rxq}
And Pre-initialize layer driver ${nic_driver}
FOR ${dut} IN @{duts}
\ Import Library resources.libraries.python.VppConfigGenerator WITH NAME ${dut}
\ Run keyword ${dut}.Add Session Event Queues Memfd Segment
\ Run keyword ${dut}.Add tcp congestion control algorithm
\ Run keyword ${dut}.Add session enable
And Apply startup configuration on all VPP DUTs
When Initialize layer driver ${nic_driver}
And Initialize layer interface
And Set up LDP or VCL Nginx on DUT node ${dut1} ${mode} ${rps_cps} ${phy_cores} ${qat} ${tls_tcp}
And Additional Suite Setup Action For ab
Then Measure TLS requests or connections per second ${ciphers} ${frame_size} ${tls_tcp} ${rps_cps}
7.4.11.2. 0B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps¶
frame_size=${0} phy_cores=${1}
7.4.11.3. 0B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps¶
frame_size=${0} phy_cores=${2}
7.4.11.4. 64B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps¶
frame_size=${64} phy_cores=${1}
7.4.11.5. 64B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps¶
frame_size=${64} phy_cores=${2}
7.4.11.6. 1024B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps¶
frame_size=${1024} phy_cores=${1}
7.4.11.7. 1024B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps¶
frame_size=${1024} phy_cores=${2}
7.4.11.8. 2048B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps¶
frame_size=${2048} phy_cores=${1}
7.4.11.9. 2048B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps¶
frame_size=${2048} phy_cores=${2}
7.4.12. 2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps suite¶
TCP requests per seconds. [Top] Network Topologies: TG-DUT-TG 2-node topologywith single link between nodes. [Enc] Packet Encapsulations: Eth-IPv4-TCP-HTTP for TCP [Cfg] DUT configuration: [Ver] TG verification: [Ref] Applicable standard specifications:
# Copyright (c) 2021 Intel and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/hoststack/hoststack.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
| ... | LDP_NGINX | TCP | NIC_Intel-X710 | DRV_VFIO_PCI
| ... | TCP_RPS | eth-ip4tcphttp-ldpreload-nginx-1_14_2
|
| Suite Setup | Setup suite topology interfaces | ab | nginx
| Suite Teardown | Tear down suite | ab
| Test Setup | Setup test
| Test Teardown | Tear down test | nginx
|
| Test Template | Local Template
|
|
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${nic_name}= | Intel-X710
| ${crypto_type}= | ${None}
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${overhead}= | ${0}
| ${ciphers}= | 0
| ${rps_cps}= | rps
| ${qat}= | ${0}
| ${r_total}= | ${1000000}
| ${c_total}= | ${2000}
| ${listen_port}= | ${80}
| ${mode}= | ldp
| ${tls_tcp}= | tcp
| ${keep_time}= | 300
| ${ab_ip_prefix}= | 24
| @{ab_ip_addrs}= | 192.168.10.2
| ${dut_ip_prefix}= | 24
| @{dut_ip_addrs}= | 192.168.10.1
| ${nginx_version}= | 1.14.2
7.4.12.1. Local template¶
Set Test Variable \${frame_size}
Set Test Variable ${dpdk_no_tx_checksum_offload} ${False}
Given Set Max Rate And Jumbo
And Add worker threads to all DUTs ${phy_cores} ${rxq}
And Pre-initialize layer driver ${nic_driver}
FOR ${dut} IN @{duts}
\ Import Library resources.libraries.python.VppConfigGenerator WITH NAME ${dut}
\ Run keyword ${dut}.Add Session Event Queues Memfd Segment
\ Run keyword ${dut}.Add tcp congestion control algorithm
\ Run keyword ${dut}.Add session enable
And Apply startup configuration on all VPP DUTs
When Initialize layer driver ${nic_driver}
And Initialize layer interface
And Set up LDP or VCL Nginx on DUT node ${dut1} ${mode} ${rps_cps} ${phy_cores} ${qat} ${tls_tcp}
And Additional Suite Setup Action For ab
Then Measure TLS requests or connections per second ${ciphers} ${frame_size} ${tls_tcp} ${rps_cps}
7.4.12.2. 0B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps¶
frame_size=${0} phy_cores=${1}
7.4.12.3. 0B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps¶
frame_size=${0} phy_cores=${2}
7.4.12.4. 64B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps¶
frame_size=${64} phy_cores=${1}
7.4.12.5. 64B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps¶
frame_size=${64} phy_cores=${2}
7.4.12.6. 1024B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps¶
frame_size=${1024} phy_cores=${1}
7.4.12.7. 1024B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps¶
frame_size=${1024} phy_cores=${2}
7.4.12.8. 2048B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps¶
frame_size=${2048} phy_cores=${1}
7.4.12.9. 2048B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps¶
frame_size=${2048} phy_cores=${2}
7.4.13. 2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps suite¶
TCP requests per seconds. [Top] Network Topologies: TG-DUT-TG 2-node topologywith single link between nodes. [Enc] Packet Encapsulations: Eth-IPv4-TCP-HTTP for TCP [Cfg] DUT configuration: [Ver] TG verification: [Ref] Applicable standard specifications:
# Copyright (c) 2021 Intel and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/hoststack/hoststack.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
| ... | LDP_NGINX | TCP | NIC_Intel-X710 | DRV_VFIO_PCI
| ... | TCP_CPS | eth-ip4tcphttp-ldpreload-nginx-1_15_0
|
| Suite Setup | Setup suite topology interfaces | ab | nginx
| Suite Teardown | Tear down suite | ab
| Test Setup | Setup test
| Test Teardown | Tear down test | nginx
|
| Test Template | Local Template
|
|
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${nic_name}= | Intel-X710
| ${crypto_type}= | ${None}
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${overhead}= | ${0}
| ${ciphers}= | 0
| ${rps_cps}= | cps
| ${qat}= | ${0}
| ${r_total}= | ${1000000}
| ${c_total}= | ${2000}
| ${listen_port}= | ${80}
| ${mode}= | ldp
| ${tls_tcp}= | tcp
| ${keep_time}= | 0
| ${ab_ip_prefix}= | 24
| @{ab_ip_addrs}= | 192.168.10.2
| ${dut_ip_prefix}= | 24
| @{dut_ip_addrs}= | 192.168.10.1
| ${nginx_version}= | 1.15.0
7.4.13.1. Local template¶
Set Test Variable \${frame_size}
Set Test Variable ${dpdk_no_tx_checksum_offload} ${False}
Given Set Max Rate And Jumbo
And Add worker threads to all DUTs ${phy_cores} ${rxq}
And Pre-initialize layer driver ${nic_driver}
FOR ${dut} IN @{duts}
\ Import Library resources.libraries.python.VppConfigGenerator WITH NAME ${dut}
\ Run keyword ${dut}.Add Session Event Queues Memfd Segment
\ Run keyword ${dut}.Add tcp congestion control algorithm
\ Run keyword ${dut}.Add session enable
And Apply startup configuration on all VPP DUTs
When Initialize layer driver ${nic_driver}
And Initialize layer interface
And Set up LDP or VCL Nginx on DUT node ${dut1} ${mode} ${rps_cps} ${phy_cores} ${qat} ${tls_tcp}
And Additional Suite Setup Action For ab
Then Measure TLS requests or connections per second ${ciphers} ${frame_size} ${tls_tcp} ${rps_cps}
7.4.13.2. 0B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps¶
frame_size=${0} phy_cores=${1}
7.4.13.3. 0B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps¶
frame_size=${0} phy_cores=${2}
7.4.13.4. 64B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps¶
frame_size=${64} phy_cores=${1}
7.4.13.5. 64B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps¶
frame_size=${64} phy_cores=${2}
7.4.13.6. 1024B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps¶
frame_size=${1024} phy_cores=${1}
7.4.13.7. 1024B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps¶
frame_size=${1024} phy_cores=${2}
7.4.13.8. 2048B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps¶
frame_size=${2048} phy_cores=${1}
7.4.13.9. 2048B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps¶
frame_size=${2048} phy_cores=${2}
7.4.14. 2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps suite¶
TCP requests per seconds. [Top] Network Topologies: TG-DUT-TG 2-node topologywith single link between nodes. [Enc] Packet Encapsulations: Eth-IPv4-TCP-HTTP for TCP [Cfg] DUT configuration: [Ver] TG verification: [Ref] Applicable standard specifications:
# Copyright (c) 2021 Intel and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/hoststack/hoststack.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
| ... | LDP_NGINX | TCP | NIC_Intel-X710 | DRV_VFIO_PCI
| ... | TCP_RPS | eth-ip4tcphttp-ldpreload-nginx-1_15_0
|
| Suite Setup | Setup suite topology interfaces | ab | nginx
| Suite Teardown | Tear down suite | ab
| Test Setup | Setup test
| Test Teardown | Tear down test | nginx
|
| Test Template | Local Template
|
|
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${nic_name}= | Intel-X710
| ${crypto_type}= | ${None}
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${overhead}= | ${0}
| ${ciphers}= | 0
| ${rps_cps}= | rps
| ${qat}= | ${0}
| ${r_total}= | ${1000000}
| ${c_total}= | ${2000}
| ${listen_port}= | ${80}
| ${mode}= | ldp
| ${tls_tcp}= | tcp
| ${keep_time}= | 300
| ${ab_ip_prefix}= | 24
| @{ab_ip_addrs}= | 192.168.10.2
| ${dut_ip_prefix}= | 24
| @{dut_ip_addrs}= | 192.168.10.1
| ${nginx_version}= | 1.15.0
7.4.14.1. Local template¶
Set Test Variable \${frame_size}
Set Test Variable ${dpdk_no_tx_checksum_offload} ${False}
Given Set Max Rate And Jumbo
And Add worker threads to all DUTs ${phy_cores} ${rxq}
And Pre-initialize layer driver ${nic_driver}
FOR ${dut} IN @{duts}
\ Import Library resources.libraries.python.VppConfigGenerator WITH NAME ${dut}
\ Run keyword ${dut}.Add Session Event Queues Memfd Segment
\ Run keyword ${dut}.Add tcp congestion control algorithm
\ Run keyword ${dut}.Add session enable
And Apply startup configuration on all VPP DUTs
When Initialize layer driver ${nic_driver}
And Initialize layer interface
And Set up LDP or VCL Nginx on DUT node ${dut1} ${mode} ${rps_cps} ${phy_cores} ${qat} ${tls_tcp}
And Additional Suite Setup Action For ab
Then Measure TLS requests or connections per second ${ciphers} ${frame_size} ${tls_tcp} ${rps_cps}
7.4.14.2. 0B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps¶
frame_size=${0} phy_cores=${1}
7.4.14.3. 0B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps¶
frame_size=${0} phy_cores=${2}
7.4.14.4. 64B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps¶
frame_size=${64} phy_cores=${1}
7.4.14.5. 64B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps¶
frame_size=${64} phy_cores=${2}
7.4.14.6. 1024B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps¶
frame_size=${1024} phy_cores=${1}
7.4.14.7. 1024B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps¶
frame_size=${1024} phy_cores=${2}
7.4.14.8. 2048B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps¶
frame_size=${2048} phy_cores=${1}
7.4.14.9. 2048B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps¶
frame_size=${2048} phy_cores=${2}