CSIT/PerfTestPlan
From fd.io
Contents
FD.io IT systems integration
Three Jenkins jobs for CSIT performance test cases are in place today:
- Job name: csit-vpp-functional-hw-tb2
- Description: This job is testing csit project against performance test cases
- TODO items
- name - rename to "csit-vpp-performance-hw" or better "csit-vpp-perf-hw"
- [IN REVIEW, pmikus] gerrit
- scope - currently only tb2, need to add other testbeds: tb1, tb3
- scope - tbX reservation script and tbX scheduler code already done and tested, needs to be used
- name - rename to "csit-vpp-performance-hw" or better "csit-vpp-perf-hw"
- TODO items
- Trigger: Comment "hw-perf-check" in proposed patch in CSIT project
- TODO items
- rename to "verify-perf-all"
- [IN REVIEW, pmikus] gerrit
- consider adding later on "verify-perf-short", "verify-perf-long"
- rename to "verify-perf-all"
- TODO items
- Status: WORKING
- Description: This job is testing csit project against performance test cases
- Job name: vpp-verify-performance-long
- Description: This job is testing vpp proposed patch against long performance test cases
- Trigger: Comment "verify-perf-long" in proposed patch in VPP project
- Status: WORKING
- Job name: vpp-verify-performance-short
- Description: This job is testing vpp proposed patch against short performance test cases
- Trigger: Comment "verify-perf-short" in proposed patch in VPP project
- Status: WORKING
CSIT performance test cases - working
- Performance test cases - 30 working in FD.io physical testbeds today.
- hw-tb2 - physical testbed 2 is live.
- hw-tb1, hw-tb2 - physical testbeds 1 and 2 are being onboarded.
- Last manual run results reports:
- 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:103:| 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:25:| Find NDR by using RFC2544 linear search and 64B frames through bridge domain in 3-node topology
- tests/suites/performance/long_bridge_domain.robot:44:| 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:84:| 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_ipv4.robot:107:| 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:29:| Find NDR by using RFC2544 linear search and 64B frames through IPv4 forwarding in 3-node topology
- tests/suites/performance/long_ipv4.robot:48:| 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:88:| 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:107:| 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: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:50:| Find NDR by using RFC2544 linear search and 1518B frames through L2 cross connect in 3-node topology
- tests/suites/performance/long_xconnect.robot:69:| Find NDR by using RFC2544 linear search and 9000B frames through L2 cross connect in 3-node topology
- tests/suites/performance/long_xconnect.robot:88:| 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/short_bridge_domain.robot:25:| 1core VPP passes 64B frames through bridge domain at 2x 3.5Mpps in 3-node topology
- tests/suites/performance/short_bridge_domain.robot:41:| 1core VPP passes 1518B frames through bridge domain at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_bridge_domain.robot:57:| 1core VPP passes 9000B frames through bridge domain at 2x 10Gbps in 3-node topology
- tests/suites/performance/short_bridge_domain.robot:73:| 2core VPP with rss 1 passes 64B frames through bridge domain at 2x 7.6Mpps in 3-node topology
- tests/suites/performance/short_bridge_domain.robot:89:| 4core VPP with rss 2 passes 64B frames through bridge domain at 2x 8.6Mpps 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:45:| 1core VPP passes 1518B frames through IPv4 forwarding at 2x 10gbps in 3-node topology
- tests/suites/performance/short_ipv4.robot:61:| 1core VPP passes 9000B frames through IPv4 forwarding at 2x 10gbps in 3-node topology
- tests/suites/performance/short_ipv4.robot:77:| 2core VPP with rss 1 passes 64B frames through IPv4 forwarding at 2x 8.2mpps in 3-node topology
- tests/suites/performance/short_ipv4.robot:93:| 4core VPP with rss 2 passes 64B frames through IPv4 forwarding at 2x 9.2mpps in 3-node topology
- tests/suites/performance/short_xconnect.robot:26:| 1core VPP passes 64B frames through L2 cross connect at 2x 3.5mpps in 3-node topology
- tests/suites/performance/short_xconnect.robot:42:| 1core VPP passes 1518B frames through L2 cross connect at 2x 10gbps in 3-node topology
- tests/suites/performance/short_xconnect.robot:58:| 1core VPP passes 9000B frames through L2 cross connect at 2x 10gbps in 3-node topology
- tests/suites/performance/short_xconnect.robot:74:| 2core VPP with rss 1 passes 64B frames through L2 cross connect at 2x 11.0mpps in 3-node topology
- tests/suites/performance/short_xconnect.robot:90:| 4core VPP with rss 2 passes 64B frames through L2 cross connect at 2x 11.6mpps in 3-node topology
CSIT 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.
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