CSIT/PerfTestPlan
From fd.io
Contents
CSIT Jenkins Jobs for Performance Tests
- task: verify vpp code changes as they come - performance short tests
- job: vpp-csit-verify-perf-short
- triggers: "verify-perf-short" patch comment
- vpp code: vpp master branch PLUS gerrit change under test
- csit code: csit-verified-tag
- testbed: LF HW compute nodes - hw-tb1,tb2,tb3
- status: WORKING
- task: verify vpp code changes as they come - performance long tests
- job: vpp-csit-verify-perf-long
- triggers: "verify-perf-long" patch comment
- vpp code: vpp master branch PLUS gerrit change under test
- csit code: csit-verified-tag
- testbed: LF HW compute nodes - hw-tb1,tb2,tb3
- status: WORKING
- task: verify vpp code changes as they come - performance all tests
- job: vpp-csit-verify-perf-all
- triggers: "verify-perf-all" patch comment
- vpp code: vpp master branch PLUS gerrit change under test
- csit code: csit-verified-tag
- testbed: LF HW compute nodes - hw-tb1,tb2,tb3
- status: WORKING
- task: verify csit code changes as they come - performance tests
- job: csit-vpp-perf-hw-all
- triggers: gerrit change commit, "recheck" patch comment
- vpp code: vpp-master-verified vpp build
- csit code: csit master branch PLUS gerrit change
- testbed: LF HW compute nodes - hw-tb1,tb2,tb3
- status: WORKING
Performance Test Cases - Working
- All 3 LF physical testbeds are all live - hw-tb1,tb2,tb3.
- Performance test cases - 56 working in FD.io physical testbeds today.
- List of working performance test cases
- ~/csit$ grep "^| [a-zA-Z1-9]" -nr tests | grep -vi " | " | sort | grep performance
- tests/suites/performance/long_bridge_domain.robot:114:| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 9000B frames through bridge domain in 3-node topology
- tests/suites/performance/long_bridge_domain.robot:131:| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 64B frames through bridge domain in 3-node topology
- tests/suites/performance/long_bridge_domain.robot:148:| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 1518B frames through bridge domain in 3-node topology
- tests/suites/performance/long_bridge_domain.robot:165:| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through bridge domain in 3-node topology
- tests/suites/performance/long_bridge_domain.robot:31:| Find NDR by using RFC2544 linear search and 64B frames through bridge domain in 3-node topology
- tests/suites/performance/long_bridge_domain.robot:47:| Find NDR by using RFC2544 linear search and 1518B frames through bridge domain in 3-node topology
- tests/suites/performance/long_bridge_domain.robot:64:| Find NDR by using RFC2544 linear search and 9000B frames through bridge domain in 3-node topology
- tests/suites/performance/long_bridge_domain.robot:81:| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 64B frames through bridge domain in 3-node topology
- tests/suites/performance/long_bridge_domain.robot:97:| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 1518B frames through bridge domain in 3-node topology
- tests/suites/performance/long_ipv4.robot:101:| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 1518B frames through IPv4 forwarding in 3-node topology
- tests/suites/performance/long_ipv4.robot:118:| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 9000B frames through IPv4 forwarding in 3-node topology
- tests/suites/performance/long_ipv4.robot:135:| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 64B frames through IPv4 forwarding in 3-node topology
- tests/suites/performance/long_ipv4.robot:152:| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 1518B frames through IPv4 forwarding in 3-node topology
- tests/suites/performance/long_ipv4.robot:169:| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through IPv4 forwarding in 3-node topology
- tests/suites/performance/long_ipv4.robot:186:| Find NDR with 2 cores by using RFC2544 binary search and 64B frames through IPv4 forwarding in 3-node topology
- tests/suites/performance/long_ipv4.robot:204:| Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 64B frames through IPv4 forwarding in 3-node topology
- tests/suites/performance/long_ipv4.robot:35:| Find NDR by using RFC2544 linear search and 64B frames through IPv4 forwarding in 3-node topology
- tests/suites/performance/long_ipv4.robot:51:| Find NDR by using RFC2544 linear search and 1518B frames through IPv4 forwarding in 3-node topology
- tests/suites/performance/long_ipv4.robot:68:| Find NDR by using RFC2544 linear search and 9000B frames through IPv4 forwarding in 3-node topology
- tests/suites/performance/long_ipv4.robot:85:| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 64B frames through IPv4 forwarding in 3-node topology
- tests/suites/performance/long_xconnect.robot:113:| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 9000B frames through L2 cross connect in 3-node topology
- tests/suites/performance/long_xconnect.robot:130:| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 64B frames through L2 cross connect in 3-node topology
- tests/suites/performance/long_xconnect.robot:147:| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 1518B frames through L2 cross connect in 3-node topology
- tests/suites/performance/long_xconnect.robot:164:| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through L2 cross connect in 3-node topology
- tests/suites/performance/long_xconnect.robot:32:| Find NDR by using RFC2544 linear search and 64B frames through L2 cross connect in 3-node topology
- tests/suites/performance/long_xconnect.robot:48:| Find NDR by using RFC2544 linear search and 1518B frames through L2 cross connect in 3-node topology
- tests/suites/performance/long_xconnect.robot:64:| Find NDR by using RFC2544 linear search and 9000B frames through L2 cross connect in 3-node topology
- tests/suites/performance/long_xconnect.robot:80:| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 64B frames through L2 cross connect in 3-node topology
- tests/suites/performance/long_xconnect.robot:96:| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 1518B frames through L2 cross connect in 3-node topology
- tests/suites/performance/short_bridge_domain.robot:103:| 4core VPP with rss 2 passes 64B frames through bridge domain at 2x 7.9Mpps in 3-node topology
- tests/suites/performance/short_bridge_domain.robot:116:| 4core VPP with rss 2 passes 1518B frames through bridge domain at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_bridge_domain.robot:129:| 4core VPP with rss 2 passes 9000B frames through bridge domain at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_bridge_domain.robot:25:| 1core VPP passes 64B frames through bridge domain at 2x 3.2Mpps in 3-node topology
- tests/suites/performance/short_bridge_domain.robot:38:| 1core VPP passes 1518B frames through bridge domain at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_bridge_domain.robot:51:| 1core VPP passes 9000B frames through bridge domain at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_bridge_domain.robot:64:| 2core VPP with rss 1 passes 64B frames through bridge domain at 2x 6.9Mpps in 3-node topology
- tests/suites/performance/short_bridge_domain.robot:77:| 2core VPP with rss 1 passes 1518B frames through bridge domain at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_bridge_domain.robot:90:| 2core VPP with rss 1 passes 9000B frames through bridge domain at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_ipv4.robot:107:| 4core VPP with rss 2 passes 64B frames through IPv4 forwarding at 2x 7.8Mpps in 3-node topology
- tests/suites/performance/short_ipv4.robot:120:| 4core VPP with rss 2 passes 1518B frames through IPv4 forwarding at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_ipv4.robot:133:| 4core VPP with rss 2 passes 9000B frames through IPv4 forwarding at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_ipv4.robot:29:| 1core VPP passes 64B frames through IPv4 forwarding at 2x 3.5Mpps in 3-node topology
- tests/suites/performance/short_ipv4.robot:42:| 1core VPP passes 1518B frames through IPv4 forwarding at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_ipv4.robot:55:| 1core VPP passes 9000B frames through IPv4 forwarding at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_ipv4.robot:68:| 2core VPP with rss 1 passes 64B frames through IPv4 forwarding at 2x 7.5Mpps in 3-node topology
- tests/suites/performance/short_ipv4.robot:81:| 2core VPP with rss 1 passes 1518B frames through IPv4 forwarding at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_ipv4.robot:94:| 2core VPP with rss 1 passes 9000B frames through IPv4 forwarding at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_xconnect_Intel-X520-DA2.robot:106:| 4core VPP with rss 2 passes 64B frames through L2 cross connect at 2x 9.9Mpps in 3-node topology
- tests/suites/performance/short_xconnect_Intel-X520-DA2.robot:119:| 4core VPP with rss 2 passes 1518B frames through L2 cross connect at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_xconnect_Intel-X520-DA2.robot:132:| 4core VPP with rss 2 passes 9000B frames through L2 cross connect at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_xconnect_Intel-X520-DA2.robot:28:| 1core VPP passes 64B frames through L2 cross connect at 2x 3.8Mpps in 3-node topology
- tests/suites/performance/short_xconnect_Intel-X520-DA2.robot:41:| 1core VPP passes 1518B frames through L2 cross connect at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_xconnect_Intel-X520-DA2.robot:54:| 1core VPP passes 9000B frames through L2 cross connect at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_xconnect_Intel-X520-DA2.robot:67:| 2core VPP with rss 1 passes 64B frames through L2 cross connect at 2x 8.3Mpps in 3-node topology
- tests/suites/performance/short_xconnect_Intel-X520-DA2.robot:80:| 2core VPP with rss 1 passes 1518B frames through L2 cross connect at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_xconnect_Intel-X520-DA2.robot:93:| 2core VPP with rss 1 passes 9000B frames through L2 cross connect at 2x 10Gbps in 3-node topology
Performance Test Cases - Plan and Status
For CSIT project to work and be useful, it is proposed that CSIT code and test cases development should be done in coordination with VPP Release Candidate content and release schedule. CSIT development work needs to be prioritized based on FD.io community needs and feedback, and csit-dev work distributed. To facilitate this, we compiled an initial list of proposed performance test cases that must, should, could be tested. Each csit-dev work item is prefixed with status and/or proposed priority relative to FD.io VPP release:
- [Pn-Rm] – Proposed coverage of VPP functionality by FD.io CSIT functional and performance test cases.
- Pn – CSIT development and integration priority; n=0,1,2, 0-for-MUST, 1-for-SHOULD, 2-for-COULD.
- Rm – VPP major release, R1 stands for the first FD.io VPP release, R2 for the 2nd FD.io VPP release.
- [DONE-Rm] - Done and working test cases, executed for VPP Rm code.
- [TBD] - Development work scheduling priority to-be-defined.
Plan execution tracked on CSIT jira
Current list of identified csit-dev work items:
- Long throughput benchmarks - libraries
- Long throughput benchmarks - test cases
- [DONE-R1] IPv4 baseline NonDropRate search
- [DONE-R1] linear search [rfc2544] [gerrit-ref]
- [DONE-R1] binary search [rfc2544] [gerrit-ref]
- [DONE-R1] BESTofN/WORSTofN search [gerrit-ref]
- [DONE-R1] combined binary+linear search [gerrit-ref]
- [DONE-R1] L2 NonDropRate search
- [DONE-R1] linear search [rfc2544] [gerrit-ref]
- [DONE-R1] binary search [rfc2544] [gerrit-ref]
- [DONE-R1] BESTofN/WORSTofN search [gerrit-ref]
- [DONE-R1] combined binary+linear search [gerrit-ref]
- [P0-R1] IPv6 NonDropRate search [gerrit-ref]
- [P0-R1] linear search [rfc2544] [gerrit-ref]
- [P0-R1] binary search [rfc2544] [gerrit-ref]
- [P0-R1] BESTofN/WORSTofN search [gerrit-ref]
- [P0-R1] combined binary+linear search [gerrit-ref]
- [DONE-R1] IPv4 baseline NonDropRate search
- Short throughput benchmarks - libraries
- [DONE-R1] short IPv4 throughput test against reference NDR [gerrit-ref]
- [DONE-R1] short L2 throughput test against reference NDR [gerrit-ref]
- [P0-R1] short IPv6 throughput test against reference NDR [gerrit-ref]
- Short throughput benchmarks - test cases
- [DONE-R1] short IPv4 throughput - routed-forwarding [gerrit-ref]
- [DONE-R1] short L2 throughput - bridge-domain, l2-xconnect [gerrit-ref]
- [P0-R1] short IPv6 throughput - routed-forwarding [gerrit-ref]
- 3-node physical testbed - libraries
- [DONE-R1] Create host topology files for tb2
- [P0-R1] Extend host topology with NIC type filtering
- [P0-R1] Create host topology files for tb1, tb3
- Multi-core multi-thread tests - libraries
- [DONE-R1] multicore tests gerrit
- Large-scale FIB tests - libraries
- [P1-R1] IPv4 same prefix length
- [P2-R1] IPv4 varying prefix lengths
- [P1-R1] IPv6 same prefix length
- [P2-R1] IPv6 varying prefix lengths
- [P1-R1] MAC addresses
- Packet encapsulations - test cases
- IP4 encapsulations
- [P1-R1] ip4-gre-ip4
- [P1-R2] ip4-ipsec-ip4
- IP6 encapsulations
- [P1-R1] ip4-o-ip6 softwire
- [P1-R1] lightweight46 [rfc7596]
- [P2-R1] map-e [rfc7597]
- [P2-R1] map-t [rfc7599]
- [TBD] ip6-segment-routing
- [P1-R2] ip6-ipsec-ip6
- [P1-R1] ip4-o-ip6 softwire
- L2 encapsulations
- [P0-R1] l2-vlan-dot1q
- [P2-R1] l2-vlan-dot1ad
- [P1-R1] l2-vxlan-ipv4
- [TBD] l2-eth-l2tpv3-ip4
- [TBD] l2-eth-l2tpv3-ip6
- [TBD] l2-eth-gre-ip4
- [TBD] l2-eth-gre-ip6
- VPP vNet topology baselines - libraries
- [TBD] Host stack baseline - Phy1-App-Phy2
- [TBD] Reference host user-mode app, L3FWD-xconnect, DPDK driver per NIC type
- [TBD] Host stack VPP baseline - Phy1-VPP-Phy2
- [TBD] Host VPP IPv4 baseline config, DPDK driver per NIC type
- [TBD] Guest stack baseline - Phy1-pcipt-AppVM-pcipt-Phy2
- [TBD] Reference guest user-mode app, L3FWD-xconnect, DPDK driver per NIC type
- [TBD] Guest stack VPP baseline - Phy1-pcipt-VPPVM-pcipt-Phy2
- [TBD] VPP IPv4 baseline config, DPDK driver per NIC type
- [TBD] Host and guest stack baseline - Phy1-VPP-AppVM-VPP-Phy2
- [TBD] VPP IPv4 baseline config, vhost-user to AppVM
- [TBD] Host stack baseline - Phy1-App-Phy2
- vNet VPP topologies - libraries
- [DONE-R1] Phy1-VPP-Phy2
- [P0-R1] Phy1-VPP-VM-VPP-Phy2
- Traffic generator drivers
- [DONE-R1] T-Rex
- [DONE-R1] T-Rex driver
- [TBD] TRex support for packet delay and packet delay variation (T-REX support to be confirmed)
- [TBD] IXIA IxNetwork driver
- [TBD] driver design
- [TBD] driver implementation
- [TBD] test case setup, teardown
- [TBD] traffic stream configuration
- [TBD] statistics retrieval
- [TBD] latency measurements
- [TBD] feasibility
- [TBD] implementation
- [TBD] integration with CSIT tests
- [TBD] Moongen driver
- [TBD] verify requirements and available HW against latest MoonGen codebase
- [TBD] CSIT integration
- [DONE-R1] T-Rex
- Other work items
- [TBD] integrate Python sysinfosuite to CSIT
- [TBD] unified performance trend dashboard