4 DPDK performance test results are reported for all physical testbed types
5 present in FD.io labs and installed NIC models. For description of physical
6 testbeds used for DPDK performance tests please refer to
7 :ref:`tested_physical_topologies`.
12 CSIT DPDK performance tests are executed on physical testbeds described
13 in :ref:`tested_physical_topologies`. Based on the packet path through
14 server SUTs, one distinct logical topology type is used for DPDK DUT
15 data plane testing: NIC-to-NIC switching topology.
20 The simplest logical topology for software data plane application like
21 DPDK is NIC-to-NIC switching. Tested topologies for 2-Node and 3-Node
22 testbeds are shown in figures below.
30 \graphicspath{{../_tmp/src/vpp_performance_tests/}}
31 \includegraphics[width=0.90\textwidth]{logical-2n-nic2nic}
32 \label{fig:logical-2n-nic2nic}
37 .. figure:: ../vpp_performance_tests/logical-2n-nic2nic.svg
38 :alt: logical-2n-nic2nic
48 \graphicspath{{../_tmp/src/vpp_performance_tests/}}
49 \includegraphics[width=0.90\textwidth]{logical-3n-nic2nic}
50 \label{fig:logical-3n-nic2nic}
55 .. figure:: ../vpp_performance_tests/logical-3n-nic2nic.svg
56 :alt: logical-3n-nic2nic
59 Server Systems Under Test (SUT) run DPDK Testpmd or L3fwd application in
60 Linux user-mode as a Device Under Test (DUT). Server Traffic Generator
61 (TG) runs T-Rex application. Physical connectivity between SUTs and TG
62 is provided using different drivers and NIC models that need to be
63 tested for performance (packet/bandwidth throughput and latency).
65 From SUT and DUT perspectives, all performance tests involve forwarding
66 packets between two physical Ethernet ports (10GE, 25GE, 40GE, 100GE).
67 In most cases both physical ports on SUT are located on the same
68 NIC. The only exceptions are link bonding and 100GE tests. In the latter
69 case only one port per NIC can be driven at linerate due to PCIe Gen3
70 x16 slot bandwidth limiations. 100GE NICs are not supported in PCIe Gen3
73 Note that reported DPDK DUT performance results are specific to the SUTs
74 tested. SUTs with other processors than the ones used in FD.io lab are
75 likely to yield different results. A good rule of thumb, that can be
76 applied to estimate DPDK packet thoughput for NIC-to-NIC switching
77 topology, is to expect the forwarding performance to be proportional to
78 processor core frequency for the same processor architecture, assuming
79 processor is the only limiting factor and all other SUT parameters are
80 equivalent to FD.io CSIT environment.
82 Performance Tests Coverage
83 --------------------------
85 Performance tests measure following metrics for tested DPDK DUT
86 topologies and configurations:
88 - Packet Throughput: measured in accordance with :rfc:`2544`, using
89 FD.io CSIT Multiple Loss Ratio search (MLRsearch), an optimized binary
90 search algorithm, producing throughput at different Packet Loss Ratio
93 - Non Drop Rate (NDR): packet throughput at PLR=0%.
94 - Partial Drop Rate (PDR): packet throughput at PLR=0.5%.
96 - One-Way Packet Latency: measured at different offered packet loads:
98 - 100% of discovered NDR throughput.
99 - 100% of discovered PDR throughput.
101 - Maximum Receive Rate (MRR): measured packet forwarding rate under the
102 maximum load offered by traffic generator over a set trial duration,
103 regardless of packet loss. Maximum load for specified Ethernet frame
104 size is set to the bi-directional link rate.
106 |csit-release| includes following DPDK Testpmd and L3fwd data plane
107 functionality performance tested across a range of NIC drivers and NIC
110 +-----------------------+----------------------------------------------+
111 | Functionality | Description |
112 +=======================+==============================================+
113 | L2IntLoop | L2 Interface Loop forwarding all Ethernet |
114 | | frames between two Interfaces. |
115 +-----------------------+----------------------------------------------+
116 | IPv4 Routed | Longest Prefix Match (LPM) L3 IPv4 |
117 | Forwarding | forwarding of Ethernet frames between two |
118 | | Interfaces, with two /8 prefixes in lookup |
120 +-----------------------+----------------------------------------------+