X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=docs%2Freport%2Fvpp_performance_tests%2Fcsit_release_notes.rst;h=377bd30d3fc957a47f9d43d561ee2928e6850a4e;hp=782fa42840ebd96e22ca2424ccea0b8896de4dc9;hb=0189b942c60c000917639178f390fdc3bbcd574d;hpb=912acb80b6607a6b904242a0ec695c874580bd02 diff --git a/docs/report/vpp_performance_tests/csit_release_notes.rst b/docs/report/vpp_performance_tests/csit_release_notes.rst index 782fa42840..52ce2ef09e 100644 --- a/docs/report/vpp_performance_tests/csit_release_notes.rst +++ b/docs/report/vpp_performance_tests/csit_release_notes.rst @@ -1,181 +1,164 @@ -CSIT Release Notes -================== - -Changes in CSIT |release| -------------------------- - -#. Test environment changes in VPP data plane performance tests: - - - Further characterization and optimizations of VPP vhost-user and VM - test methodology and test environment; - - - Tests with varying Qemu virtio queue (a.k.a. vring) sizes: - [vr256] default 256 descriptors, [vr1024] 1024 descriptors to - optimize for packet throughput; - - - Tests with varying Linux CFS (Completely Fair Scheduler) - settings: [cfs] default settings, [cfsrr1] CFS RoundRobin(1) - policy applied to all data plane threads handling test packet - path including all VPP worker threads and all Qemu testpmd - poll-mode threads; - - - Resulting test cases are all combinations with [vr256,vr1024] and - [cfs,cfsrr1] settings; - - - For more detail see performance results observations section in - this report; - -#. Code updates and optimizations in CSIT performance framework: - - - Complete CSIT framework code revision and optimizations as descried - on CSIT wiki page - `Design_Optimizations `_. - - - For more detail see the CSIT Framework Design section in this - report; - -#. Changes to CSIT driver for TRex Traffic Generator: - - - Complete refactor of TRex CSIT driver; - - - Introduction of packet traffic profiles to improve usability and - manageability of traffic profiles for a growing number of test - scenarios. - - - Support for packet traffic profiles to test IPv4/IPv6 stateful and - stateless DUT data plane features; - -#. Added VPP performance tests - - - **Linux Container VPP memif virtual interface tests** - - - VPP Memif virtual interface (shared memory interface) tests - interconnecting VPP instances over memif. VPP vswitch - instance runs in bare-metal user-mode handling Intel x520 NIC - 10GbE interfaces and connecting over memif (Master side) virtual - interfaces to another instance of VPP running in bare-metal Linux - Container (LXC) with memif virtual interfaces (Slave side). LXC - runs in a priviliged mode with VPP data plane worker threads - pinned to dedicated physical CPU cores per usual CSIT practice. - Both VPP run the same version of software. This test topology is - equivalent to existing tests with vhost-user and VMs. - - - **Stateful Security Groups** - - - New tests of VPP stateful security-groups a.k.a. acl-plugin - functionally compatible with networking-vpp OpenStack; - - - New tested security-groups access-control-lists (acl) - configuration variants include: [iaclNsl] input acl stateless, - [oaclNsl] output acl stateless, [iaclNsf] input acl stateful - a.k.a. reflect, [oaclNsf] output acl stateful a.k.a. reflect, - where N is number of access-control-entries (ace) in the acl. - - - Testing packet flows transmitted by TG: 100, 10k, 100k, always - hitting the last permit entry in acl. - - - **VPP vhost and VM tests** - - - New VPP vhost-user and VM test cases to benchmark performance of - VPP and VM topologies with Qemu and CFS policy combinations of - [vr256,vr1024] x [cfs,cfsrr1]; - - - Statistical analysis of repeatibility of results; - -Performance Improvements ------------------------- - -Substantial improvements in measured packet throughput have been -observed in a number of CSIT |release| tests listed below, with relative -increase of double-digit percentage points. Relative improvements for -this release are calculated against the test results listed in CSIT -|release-1| report. The comparison is calculated between the mean values -based on collected and archived test results' samples for involved VPP -releases. Standard deviation has been also listed for CSIT |release|. -VPP-16.09 and VPP-17.01 numbers are provided for reference. - -NDR Throughput -~~~~~~~~~~~~~~ - -Non-Drop Rate Throughput discovery tests: - -.. csv-table:: - :align: center - :header-rows: 1 - :file: ../../../docs/report/vpp_performance_tests/performance_improvements/ndr_throughput.csv - -PDR Throughput -~~~~~~~~~~~~~~ - -Partial Drop Rate thoughput discovery tests with packet Loss Tolerance of 0.5%: - -.. csv-table:: - :align: center - :header-rows: 1 - :file: ../../../docs/report/vpp_performance_tests/performance_improvements/pdr_throughput.csv - -Measured improvements are in line with VPP code optimizations listed in -`VPP-17.07 release notes -`_. - -Other Performance Changes -------------------------- - -Other changes in measured packet throughput, with either minor relative -increase or decrease, have been observed in a number of CSIT |release| -tests listed below. Relative changes are calculated against the test -results listed in CSIT |release-1| report. - -NDR Throughput -~~~~~~~~~~~~~~ - -Non-Drop Rate Throughput discovery tests: - -.. csv-table:: - :align: center - :header-rows: 1 - :file: ../../../docs/report/vpp_performance_tests/performance_improvements/ndr_throughput_others.csv - -PDR Throughput -~~~~~~~~~~~~~~ - -Partial Drop Rate thoughput discovery tests with packet Loss Tolerance of 0.5%: - -.. csv-table:: - :align: center - :header-rows: 1 - :file: ../../../docs/report/vpp_performance_tests/performance_improvements/pdr_throughput_others.csv - - -Known Issues ------------- - -Here is the list of known issues in CSIT |release| for VPP performance tests: - -+---+-------------------------------------------------+------------+-----------------------------------------------------------------+ -| # | Issue | Jira ID | Description | -+---+-------------------------------------------------+------------+-----------------------------------------------------------------+ -| 1 | Security-groups acl-plugin scale tests failure | CSIT-xxx | VPP with 2 worker threads crashes during security-groups | -| | with stateful acls if VPP with 2 worker threads | VPP-912 | iaclNsf and oaclNsf tests with 100k flows. | -+---+-------------------------------------------------+------------+-----------------------------------------------------------------+ -| 2 | VPP fails memif tests in 4 worker 2 core setup | CSIT-xxx | VPP with 4 worker threads running on 2 physical cores crashes | -| | | VPP-xxx | during memif tests. Initial debugging points to DPDK code | -+---+-------------------------------------------------+------------+-----------------------------------------------------------------+ -| X | NDR discovery test failures 1518B frame size | VPP-663 | VPP reporting errors: dpdk-input Rx ip checksum errors. | -| | for ip4scale200k, ip4scale2m scale IPv4 routed- | | Observed frequency: all test runs. | -| | forwarding tests. ip4scale20k tests are fine. | | | -+---+-------------------------------------------------+------------+-----------------------------------------------------------------+ -| X | Vic1385 and Vic1227 low performance. | VPP-664 | Low NDR performance. | -| | | | | -+---+-------------------------------------------------+------------+-----------------------------------------------------------------+ -| X | Sporadic NDR discovery test failures on x520. | CSIT-750 | Suspected issue with HW settings (BIOS, FW) in LF | -| | | | infrastructure. Issue can't be replicated outside LF. | -+---+-------------------------------------------------+------------+-----------------------------------------------------------------+ -| X | VPP in 2t2c setups - large variation | CSIT-568 | Suspected NIC firmware or DPDK driver issue affecting NDR | -| | of discovered NDR throughput values across | | throughput. Applies to XL710 and X710 NICs, x520 NICs are fine. | -| | multiple test runs with xl710 and x710 NICs. | | | -+---+-------------------------------------------------+------------+-----------------------------------------------------------------+ -| X | Lower than expected NDR and PDR throughput with | CSIT-569 | Suspected NIC firmware or DPDK driver issue affecting NDR and | -| | xl710 and x710 NICs, compared to x520 NICs. | | PDR throughput. Applies to XL710 and X710 NICs. | -+---+-------------------------------------------------+------------+-----------------------------------------------------------------+ - +.. _vpp_performance_tests_release_notes: + +Release Notes +============= + +Changes in |csit-release| +------------------------- + +#. VPP PERFORMANCE TESTS + + - **Regressions with DPDK drivers**: Change from DPDK v21.08 to DPDK + v21.11 introduced regression across all tests using dpdk + drivers (with dpdk_plugin loaded). Compared to previous VPP + release performance drop varies in the range of -15% to -6%, + depending on test. It is related to updated MTU checks within + DPDK code and associated VPP code changes. See + `VPP v2202 release notes `_ + and :ref:`vpp_known_issues`. + + - **Number of CSIT 9000B frame tests failing**: tests with higher + encapsulation overhead are failing due to exceeding default + Ethernet Maximum Frame Size value that has been reduced by MTU + related VPP code changes. See + `VPP v2202 release notes `_ + and :ref:`vpp_known_issues`. + + - **Intel Xeon Ice Lake**: Performance test data for these platforms + is now provided by testbeds newly installed in FD.io CSIT labs. + For details about the physical setup see + :ref:`physical_testbeds_2n_icx` and + :ref:`physical_testbeds_3n_icx`. + + - **Reduction of tests**: Removed certain test variations executed + iteratively for the report (as well as in daily and weekly + trending) due to physical testbeds overload. + +#. TEST FRAMEWORK + + - **CSIT test environment** version has been updated to ver. 9, see + :ref:`test_environment_versioning`. + + - **CSIT PAPI support**: Due to issues with PAPI performance, and + deprecation of VAT, VPP CLI is used in CSIT for many VPP scale + tests. See :ref:`vpp_known_issues`. + + - **General Code Housekeeping**: Ongoing code optimizations and bug + fixes. + +#. PRESENTATION AND ANALYTICS LAYER + + - **Graphs improvements**: Updated Packet Latency graphs, + see :ref:`latency_methodology`. + +.. raw:: latex + + \clearpage + +.. _vpp_known_issues: + +Known Issues +------------ + +New +___ + ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| # | JiraID | Issue Description | ++====+=========================================+===========================================================================================================+ +| 1 | `CSIT-1799 | All NAT44-ED 16M scale tests fail while setting NAT44 address range. | +| | `_ | | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 2 | `CSIT-1800 | All Geneve L3 mode scale tests (1024 tunnels) are failing. | +| | `_ | | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 3 | `CSIT-1801 | 9000B payload frames not forwarded over tunnels due to violating supported Max Frame Size (VxLAN, LISP, | +| | `_ | SRv6). | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 4 | `CSIT-1808 | All tests with 9000B payload frames not forwarded over memif interfaces. | +| | `_ | | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 5 | `CSIT-1809 | All tests with 9000B payload frames not forwarded over vhostuser interfaces. | +| | `_ | | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 6 | `CSIT-1802 | AF-XDP - NDR tests failing from time to time. | +| | `_ | | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 7 | `CSIT-1803 | 3n-icx testbeds (Icelake): all IMIX aes128cbc-hmac512sha tests are failing due to excessive packet loss. | +| | `_ | | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 8 | `CSIT-1804 | 3n-tsh testbed (Taishan): NDR tests failing from time to time. | +| | `_ | | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 9 | `CSIT-1805 | 3n-skx testbeds (Skylake): all hoststack quic vppecho scale tests are failing. | +| | `_ | | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 10 | `CSIT-1806 | 3n-skx testbeds (Skylake): all LISP ip6-ip6 tests are failing due to 100% drops in one direction. | +| | `_ | | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 11 | `CSIT-1810 | DPDK - performance regression with DPDK driver when Max Frame Size is set to less than 2023. | +| | `_ | | +| +-----------------------------------------+ | +| | `VPP-1876 | Worse performance with DPDK driver when MTU is set to 2022 or less. | +| | `_ | | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ + + +Previous +________ + +Issues reported in previous releases which still affect the current results. + ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| # | JiraID | Issue Description | ++====+=========================================+===========================================================================================================+ +| 3 | `CSIT-1782 | Multicore AVF tests are failing when trying to create interface. | +| | `_ | Frequency is reduced by CSIT workaround, but occasional failures do still happen. | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 4 | `CSIT-1671 | All CSIT scale tests can not use PAPI due to much slower performance compared to VAT/CLI (it takes much | +| | `_ | longer to program VPP). This needs to be addressed on the PAPI side. | +| +-----------------------------------------+ Currently, the time critical code uses VAT running large files with exec statements and CLI commands. | +| | `VPP-1763 | Still, we needed to reduce the number of scale tests run to keep overall duration reasonable. | +| | `_ | More improvements needed to achieve sufficient configuration speed. | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 5 | `CSIT-1789 | IPSEC SW async scheduler tests show bad behavior. | +| | `_ | VPP code is not behaving correctly when crypto workers are the bottleneck. | +| +-----------------------------------------+ | +| | `VPP-1998 | | +| | `_ | | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 6 | `CSIT-1785 | NAT44ED tests failing to establish all TCP sessions. | +| | `_ | At least for max scale, in allotted time (limited by session 500s timeout) due to worse | +| +-----------------------------------------+ slow path performance than previously measured and calibrated for. | +| | `VPP-1972 | CSIT removed the max scale NAT tests to avoid this issue. | +| | `_ | | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 7 | `CSIT-1791 | Performance regression in RDMA tests, due to CSIT environment changes. | +| | `_ | Two symptoms: 1. 10-20% regression across most tests. 2. DUT performance cap just below 38 Mpps. | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ + +Fixed +_____ + +Issues reported in previous releases which were fixed in this release: + ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| # | JiraID | Issue Description | ++====+=========================================+===========================================================================================================+ +| 1 | `CSIT-1789 | AVF driver does not perform RSS in a deterministic way. | +| | `_ | VPP now uses the same RSS key with AVF driver as with DPDK driver. | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ +| 2 | `CSIT-1786 | IP4 and IP6 scale tests failing with no traffic forwarded. | +| | `_ | CSIT replaced the old single VAT command by file full of "exec" CLI commands executed by VAT. | ++----+-----------------------------------------+-----------------------------------------------------------------------------------------------------------+ + +Root Cause Analysis for Performance Changes +------------------------------------------- + +List of RCAs in |csit-release| for VPP performance changes: + ++----+-----------------------------------------+------------------------------------------------------------+ +| # | JiraID | Issue Description | ++====+=========================================+============================================================+ +| 0 | | To be updated when descriptions in Jira tickets are ready. | ++----+-----------------------------------------+------------------------------------------------------------+