SlideShare a Scribd company logo
Bruce	Richardson
DPDK	Summit	- San	Jose	– 2017
Reducing Barriers to
Adoption
Making DPDK Easier to Integrate into Your
Application
#DPDKSummit
2
Legal Disclaimers
Intel	technologies	may	require	enabled	hardware,	specific	software,	or	services	activation.	Check	with	your	system	
manufacturer	or	retailer.
No	computer	system	can	be	absolutely	secure.	
Tests	document	performance	of	components	on	a	particular	test,	in	specific	systems.	Differences	in	hardware,	software,	or	
configuration	will	affect	actual	performance.	Consult	other	sources	of	information	to	evaluate	performance	as	you	consider	
your	purchase.		For	more	complete	information	about	performance	and	benchmark	results,	visit		www.intel.com/benchmarks.	
Cost	reduction	scenarios	described	are	intended	as	examples	of	how	a	given	Intel- based	product,	in	the	specified	
circumstances	and	configurations,	may	affect	future	costs	and	provide	cost	savings.		Circumstances	will	vary.	Intel	does	not	
guarantee	any	costs	or	cost	reduction.
All	information	provided	here	is	subject	to	change	without	notice.	Contact	your	Intel	representative	to	obtain	the	latest	Intel	
product	specifications	and	roadmaps
No	license	(express	or	implied,	by	estoppel	or	otherwise)	to	any	intellectual	property	rights	is	granted	by	this	document.
​Intel	does	not	control	or	audit	third-party	benchmark	data	or	the	web	sites	referenced	in	this	document.	You	should	visit	the	
referenced	web	site	and	confirm	whether	referenced	data	are	accurate.
Intel,	the	Intel	logo,	and	other	Intel	product	and	solution	names	in	this	presentation	are	trademarks	of	Intel	.	.	.	
*Other	names	and	brands	may	be	claimed	as	the	property	of	others.	
©	2017	Intel	Corporation.
3#DPDKSummit
How “consumable” is DPDK?
Chocolate Fudge Cake by Tracy Hunter is licensed underCC BY 2.0 © User:Colin / Wikimedia Commons / CC BY-SA 3.0
4
DPDK as Broccoli
u Not	the	most	consumable	thing	in	the	
world
u But	it’s	fine	when	you	get	used	to	it!
u That	does	not	mean	we	shouldn’t	strive	
to	achieve	“DPDK	as	Cake”	status
By Fir0002 - Own work, GFDL 1.2, Link
5
DPDK is Greedy
u DPDK	thinks	it	owns	all	cores	and	threads	in	the	app
u DPDK	thinks	all	hugepage memory	on	the	system	is	for	its	exclusive	use
u DPDK	thinks	it	should	own	the	application	command-line
u DPDK	thinks	you	want	to	build	all	DPDK	apps	using	the	DPDK	build	
system
6
DPDK is Greedy
u DPDK	thinks	it	owns	all	cores	and	threads	in	the	app
u DPDK	thinks	all	hugepage memory	on	the	system	is	for	its	exclusive	use
u DPDK	thinks	it	should	own	the	application	command-line
u DPDK	thinks	you	want	to	build	all	DPDK	apps	using	the	DPDK	build	
system
7
Memory – Work In Progress
u Reduce	the	dependency	on	physically	contiguous	memory
u Few	cases	actually	need	this
u Eliminates	the	need	to	find	biggest	contiguous	blocks	of	memory
u Allow	memory/hugepage allocation	from	OS	on	demand
u Faster	startup
u Memory	footprint	is	only	what	the	application	needs
u Allow	free	memory	to	be	given	back	to	the	OS
8
Memory – Work In Progress
u Requires	very	considerable	rework	on	DPDK	internals
u Hugepage handling
u Memory	segments	(memsegs)
u Memory	zones	(memzones)
u Malloc (rte_malloc)
u +	changes	to	other	components	needing	contiguous	memory
u Patches	expected	in	18.02	timeframe
u No	expected	performance	implications!
9
DPDK as Carrot
u Still	not	the	most	consumable	thing	in	
the	world
u Many	folks	ok	with	it	as-is
u But	with	a	bit	of	work	it	can	go	into	many	
very	consumable	things!
By Bi-frie - Own work, CC BY 3.0, Link
10
Build System – Work in Progress
u DPDK	build	system	is	currently	based	on	“make”	alone
u Static	configuration	only	-no	dynamic	configuration	at	build	time
u Custom	build	system	with	many	complicated	makefiles
u Assumes	that	it	will	be	used	to	compile	end-user	apps	too
u Work	underway	to	replace	this	with	new	build	using	“meson”
u Very	popular	with	open-source	projects,	e.g.	Xorg,	system
u Dynamic	build	configuration	with	a	readable	syntax
u Likely	to	be	a	multi-release	effort
u Old	build	system	is	not	going	away	any	time	soon!
11
pkg-config – Improved Consumability
u pkg-config
u Standard	method	to	specify	how	to	compile	
and	link	with	a	library
u Very	distro-friendly
u No	need	for	either:
u trying	to	hack	some/all	of	DPDK	build	system	
into	your	projects
u hard-coding	the	libraries	&	ldflags into	your	
makefiles
PC_FILE := $(shell pkg-config --path libdpdk)
CFLAGS += $(shell pkg-config --cflags libdpdk)
LDFLAGS += $(shell pkg-config --libs libdpdk)
helloworld: main.c Makefile $(PC_FILE)
$(CC) $(CFLAGS) main.c -o $@ $(LDFLAGS)
12
Demo
13
Using DPDK – a piece of cake?
u Two	changes	will	not	fix	all	problems
u But	fixing	these	two	should	move	us	
considerably	along	the	consumabilitypath
u Suggestions,	and	patches	very	welcome	for	
other	future	changes
By http://rezeptewiki.org/wiki/Benutzer:At_u - http://rezeptewiki.org/wiki/Datei:R%C3%BCblitorte_.jpg,
CC BY-SA 3.0, Link
14
Who wants DPDK improved? – a pie
chart
By Oddbodz - Own work, CC BY-SA 3.0, Link
Questions?
Bruce	Richardson
bruce.richardson@intel.com

