blob: 1c250206fcf2b54e6c07ab0b01ca4a5c92f6a701 [file] [log] [blame]
John DeNisco06dcd452018-07-26 12:45:10 -04001.. _performance:
2
3Performance
4===========
5
6Overview
7^^^^^^^^
8
Scott Keelerd9668e72018-09-06 07:52:59 -04009One of the benefits of FD.io VPP is high performance on relatively low-power computing, this performance is based on the following features:
John DeNisco06dcd452018-07-26 12:45:10 -040010
Scott Keelerd9668e72018-09-06 07:52:59 -040011* A high-performance user-space network stack designed for commodity hardware:
John DeNisco06dcd452018-07-26 12:45:10 -040012
13 - L2, L3 and L4 features and encapsulations.
14
Scott Keelerd9668e72018-09-06 07:52:59 -040015* Optimized packet interfaces supporting a multitude of use cases:
John DeNisco06dcd452018-07-26 12:45:10 -040016
Scott Keelerd9668e72018-09-06 07:52:59 -040017 - An integrated vhost-user backend for high speed VM-to-VM connectivity
18 - An integrated memif container backend for high speed Container-to-Container connectivity
19 - An integrated vhost based interface to punt packets to the Linux Kernel
John DeNisco06dcd452018-07-26 12:45:10 -040020
Scott Keelerd9668e72018-09-06 07:52:59 -040021* The same optimized code-paths run execute on the host, and inside VMs and Linux containers
22* Leverages best-of-breed open source driver technology: `DPDK <https://www.dpdk.org/>`_
23* Tested at scale; linear core scaling, tested with millions of flows and mac addresses
John DeNisco06dcd452018-07-26 12:45:10 -040024
25These features have been designed to take full advantage of common micro-processor optimization techniques, such as:
26
Scott Keelerd9668e72018-09-06 07:52:59 -040027* Reducing cache and TLS misses by processing packets in vectors
28* Realizing `IPC <https://en.wikipedia.org/wiki/Instructions_per_cycle>`_ gains with vector instructions such as: SSE, AVX and NEON
29* Eliminating mode switching, context switches and blocking, to always be doing useful work
30* Cache-lined aliged buffers for cache and memory efficiency
John DeNisco06dcd452018-07-26 12:45:10 -040031
32
33Packet Throughput Graphs
34^^^^^^^^^^^^^^^^^^^^^^^^
35
Scott Keelerd9668e72018-09-06 07:52:59 -040036These are some of the packet throughput graphs for FD.io VPP 18.04 from the CSIT `18.04 benchmarking report <https://docs.fd.io/csit/rls1804/report/>`_:
John DeNisco06dcd452018-07-26 12:45:10 -040037
38.. toctree::
39
40 current_l2_throughput.rst
41 current_ndr_throughput.rst
42 current_ipv4_throughput.rst
43 current_ipv6_throughput.rst
44
45Trending Throughput Graphs
46^^^^^^^^^^^^^^^^^^^^^^^^^^
47
Scott Keelerd9668e72018-09-06 07:52:59 -040048These are some of the trending packet throughput graphs from the CSIT `trending dashboard <https://docs.fd.io/csit/master/trending/introduction/index.html>`_. **Please note that**, performance in the trending graphs will change on a nightly basis in line with the software development cycle:
John DeNisco06dcd452018-07-26 12:45:10 -040049
50.. toctree::
51
52 trending_l2_throughput.rst
53 trending_ipv4_throughput.rst
54 trending_ipv6_throughput.rst
55
56For More information on CSIT
57^^^^^^^^^^^^^^^^^^^^^^^^^^^^
58
Lijian Zhang4af47b82018-08-07 15:34:45 +080059The FD.io CSIT is implemented with below platforms:
60
Scott Keelerd9668e72018-09-06 07:52:59 -040061* x86/64
62* ARM-AArch64
Lijian Zhang4af47b82018-08-07 15:34:45 +080063
Scott Keelerd9668e72018-09-06 07:52:59 -040064 * Huawei TaiShan 2280
65 * Marvell MACCHIATObin
Lijian Zhang4af47b82018-08-07 15:34:45 +080066
67
Scott Keelerd9668e72018-09-06 07:52:59 -040068These are FD.io Continuous System Integration and Testing (CSIT)'s documentation links:
John DeNisco06dcd452018-07-26 12:45:10 -040069
70* `CSIT Code Documentation <https://docs.fd.io/csit/master/doc/overview.html>`_
71* `CSIT Test Overview <https://docs.fd.io/csit/rls1804/report/introduction/overview.html>`_
72* `VPP Performance Dashboard <https://docs.fd.io/csit/master/trending/introduction/index.html>`_