Data Plane Development Kit
Developer(s) | 6WIND, Intel |
---|---|
Stable release | 16.04 / 12 April 2016 |
Development status | Active |
Written in | C |
Operating system | FreeBSD, Linux |
Type | Routing |
License | BSD |
Website |
dpdk |
The Data Plane Development Kit (DPDK) is a set of data plane libraries and network interface controller drivers for fast packet processing. The DPDK provides a programming framework for Intel x86 processors and enables faster development of high speed data packet networking applications.[1][2] It scales from Intel Atom processors to Intel Xeon processors and support for other processor architectures like IBM POWER8 are under progress.[3] It is provided and supported under the open source[4] BSD license.
Overview
The DPDK framework creates a set of libraries for specific hardware/software environments through the creation of an Environment Abstraction Layer (EAL).[5] The EAL hides the environmental specific and provides a standard programming interface to libraries, available hardware accelerators and other hardware and operating system (Linux, FreeBSD) elements. Once the EAL is created for a specific environment, developers link to the library to create their applications. For instance, EAL provides the frameworks to support Linux, FreeBSD, Intel IA 32- or 64-bit or IBM Power8.
The EAL also provides additional services including time references, PCIe bus access, trace and debug functions and alarm operations.
The DPDK implements a low overhead run-to-completion model for fast data plane performance and accesses devices via polling to eliminate the performance overhead of interrupt processing.
The DPDK also includes software examples that highlight best practices for software architecture, tips for data structure design and storage, application profiling and performance tuning utilities and tips that address common network performance deficits.
Libraries
The DPDK includes data plane libraries and optimized NIC drivers for the following:[6]
- A queue manager implements lockless queues
- A buffer manager pre-allocates fixed size buffers
- A memory manager allocates pools of objects in memory and uses a ring to store free objects; ensures that objects are spread equally on all DRAM channels
- Poll mode drivers (PMD) are designed to work without asynchronous notifications, reducing overhead
- A packet framework – set of libraries that are helpers to develop packet processing
All libraries are stored in the dpdk/lib/librte_* directories
Plugins
The EAL allows loading some plugins using the -d file.so option without recompiling any applications that use the DPDK libraries. The following plugins are available:
- librte_pmd_virtio.so – provides PMD Ethernet layer supporting Virtio paravirtualized NIC
- librte_pmd_vmxnet3.so – provides PMD Ethernet layer supporting Vmxnet3 paravitualized NIC
- librte_pmd_memnic_copy.so – provides a Virtual PMD Ethernet layer thru shared memory based on 2 memory copies of packets
- librte_pmd_mlx4.so – provides PMD Ethernet layer for Mellanox ConnectX-3 40G NIC
- librte_crypto_nitrox.so – provides cryptography layer for Cavium Nitrox PCI boards
- librte_crypto_quickassist.so – provides cryptography layer for Intel Cave Creek PCI boards.
Environment
The DPDK was originally designed to run using a bare-metal mode which is currently deprecated. Actually, DPDK's EAL provides support for Linux or FreeBSD userland application.
EAL can be extended in order to support any processors.
Ecosystem
Beside 6WIND and Intel which are the two main contributors to the DPDK, several vendors support the DPDK within their products and some offer additional training, support and professional services. The list of vendors who have announced DPDK support includes:
- 6WIND[7]
- Aricent [8]
- ALTEN Calsoft Labs[9]
- Advantech[10]
- Brocade[11]
- Radisys[12]
- Tieto[13]
- Wind River[14]
- Lanner[15]
Projects
The pfSense project published a road map on 25 February 2015, in which developer Jim Thompson announced the rewriting of the pfSense core—including pf, network packet forwarding and shaping, link bonding, IPsec—using Intel's DPDK: "We have a goal of being able to forward, with packet filtering at rates of at least 14.88Mpps. This is 'line rate' on a 10Gbps interface. There is simply no way to use today's FreeBSD (or linux) in-kernel stacks for this type of load."[16]
References
- ↑ Simon Stanley,All Change for Packet Processing, Heavy Reading, 2013
- ↑ Shamus McGillicudy, Intel DPDK, switch and server ref designs push SDN ecosystem forward, SearchSDN, April 2013
- ↑ "DPDK: Data Plane Development Kit – What it is". dpdk.org. dpdk.org. Retrieved 16 March 2015.
- ↑ Simon Stanley,DPDK Goes Open-Source, Intel Embedded Community, May 2013
- ↑ Intel Corporation, Intel® Data Plane Development Kit: Programmers Guide, November 2012
- ↑ Intel Communications Infrastructure Division, Intel® Data Plane Development Kit Overview, December 2012
- ↑ PRWeb, 6WIND Extends Portable Packet Processing Software to Support Intel® Data Plane Development Kit, September 2011
- ↑ Aricent, , January, 2015
- ↑ Calsoft Labs to offer professional services and support for Intel® Data Plane Development Kit, ALTEN Calsoft Labs, 18 February 2014, retrieved 2014-10-28
- ↑ COTS Journal, ATCA Blade Serves Up Xeon E5-2600 Processor, June 2012
- ↑ Brocade vRouter
- ↑ MarketWatch, Radisys Delivers Industry's First 40G Solution for Intel(R) Data Plane Development Kit, September 2012
- ↑ Tieto, Tieto provides professional software services and support for the Intel® Data Plane Development Kit, February 2012
- ↑ Reuters, Wind River Delivers Support and Services for Intel Data Plane Development Kit for High-Performance Packet Processing, May 2012
- ↑ Get Flying with the Intel Data Plane Development Kit, Lanner Electronics Inc., 20 February 2013, retrieved 2013-07-11
- ↑ Thompson, Jim. "Further (a roadmap for pfSense)". blog.pfsense.org. Electric Sheep Fencing LLC. Retrieved 21 April 2015.
|