More Related Content

PDF
LF_DPDK17_The Path to Data Plane Microservices
PDF
LF_DPDK17_DPDK's best kept secret – Micro-benchmark performance tests
PDF
LF_DPDK17_Making networking apps scream on Windows with DPDK
PDF
LF_DPDK_Accelerate storage service via SPDK
PDF
LF_DPDK17_Enabling hardware acceleration in DPDK data plane applications
PDF
Open security controller security orchestration for openstack
PDF
4 dpdk roadmap(1)
PDF
High Performance Computing: The Essential tool for a Knowledge Economy
LF_DPDK17_The Path to Data Plane Microservices
LF_DPDK17_DPDK's best kept secret – Micro-benchmark performance tests
LF_DPDK17_Making networking apps scream on Windows with DPDK
LF_DPDK_Accelerate storage service via SPDK
LF_DPDK17_Enabling hardware acceleration in DPDK data plane applications
Open security controller security orchestration for openstack
4 dpdk roadmap(1)
High Performance Computing: The Essential tool for a Knowledge Economy

What's hot (20)

PDF
8 intel network builders overview
PDF
Intel IT Experts Tour Cyber Security - Matthew Rosenquist 2013
PDF
Новые технологии Intel в центрах обработки данных
PDF
Microsoft Build 2019- Intel AI Workshop
PDF
Software-defined Visualization, High-Fidelity Visualization: OpenSWR and OSPRay
PDF
TDC2018SP | Trilha IA - Inteligencia Artificial na Arquitetura Intel
PDF
Embree Ray Tracing Kernels
PPTX
E5 Intel Xeon Processor E5 Family Making the Business Case
PDF
Intel® QuickAssist Technology (Intel® QAT) and OpenSSL-1.1.0: Performance
PDF
Explore, design and implement threading parallelism with Intel® Advisor XE
PDF
DreamWorks Animation
PDF
Overcoming Scaling Challenges in MongoDB Deployments with SSD
PDF
DreamWork Animation DWA
PDF
Intel Mobile Launch Information
PDF
TDC2019 Intel Software Day - Inferencia de IA em edge devices
PDF
Improving the performance of OpenSubdiv* on Intel Architecture
PDF
Writing srs
PPTX
Monitoring a Database Driven System Utilizing Splunk's DB Connect
PDF
Como criar um mundo autônomo e conectado - Jomar Silva
PPT
Network Developement Capstone Project 2009 Sping Quarter
8 intel network builders overview
Intel IT Experts Tour Cyber Security - Matthew Rosenquist 2013
Новые технологии Intel в центрах обработки данных
Microsoft Build 2019- Intel AI Workshop
Software-defined Visualization, High-Fidelity Visualization: OpenSWR and OSPRay
TDC2018SP | Trilha IA - Inteligencia Artificial na Arquitetura Intel
Embree Ray Tracing Kernels
E5 Intel Xeon Processor E5 Family Making the Business Case
Intel® QuickAssist Technology (Intel® QAT) and OpenSSL-1.1.0: Performance
Explore, design and implement threading parallelism with Intel® Advisor XE
DreamWorks Animation
Overcoming Scaling Challenges in MongoDB Deployments with SSD
DreamWork Animation DWA
Intel Mobile Launch Information
TDC2019 Intel Software Day - Inferencia de IA em edge devices
Improving the performance of OpenSubdiv* on Intel Architecture
Writing srs
Monitoring a Database Driven System Utilizing Splunk's DB Connect
Como criar um mundo autônomo e conectado - Jomar Silva
Network Developement Capstone Project 2009 Sping Quarter
Ad

