5. DPDK Performance Tests

5.1. 10ge2p1x710-eth-l2xcbase-testpmd-ndrpdr suite

Raw results L2 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 frame forwarding. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK testpmdapplication and use the io forwarding mode. DUT1 and DUT2 tested with${nic_name}.[Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) withall packets containing Ethernet header,IPv4 header with static payload.MAC addresses are matching MAC addresses of the TG node interfaces.

# Copyright (c) 2019 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 ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | NDRPDR | 1NUMA
| ... | NIC_Intel-X710 | DPDK | ETH | L2XCFWD | BASE
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L2 | ${nic_name}
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

5.1.1. Local Template

[Cfg] DUT runs L2 frame forwarding config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  \${frame_size}
Set Max Rate And Jumbo
Given Start L2FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search

5.1.2. tc01-64B-1c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${64}  phy_cores=${1}

5.1.3. tc02-64B-2c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${64}  phy_cores=${2}

5.1.4. tc03-64B-4c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${64}  phy_cores=${4}

5.1.5. tc04-1518B-1c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${1518}  phy_cores=${1}

5.1.6. tc05-1518B-2c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${1518}  phy_cores=${2}

5.1.7. tc06-1518B-4c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${1518}  phy_cores=${4}

5.1.8. tc07-9000B-1c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${9000}  phy_cores=${1}

5.1.9. tc08-9000B-2c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${9000}  phy_cores=${2}

5.1.10. tc09-9000B-4c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${9000}  phy_cores=${4}

5.1.11. tc10-IMIX-1c-eth-l2xcbase-testpmd-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

5.1.12. tc11-IMIX-2c-eth-l2xcbase-testpmd-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

5.1.13. tc12-IMIX-4c-eth-l2xcbase-testpmd-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

5.2. 10ge2p1x710-ethip4-ip4base-l3fwd-ndrpdr suite

Raw results IPv4 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L3 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK l3fwd applicationDUT1 and DUT2 tested with ${nic_name}.[Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2019 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 ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | 1NUMA
| ... | NIC_Intel-X710 | DPDK | IP4FWD | BASE | ETH
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L3 | ${nic_name}
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst253_l3fwd

5.2.1. Local Template

[Cfg] DUT runs L3 IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  \${frame_size}
Set Max Rate And Jumbo
Given Start L3FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search

5.2.2. tc01-64B-1c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${64}  phy_cores=${1}

5.2.3. tc02-64B-2c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${64}  phy_cores=${2}

5.2.4. tc03-64B-4c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${64}  phy_cores=${4}

5.2.5. tc04-1518B-1c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${1518}  phy_cores=${1}

5.2.6. tc05-1518B-2c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${1518}  phy_cores=${2}

5.2.7. tc06-1518B-4c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${1518}  phy_cores=${4}

5.2.8. tc07-9000B-1c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${9000}  phy_cores=${1}

5.2.9. tc08-9000B-2c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${9000}  phy_cores=${2}

5.2.10. tc09-9000B-4c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${9000}  phy_cores=${4}

5.2.11. tc10-IMIX-1c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

5.2.12. tc11-IMIX-2c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

5.2.13. tc12-IMIX-4c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

5.3. 2n1l-10ge2p1x710-eth-l2xcbase-testpmd-ndrpdr suite

Raw results L2 routing test cases [Top] Network Topologies: TG-DUT1-TG 2-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 frame forwarding. [Cfg] DUT configuration: DUT1 run the DPDK testpmdapplication and use the io forwarding mode. DUT1 tested with${nic_name}.[Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) withall packets containing Ethernet header,IPv4 header with static payload.MAC addresses are matching MAC addresses of the TG node interfaces.

# Copyright (c) 2019 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 ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | NDRPDR | 1NUMA
| ... | NIC_Intel-X710 | DPDK | ETH | L2XCFWD | BASE
| ...
| Suite Setup | Set up DPDK 2-node performance topology with DUT's NIC model
| ... | L2 | ${nic_name}
| Suite Teardown | Tear down DPDK 2-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

5.3.1. Local Template

[Cfg] DUT runs L2 frame forwarding config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  \${frame_size}
Set Max Rate And Jumbo
Given Start L2FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search

5.3.2. tc01-64B-1c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${64}  phy_cores=${1}

5.3.3. tc02-64B-2c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${64}  phy_cores=${2}

5.3.4. tc03-64B-4c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${64}  phy_cores=${4}

5.3.5. tc04-1518B-1c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${1518}  phy_cores=${1}

5.3.6. tc05-1518B-2c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${1518}  phy_cores=${2}

5.3.7. tc06-1518B-4c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${1518}  phy_cores=${4}

5.3.8. tc07-9000B-1c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${9000}  phy_cores=${1}

5.3.9. tc08-9000B-2c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${9000}  phy_cores=${2}

5.3.10. tc09-9000B-4c-eth-l2xcbase-testpmd-ndrpdr


frame_size=${9000}  phy_cores=${4}

5.3.11. tc10-IMIX-1c-eth-l2xcbase-testpmd-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

5.3.12. tc11-IMIX-2c-eth-l2xcbase-testpmd-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

5.3.13. tc12-IMIX-4c-eth-l2xcbase-testpmd-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

5.4. 2n1l-10ge2p1x710-ethip4-ip4base-l3fwd-ndrpdr suite

Raw results IPv4 routing test cases [Top] Network Topologies: TG-DUT1-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L3 IPv4 routing. [Cfg] DUT configuration: DUT1 run the DPDK l3fwd applicationDUT1 tested with ${nic_name}.[Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance and throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch library.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2019 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 ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | 1NUMA
| ... | NIC_Intel-X710 | DPDK | IP4FWD | BASE | ETH
| ...
| Suite Setup | Set up DPDK 2-node performance topology with DUT's NIC model
| ... | L3 | ${nic_name}
| Suite Teardown | Tear down DPDK 2-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
| ${nic_name}= | Intel-X710
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst253_l3fwd

5.4.1. Local Template

[Cfg] DUT runs L3 IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  \${frame_size}
Set Max Rate And Jumbo
Given Start L3FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search

5.4.2. tc01-64B-1c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${64}  phy_cores=${1}

5.4.3. tc02-64B-2c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${64}  phy_cores=${2}

5.4.4. tc03-64B-4c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${64}  phy_cores=${4}

5.4.5. tc04-1518B-1c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${1518}  phy_cores=${1}

5.4.6. tc05-1518B-2c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${1518}  phy_cores=${2}

5.4.7. tc06-1518B-4c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${1518}  phy_cores=${4}

5.4.8. tc07-9000B-1c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${9000}  phy_cores=${1}

5.4.9. tc08-9000B-2c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${9000}  phy_cores=${2}

5.4.10. tc09-9000B-4c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=${9000}  phy_cores=${4}

5.4.11. tc10-IMIX-1c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

5.4.12. tc11-IMIX-2c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

5.4.13. tc12-IMIX-4c-ethip4-ip4base-l3fwd-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}