Similar to LF_DPDK17_Reducing Barriers to Adoption - Making DPDK Easier to Integrate into Your Application (20)

PDF
Achieve Unconstrained Collaboration in a Digital World
PDF
Crooke CWF Keynote FINAL final platinum
PDF
Accelerating Apache Spark with Intel QuickAssist Technology
PDF
AI & Computer Vision (OpenVINO) - CPBR12
PDF
Intel HPC Update
PDF
2 new hw_features_cat_cod_etc
PDF
Lynn Comp - Intel Big Data & Cloud Summit 2013 (2)
PDF
3 additional dpdk_theory(1)
PDF
1 intro to_dpdk_and_hw
PDF
50 Billion Connected Things are Coming
PDF
Austin Cherian: Big data and HPC technologies - intel
PDF
Ceph Day Shanghai - VSM (Virtual Storage Manager) - Simplify Ceph Management ...
PDF
Xeon E5 Making the Business Case PowerPoint
PDF
HPC DAY 2017 | Accelerating tomorrow's HPC and AI workflows with Intel Archit...
PDF
DPDK Summit - 08 Sept 2014 - Intel - Networking Workloads on Intel Architecture
PDF
High Memory Bandwidth Demo @ One Intel Station
PDF
Driving Industrial InnovationOn the Path to Exascale
PDF
Cisco Connect 2018 Malaysia - It transformation-an imperative for driving bus...
PDF
Using Xeon + FPGA for Accelerating HPC Workloads
PDF
Preparing the Data Center for the Internet of Things
Achieve Unconstrained Collaboration in a Digital World
Crooke CWF Keynote FINAL final platinum
Accelerating Apache Spark with Intel QuickAssist Technology
AI & Computer Vision (OpenVINO) - CPBR12
Intel HPC Update
2 new hw_features_cat_cod_etc
Lynn Comp - Intel Big Data & Cloud Summit 2013 (2)
3 additional dpdk_theory(1)
1 intro to_dpdk_and_hw
50 Billion Connected Things are Coming
Austin Cherian: Big data and HPC technologies - intel
Ceph Day Shanghai - VSM (Virtual Storage Manager) - Simplify Ceph Management ...
Xeon E5 Making the Business Case PowerPoint
HPC DAY 2017 | Accelerating tomorrow's HPC and AI workflows with Intel Archit...
DPDK Summit - 08 Sept 2014 - Intel - Networking Workloads on Intel Architecture
High Memory Bandwidth Demo @ One Intel Station
Driving Industrial InnovationOn the Path to Exascale
Cisco Connect 2018 Malaysia - It transformation-an imperative for driving bus...
Using Xeon + FPGA for Accelerating HPC Workloads
Preparing the Data Center for the Internet of Things
Ad

More from LF_DPDK (20)

PDF
LF_DPDK17_Event Adapters - Connecting Devices to Eventdev
PDF
LF_DPDK17_Integrating and using DPDK with Open vSwitch
PDF
LF_DPDK17_ OpenVswitch hardware offload over DPDK
PDF
LF_DPDK17_DPDK support for new hardware offloads
PDF
LF_DPDK17_Lagopus Router
PDF
LF_DPDK17_DPDK Membership Library
PDF
LF_DPDK17_Accelerating NFV with VMware's Enhanced Network Stack (ENS) and Int...
PDF
LF_DPDK17_testpmd: swissknife for NFV
PDF
LF_DPDK17_Make DPDK's software traffic manager a deployable solution for vBNG
PDF
LF_DPDK17_OpenNetVM: A high-performance NFV platforms to meet future communic...
PDF
LF_DPDK17_DPDK on Microsoft Azure
PDF
LF_DPDK17_VPP Host Stack
PDF
LF_DPDK17_Accelerating Packet Processing with FPGA NICs
PDF
LF_DPDK17_rte_security: enhancing IPSEC offload
PDF
LF_DPDK17_Serverless DPDK - How SmartNIC resident DPDK Accelerates Packet Pro...
PDF
LF_DPDK17_Flexible and Extensible support for new protocol processing with DP...
PDF
LF_DPDK17_rte_raw_device: implementing programmable accelerators using generi...
PDF
LF_DPDK17_Technical Roadmap
PDF
LF_DPDK_Mellanox bifurcated driver model
PDF
LF_DPDK17_Abstract APIs for DPDK and ODP
LF_DPDK17_Event Adapters - Connecting Devices to Eventdev
LF_DPDK17_Integrating and using DPDK with Open vSwitch
LF_DPDK17_ OpenVswitch hardware offload over DPDK
LF_DPDK17_DPDK support for new hardware offloads
LF_DPDK17_Lagopus Router
LF_DPDK17_DPDK Membership Library
LF_DPDK17_Accelerating NFV with VMware's Enhanced Network Stack (ENS) and Int...
LF_DPDK17_testpmd: swissknife for NFV
LF_DPDK17_Make DPDK's software traffic manager a deployable solution for vBNG
LF_DPDK17_OpenNetVM: A high-performance NFV platforms to meet future communic...
LF_DPDK17_DPDK on Microsoft Azure
LF_DPDK17_VPP Host Stack
LF_DPDK17_Accelerating Packet Processing with FPGA NICs
LF_DPDK17_rte_security: enhancing IPSEC offload
LF_DPDK17_Serverless DPDK - How SmartNIC resident DPDK Accelerates Packet Pro...
LF_DPDK17_Flexible and Extensible support for new protocol processing with DP...
LF_DPDK17_rte_raw_device: implementing programmable accelerators using generi...
LF_DPDK17_Technical Roadmap
LF_DPDK_Mellanox bifurcated driver model
LF_DPDK17_Abstract APIs for DPDK and ODP

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Electronic commerce courselecture one. Pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Empathic Computing: Creating Shared Understanding
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
cuic standard and advanced reporting.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Encapsulation theory and applications.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Digital-Transformation-Roadmap-for-Companies.pptx
Unlocking AI with Model Context Protocol (MCP)
Electronic commerce courselecture one. Pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
NewMind AI Monthly Chronicles - July 2025
MYSQL Presentation for SQL database connectivity
Empathic Computing: Creating Shared Understanding
NewMind AI Weekly Chronicles - August'25 Week I
cuic standard and advanced reporting.pdf
Machine learning based COVID-19 study performance prediction
CIFDAQ's Market Insight: SEC Turns Pro Crypto
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Bridging biosciences and deep learning for revolutionary discoveries: a compr...

LF_DPDK17_Reducing Barriers to Adoption - Making DPDK Easier to Integrate into Your Application