SlideShare a Scribd company logo
1 of 33
0Copyright©2015 NTT corp. All Rights Reserved.
It's kind of fun
to do the impossible with DPDK
Yoshihiro Nakajima, Hirokazu Takahashi, Kunihiro Ishiguro,
Koji Yamazaki
NTT Labs
1Copyright©2015 NTT corp. All Rights Reserved.
Agenda
 Motivation for fun 
 Fun with Lagopus SDN switch 
 Fun with speed 
 Smart FPGA for software dataplane
 Fun with experience 
 SDN IX @ Interop Tokyo 2015 ShowNet
2Copyright©2015 NTT corp. All Rights Reserved.
Motivation for fun 
Trend
3Copyright©2015 NTT corp. All Rights Reserved.
Trend shift in networking
 Closed (Vender lock-in)
 Yearly dev cycle
 Waterfall dev
 Standardization
 Protocol
 Special purpose HW / appliance
 Distributed cntrl
 Custom ASIC / FPGA
 Wired logic dataplane
 Open (lock-in free)
 Monthly dev cycle
 Agile dev
 DE fact standard
 API
 Commodity HW/ Server
 Logically centralized cntrl
 Merchant Chip
 Software dataplane
4Copyright©2015 NTT corp. All Rights Reserved.
4
Evaluate the benefits of SDN
by implementing control plane and switch
for fun 
5Copyright©2015 NTT corp. All Rights Reserved.
Lagopus SDN switch project
6Copyright©2015 NTT corp. All Rights Reserved.
Goal of Lagopus project
 Provide NFV/SDN-aware switch framework
 SDN switch agent (OpenFlow, REST)
 100Gbps high-performance soft dataplane
 Flexible/extensible switch configuration datastore
 DPDK extension (library, FPGA NIC, vNIC)
 Cloud middleware integration
 Expand software-based packet processing to carrier networks
 Hardware acceleration and processing offload for scalable software
dataplane
7Copyright©2015 NTT corp. All Rights Reserved.
 High-performance SDN/OF software switch
 40-Gbps packet processing throughput / port
 Mega-class flow entries support
 Low-latency and wire-rate speed in smaller packet size
 Expands SDN to WAN, GW and NFV
 Multiple frame format support
• MPLS, PBB, MACinMAC, IPv4, IPv6
 Hybrid SDN support
• REST API, OpenFlow 1.3, OVSDB, NETCONF
• Legacy protocol support
 vSwtich for hypervisor, container virtualization
Target
8Copyright©2015 NTT corp. All Rights Reserved.
Lagopus vSwitch
switch configuration datastore
(config/stats API, SW DSL)
FPGA NIC DPDK NIC
DPDK libs/PMD driver
Lagopus soft dataplane
flow lookup flow cache
OpenFlow pipeline
queue/
policer
Flow table
Flow table
flow table
Flow table
Flow tableGroup
table
Flow table
Flow tablemeter
table
switch HAL
OpenFlow
1.3agent
JSON IF
SNMP
CLI
OVSDB
NET
CONF
L2bridge
L3
(IPv4ICMP)
SDN switch Agent
• Full OpenFlow 1.3.4 support
• Controller-less basic L2 and
L3 support
SDN-aware
management API
• OVSDB, REST
• Ansible support
DPDK-enabled
soft dataplane
• Over-10-Gbps
performance
• Low latency packet
processing
• high performance
multi-layer flow lookup
DPDK-enabled
vNIC for NFV
(virtq-pmd)
Switch configuration
datastore
• Pub/sub mechanism
• Switch config DSL
• JSON IF support
Soft-dataplane
aware FPGA NIC
9Copyright©2015 NTT corp. All Rights Reserved.
Fun with speed
• Performance Improvement
• Smart FPGA NIC for software dataplane
(collaboration with Xilinx)
10Copyright©2015 NTT corp. All Rights Reserved.
Performance Improvement
11Copyright©2015 NTT corp. All Rights Reserved.
Basic packet processing
Network I/O
RX
packet
Frame
processing
Flow lookup &
Action
QoS・Queue
Network I/O
TX
Packet classification &
packet distribution to buffers
Packet parsing
lookup, Header rewrite
Encap/decap
Policer, Shaper
Marking
packet
12Copyright©2015 NTT corp. All Rights Reserved.
What we did for performance
Network I/O
RX
packet
Frame
processing
Flow lookup &
Action
QoS・Queue
Network I/O
TX
packet
• Delayed packet frame
evaluation
• Delayed action
(processing) evaluation
• Packet batching to
improve CPU $ efficiency
• Delayed flow stats
evaluation
• Smart flow classification
• Thread assignment optimization
• Parallel flow lookup
• Lookup tree compaction
• High-performance lookup
algorithm for OpenFlow
(multi-layer, mask, priority-aware
flow lookup)
• Flow $ mechanism
• Batch size tuning
13Copyright©2015 NTT corp. All Rights Reserved.
Road to 10Gbps packet processing
with 1M OpenFlow flow entries
0
2
4
6
8
10
12
14
2013 Q2 2013 Q3 2013 Q4 2014 Q1 2014 Q2
MPPS
DPDK-powered I/O Lookup performance
Project start
point
OF lookup
improved
Lookup
optimization
Flow $ and Lookup
optimization
with 12 CPU cores
Packet processing
optimization
with 4 CPU cores 
14Copyright©2015 NTT corp. All Rights Reserved.
Big change from Y2013
NowBefore project
 
10Gpbs by
software
dataplane?
Impossible!!
Software dataplane
becomes great
performance.
We try vSwitch for
our usecases.
15Copyright©2015 NTT corp. All Rights Reserved.
Smart FPGA NIC for
software dataplane
16Copyright©2015 NTT corp. All Rights Reserved.
Motivation
 Network I/O is not optimized for multi-core CPU
 Std NIC does not support RSS for WAN protocol
 Software-based processing are heavy
 Packet classifier
 Packet dispatcher are heavy
 QoS and needs lots of CPU cycles
NIC 1
RX
NIC 2
RX
I/O
RX
I/O
RX
NIC 1
TX
NIC 2
TX
I/O
TX
I/O
TX
Flow lookup
packet processing
Flow lookup
packet processing
Flow lookup
packet processing
Flow lookup
packet processing
NIC 3
RX
NIC 4
RX
NIC 3
TX
NIC 4
TX
NIC RX buffer
Ring buffer
Ring buffer NIC TX buffer
Bottleneck for
Multi-core CPU
QoS
Compact flow
lookup tree
Multiple network I/O
for multi CORE CPU
17Copyright©2015 NTT corp. All Rights Reserved.
 Leverage hardware offload processing of
smart FPGA NIC
 Flexible hardware-based packet classifier & dispatcher
 Hardware-based packet marking for post-packet-processing
 Optimized to multi-core CPU
 Efficient packet processing for multi-thread
Co-design approach for performance
Performance
Flexiblity Availability
SDN hardware switch
+HW offload
Advance features leveraging HW
High-relibility,
High-performance with HW
18Copyright©2015 NTT corp. All Rights Reserved.
FPGA Flow Classification & Dispatch
FPGA
・・・
DMA transfter
DST DST DST
RAM3
RAM2
RAM1
RAMN
RAM5
RAM4
#1 #2 #3 #4 #5 #N
Cores
Workload
#1 #2 #3 #4 #5 #N
Cores
Workload
Ingress traffic (RX)
Classifier (SDNet)
Multi-core
Processor
(Xeon®E5)
Processor RX workload
w/o smart FPGA NIC
w/ smart FPGA NIC
32 channels
RX DMA
Flow Dispatcher
Dispatcher
Classifier Xilinx Virtex®-7
(XC7VX690T)
19Copyright©2015 NTT corp. All Rights Reserved.
Lagopus software data-plane
• Hash, cache search and match are omitted
• Increase network I/O performance
 Front-end hardware-based packet classification and packet
dispatcher
 Reconfigurable packet filter for dynamic load balance for worker thread
 DPDK flow director API compatible
FPGA NIC and soft dataplane
RX
Disp
TX
TX threadRX thread
Header
parsing
Hash
calc
Cache
search
Match
Action
Init
OpenFlow worker thread
For 32 queues
Hardware classification & dispatch on FPGA NIC
• Reprogrammable filters in look-up table
• Configured by DPDK flow director API
VLAN 1
VLAN 2
VLAN 3
・
・
・
・
・
VLAN 32
Q1
Q2
Q3
・
・
・
・
・
Q32
Result (QID)Perfect match filter (ex. VLAN-ID)
Filterentries
Filters
For 32 queues
20Copyright©2015 NTT corp. All Rights Reserved.
Improved performance with Smart FPGA NIC
ETH/VLAN/IPV4, 1 Flow, Intel Xeon® E5-2680 v2 (Ivy Bridge-EP)@ 2.8GHz, 10C/20T, Xilinx FPGA NIC, DPDK-1.7.1
0.00
5.00
10.00
15.00
20.00
25.00
30.00
35.00
40.00
0 500 1000 1500 2000
Throughput(Gpbs)
Frame Size (Bytes)
40G Line Rate 4 cores only, Flow Director=OFF
4 cores + FPGA, Flow Director=ON 8 cores + FPGA, Flow Director=ON
4 cores: RX(1C), Worker(2C), TX(1C)
8 cores: RX(2C), Worker(5C), TX(1C)
40Gbps wire-speed
from 384 Bytes
21Copyright©2015 NTT corp. All Rights Reserved.
Summery
 Small extension of NIC give great benefit for software
dataplane
 Performance improvement
 Save CPU cycle for important processing
 Save CPU cores for the same processing with standard NIC
22Copyright©2015 NTT corp. All Rights Reserved.
Fun with experience
SDN IX
23Copyright©2015 NTT corp. All Rights Reserved.
SDN IX
@ Interop Tokyo 2015 ShowNet
Interop Tokyo is
the biggest Internet-related technology show in Japan.
This trial was collaboration with NECOMA project
(NAIST & University of Tokyo)
24Copyright©2015 NTT corp. All Rights Reserved.
Motivation
 IX (Internet eXchange)
 Packet exchange point between ISP and DC-SP
 Boarder router of ISP exchanges route information
 Issue
 Enhance automation in provisioning and configuration
 DDoS attack is one of the most critical issues
• ISP wants to reduce DDoS-related traffic in origin
• DDoS traffic occupies link bandwidth
IX
ISP-CISP A ISP-DISP B
SW
SWSW
SW
ISP-EISP F
IX
ISP-CISP A ISP-DISP B
SW
SWSW
SW
ISP-EISP F
25Copyright©2015 NTT corp. All Rights Reserved.
What is SDN IX?
 Next generation IX with SDN technology
 Web portal-based path provisioning between ISPs
• Inter-AS L2 connectivity
– VLAN-based path provisioning
– Private peer provisioning
 Protect network from DDoS attack
• On-demand 5-tuple-baesd packet filtering
 SDN IX controller and distributed SDN/OpenFlow IX core switch
Developed by NECOMA project
(NAIST and University of Tokyo)
ISP-CISP A ISP-DISP B
ISP-EISP F
ISP-CISP A ISP-DISP B
SW
SWSW
SW
ISP-EISP F
26Copyright©2015 NTT corp. All Rights Reserved.
Lagopus @ ShowNet 2015
 Two Lagopus (soft switch) are deployed for
SDN-IX core switch
 Multiple 10Gbps links
 Dual Xeon E5 8core CPUs
27Copyright©2015 NTT corp. All Rights Reserved.
Lagopus @ ShowNet rack
28Copyright©2015 NTT corp. All Rights Reserved.
Path provisioning
Router Router
AS290AS131154
DIX-IEJPIXISP
Router
10G-LR
lagopus-1
(DPID:2)
OFS
(DPID:1)
IXJGNX
lagopus-2
(DPID:4)
OFS
(DPID:3)
xg-89:0.1
(port 4)
xg-83:0.0
(port 1)
xg-89:00.0
(port 3)
xg-83:00.1
(port 2)
xg-83:0.0
(port 1)
xg-83:0.1
(port 2)
xg-89:0.0
(port 3)
xg-1-0-49
(port 49)
xg-1-0-51
(port 51)
xg-1-0-52
(port 52)
xg-1-0-50
(port 50)
xg-1-0-49
(port 49)
xg-1-0-50
(port 50)
xg-1-0-51
(port 51)
Otemachi
Makuhari
(Interop
Veneue)
29Copyright©2015 NTT corp. All Rights Reserved.
 Average 2Gbps throughput
 No packet drop
 No reboot & no trouble for 1 week during Interop Tokyo
 Sometimes 10Gbps burst traffic
Traffic on Lagopus @Makuhari
30Copyright©2015 NTT corp. All Rights Reserved.
Big change happened
Before After
 
vSwitch has
lots of issues on
performance,
scalability,
stability, …..
vSwitch works
well without
any trouble!
Good
performance,
Good stability.
31Copyright©2015 NTT corp. All Rights Reserved.
 It's kind of fun to do the impossible with DPDK
 Enjoy hacking with DPDK for your networking!
 Performance optimization is fun 
 Lagopus project commit to high-performance vswitch
development for fun 
 We still have lots of issues for fun 
• Lookup optimization, performance improvement, ….
 Changing one’s mind is great fun 
 Real experience change their mind 
Conclusion
32Copyright©2015 NTT corp. All Rights Reserved.
 Lagopus demonstration
 vSwitch performance benchmark
• Haswell-EP and Fortville
• Carrier usecase
 MPLS-based segment routing (source routing) and
NFV integration
https://github.com/lagopus/
vSwitch, DPDK extension, and more…
Visit our booth #172 in IDF15SFO

More Related Content

What's hot

DPDK Summit 2015 - HP - Al Sanders
DPDK Summit 2015 - HP - Al SandersDPDK Summit 2015 - HP - Al Sanders
DPDK Summit 2015 - HP - Al SandersJim St. Leger
 
Accelerate Service Function Chaining Vertical Solution with DPDK
Accelerate Service Function Chaining Vertical Solution with DPDKAccelerate Service Function Chaining Vertical Solution with DPDK
Accelerate Service Function Chaining Vertical Solution with DPDKOPNFV
 
DPDK Summit 2015 - RIFT.io - Tim Mortsolf
DPDK Summit 2015 - RIFT.io - Tim MortsolfDPDK Summit 2015 - RIFT.io - Tim Mortsolf
DPDK Summit 2015 - RIFT.io - Tim MortsolfJim St. Leger
 
Performance challenges in software networking
Performance challenges in software networkingPerformance challenges in software networking
Performance challenges in software networkingStephen Hemminger
 
DPDK Summit 2015 - Aspera - Charles Shiflett
DPDK Summit 2015 - Aspera - Charles ShiflettDPDK Summit 2015 - Aspera - Charles Shiflett
DPDK Summit 2015 - Aspera - Charles ShiflettJim St. Leger
 
Disruptive IP Networking with Intel DPDK on Linux
Disruptive IP Networking with Intel DPDK on LinuxDisruptive IP Networking with Intel DPDK on Linux
Disruptive IP Networking with Intel DPDK on LinuxNaoto MATSUMOTO
 
DPDK Summit 2015 - Intel - Keith Wiles
DPDK Summit 2015 - Intel - Keith WilesDPDK Summit 2015 - Intel - Keith Wiles
DPDK Summit 2015 - Intel - Keith WilesJim St. Leger
 
Symmetric Crypto for DPDK - Declan Doherty
Symmetric Crypto for DPDK - Declan DohertySymmetric Crypto for DPDK - Declan Doherty
Symmetric Crypto for DPDK - Declan Dohertyharryvanhaaren
 
Intel DPDK Step by Step instructions
Intel DPDK Step by Step instructionsIntel DPDK Step by Step instructions
Intel DPDK Step by Step instructionsHisaki Ohara
 
Introduction to DPDK
Introduction to DPDKIntroduction to DPDK
Introduction to DPDKKernel TLV
 
DPDK Summit 2015 - Sprint - Arun Rajagopal
DPDK Summit 2015 - Sprint - Arun RajagopalDPDK Summit 2015 - Sprint - Arun Rajagopal
DPDK Summit 2015 - Sprint - Arun RajagopalJim St. Leger
 
How to Speak Intel DPDK KNI for Web Services.
How to Speak Intel DPDK KNI for Web Services.How to Speak Intel DPDK KNI for Web Services.
How to Speak Intel DPDK KNI for Web Services.Naoto MATSUMOTO
 
The n00bs guide to ovs dpdk
The n00bs guide to ovs dpdkThe n00bs guide to ovs dpdk
The n00bs guide to ovs dpdkmarkdgray
 
Recent advance in netmap/VALE(mSwitch)
Recent advance in netmap/VALE(mSwitch)Recent advance in netmap/VALE(mSwitch)
Recent advance in netmap/VALE(mSwitch)micchie
 
DPDK & Layer 4 Packet Processing
DPDK & Layer 4 Packet ProcessingDPDK & Layer 4 Packet Processing
DPDK & Layer 4 Packet ProcessingMichelle Holley
 
DPACC Acceleration Progress and Demonstration
DPACC Acceleration Progress and DemonstrationDPACC Acceleration Progress and Demonstration
DPACC Acceleration Progress and DemonstrationOPNFV
 

What's hot (20)

DPDK Summit 2015 - HP - Al Sanders
DPDK Summit 2015 - HP - Al SandersDPDK Summit 2015 - HP - Al Sanders
DPDK Summit 2015 - HP - Al Sanders
 
Accelerate Service Function Chaining Vertical Solution with DPDK
Accelerate Service Function Chaining Vertical Solution with DPDKAccelerate Service Function Chaining Vertical Solution with DPDK
Accelerate Service Function Chaining Vertical Solution with DPDK
 
DPDK Summit 2015 - RIFT.io - Tim Mortsolf
DPDK Summit 2015 - RIFT.io - Tim MortsolfDPDK Summit 2015 - RIFT.io - Tim Mortsolf
DPDK Summit 2015 - RIFT.io - Tim Mortsolf
 
Performance challenges in software networking
Performance challenges in software networkingPerformance challenges in software networking
Performance challenges in software networking
 
DPDK Summit 2015 - Aspera - Charles Shiflett
DPDK Summit 2015 - Aspera - Charles ShiflettDPDK Summit 2015 - Aspera - Charles Shiflett
DPDK Summit 2015 - Aspera - Charles Shiflett
 
Disruptive IP Networking with Intel DPDK on Linux
Disruptive IP Networking with Intel DPDK on LinuxDisruptive IP Networking with Intel DPDK on Linux
Disruptive IP Networking with Intel DPDK on Linux
 
100 M pps on PC.
100 M pps on PC.100 M pps on PC.
100 M pps on PC.
 
DPDK Summit 2015 - Intel - Keith Wiles
DPDK Summit 2015 - Intel - Keith WilesDPDK Summit 2015 - Intel - Keith Wiles
DPDK Summit 2015 - Intel - Keith Wiles
 
Symmetric Crypto for DPDK - Declan Doherty
Symmetric Crypto for DPDK - Declan DohertySymmetric Crypto for DPDK - Declan Doherty
Symmetric Crypto for DPDK - Declan Doherty
 
Dpdk performance
Dpdk performanceDpdk performance
Dpdk performance
 
Intel DPDK Step by Step instructions
Intel DPDK Step by Step instructionsIntel DPDK Step by Step instructions
Intel DPDK Step by Step instructions
 
Dpdk applications
Dpdk applicationsDpdk applications
Dpdk applications
 
Introduction to DPDK
Introduction to DPDKIntroduction to DPDK
Introduction to DPDK
 
Userspace networking
Userspace networkingUserspace networking
Userspace networking
 
DPDK Summit 2015 - Sprint - Arun Rajagopal
DPDK Summit 2015 - Sprint - Arun RajagopalDPDK Summit 2015 - Sprint - Arun Rajagopal
DPDK Summit 2015 - Sprint - Arun Rajagopal
 
How to Speak Intel DPDK KNI for Web Services.
How to Speak Intel DPDK KNI for Web Services.How to Speak Intel DPDK KNI for Web Services.
How to Speak Intel DPDK KNI for Web Services.
 
The n00bs guide to ovs dpdk
The n00bs guide to ovs dpdkThe n00bs guide to ovs dpdk
The n00bs guide to ovs dpdk
 
Recent advance in netmap/VALE(mSwitch)
Recent advance in netmap/VALE(mSwitch)Recent advance in netmap/VALE(mSwitch)
Recent advance in netmap/VALE(mSwitch)
 
DPDK & Layer 4 Packet Processing
DPDK & Layer 4 Packet ProcessingDPDK & Layer 4 Packet Processing
DPDK & Layer 4 Packet Processing
 
DPACC Acceleration Progress and Demonstration
DPACC Acceleration Progress and DemonstrationDPACC Acceleration Progress and Demonstration
DPACC Acceleration Progress and Demonstration
 

Similar to DPDK summit 2015: It's kind of fun to do the impossible with DPDK

Software Stacks to enable SDN and NFV
Software Stacks to enable SDN and NFVSoftware Stacks to enable SDN and NFV
Software Stacks to enable SDN and NFVYoshihiro Nakajima
 
FD.IO Vector Packet Processing
FD.IO Vector Packet ProcessingFD.IO Vector Packet Processing
FD.IO Vector Packet ProcessingKernel TLV
 
6WINDGate™ - Accelerated Data Plane Solution for EPC and vEPC
6WINDGate™ - Accelerated Data Plane Solution for EPC and vEPC6WINDGate™ - Accelerated Data Plane Solution for EPC and vEPC
6WINDGate™ - Accelerated Data Plane Solution for EPC and vEPC6WIND
 
G rpc talk with intel (3)
G rpc talk with intel (3)G rpc talk with intel (3)
G rpc talk with intel (3)Intel
 
Approaching hyperconvergedopenstack
Approaching hyperconvergedopenstackApproaching hyperconvergedopenstack
Approaching hyperconvergedopenstackIkuo Kumagai
 
6WINDGate™ - Enabling Cloud RAN Virtualization
6WINDGate™ - Enabling Cloud RAN Virtualization6WINDGate™ - Enabling Cloud RAN Virtualization
6WINDGate™ - Enabling Cloud RAN Virtualization6WIND
 
18-20180514_SRv6_RIPE.pdf
18-20180514_SRv6_RIPE.pdf18-20180514_SRv6_RIPE.pdf
18-20180514_SRv6_RIPE.pdfYunLiu75
 
Lenovo networking: top of the top of the rack
Lenovo networking: top of the top of the rackLenovo networking: top of the top of the rack
Lenovo networking: top of the top of the rackLenovo Data Center
 
Introduction to Programmable Networks by Clarence Anslem, Intel
Introduction to Programmable Networks by Clarence Anslem, IntelIntroduction to Programmable Networks by Clarence Anslem, Intel
Introduction to Programmable Networks by Clarence Anslem, IntelMyNOG
 
Snabbflow: A Scalable IPFIX exporter
Snabbflow: A Scalable IPFIX exporterSnabbflow: A Scalable IPFIX exporter
Snabbflow: A Scalable IPFIX exporterIgalia
 
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceAdding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceSamsung Open Source Group
 
Enabling Multi-access Edge Computing (MEC) Platform-as-a-Service for Enterprises
Enabling Multi-access Edge Computing (MEC) Platform-as-a-Service for EnterprisesEnabling Multi-access Edge Computing (MEC) Platform-as-a-Service for Enterprises
Enabling Multi-access Edge Computing (MEC) Platform-as-a-Service for EnterprisesMichelle Holley
 
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxPractical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxSamsung Open Source Group
 
SDN/NFV: Service Chaining
SDN/NFV: Service Chaining SDN/NFV: Service Chaining
SDN/NFV: Service Chaining Odinot Stanislas
 
Data Plane Evolution: Towards Openness and Flexibility
Data Plane Evolution: Towards Openness and FlexibilityData Plane Evolution: Towards Openness and Flexibility
Data Plane Evolution: Towards Openness and FlexibilityAPNIC
 
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...Junho Suh
 
IoT Field Area Network Solutions & Integration of IPv6 Standards by Patrick G...
IoT Field Area Network Solutions & Integration of IPv6 Standards by Patrick G...IoT Field Area Network Solutions & Integration of IPv6 Standards by Patrick G...
IoT Field Area Network Solutions & Integration of IPv6 Standards by Patrick G...gogo6
 
6WINDGate™ - Enabling NFV for Telco Architectures
6WINDGate™ - Enabling NFV for Telco Architectures6WINDGate™ - Enabling NFV for Telco Architectures
6WINDGate™ - Enabling NFV for Telco Architectures6WIND
 
NFV Infrastructure Manager with High Performance Software Switch Lagopus
NFV Infrastructure Manager with High Performance Software Switch Lagopus NFV Infrastructure Manager with High Performance Software Switch Lagopus
NFV Infrastructure Manager with High Performance Software Switch Lagopus Hirofumi Ichihara
 

Similar to DPDK summit 2015: It's kind of fun to do the impossible with DPDK (20)

Software Stacks to enable SDN and NFV
Software Stacks to enable SDN and NFVSoftware Stacks to enable SDN and NFV
Software Stacks to enable SDN and NFV
 
FD.IO Vector Packet Processing
FD.IO Vector Packet ProcessingFD.IO Vector Packet Processing
FD.IO Vector Packet Processing
 
6WINDGate™ - Accelerated Data Plane Solution for EPC and vEPC
6WINDGate™ - Accelerated Data Plane Solution for EPC and vEPC6WINDGate™ - Accelerated Data Plane Solution for EPC and vEPC
6WINDGate™ - Accelerated Data Plane Solution for EPC and vEPC
 
G rpc talk with intel (3)
G rpc talk with intel (3)G rpc talk with intel (3)
G rpc talk with intel (3)
 
Approaching hyperconvergedopenstack
Approaching hyperconvergedopenstackApproaching hyperconvergedopenstack
Approaching hyperconvergedopenstack
 
6WINDGate™ - Enabling Cloud RAN Virtualization
6WINDGate™ - Enabling Cloud RAN Virtualization6WINDGate™ - Enabling Cloud RAN Virtualization
6WINDGate™ - Enabling Cloud RAN Virtualization
 
18-20180514_SRv6_RIPE.pdf
18-20180514_SRv6_RIPE.pdf18-20180514_SRv6_RIPE.pdf
18-20180514_SRv6_RIPE.pdf
 
Lenovo networking: top of the top of the rack
Lenovo networking: top of the top of the rackLenovo networking: top of the top of the rack
Lenovo networking: top of the top of the rack
 
Introduction to Programmable Networks by Clarence Anslem, Intel
Introduction to Programmable Networks by Clarence Anslem, IntelIntroduction to Programmable Networks by Clarence Anslem, Intel
Introduction to Programmable Networks by Clarence Anslem, Intel
 
Snabbflow: A Scalable IPFIX exporter
Snabbflow: A Scalable IPFIX exporterSnabbflow: A Scalable IPFIX exporter
Snabbflow: A Scalable IPFIX exporter
 
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceAdding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
 
Enabling Multi-access Edge Computing (MEC) Platform-as-a-Service for Enterprises
Enabling Multi-access Edge Computing (MEC) Platform-as-a-Service for EnterprisesEnabling Multi-access Edge Computing (MEC) Platform-as-a-Service for Enterprises
Enabling Multi-access Edge Computing (MEC) Platform-as-a-Service for Enterprises
 
OpenFlow Tutorial
OpenFlow TutorialOpenFlow Tutorial
OpenFlow Tutorial
 
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxPractical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
 
SDN/NFV: Service Chaining
SDN/NFV: Service Chaining SDN/NFV: Service Chaining
SDN/NFV: Service Chaining
 
Data Plane Evolution: Towards Openness and Flexibility
Data Plane Evolution: Towards Openness and FlexibilityData Plane Evolution: Towards Openness and Flexibility
Data Plane Evolution: Towards Openness and Flexibility
 
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
 
IoT Field Area Network Solutions & Integration of IPv6 Standards by Patrick G...
IoT Field Area Network Solutions & Integration of IPv6 Standards by Patrick G...IoT Field Area Network Solutions & Integration of IPv6 Standards by Patrick G...
IoT Field Area Network Solutions & Integration of IPv6 Standards by Patrick G...
 
6WINDGate™ - Enabling NFV for Telco Architectures
6WINDGate™ - Enabling NFV for Telco Architectures6WINDGate™ - Enabling NFV for Telco Architectures
6WINDGate™ - Enabling NFV for Telco Architectures
 
NFV Infrastructure Manager with High Performance Software Switch Lagopus
NFV Infrastructure Manager with High Performance Software Switch Lagopus NFV Infrastructure Manager with High Performance Software Switch Lagopus
NFV Infrastructure Manager with High Performance Software Switch Lagopus
 

Recently uploaded

Software Coding for software engineering
Software Coding for software engineeringSoftware Coding for software engineering
Software Coding for software engineeringssuserb3a23b
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 

Recently uploaded (20)

Software Coding for software engineering
Software Coding for software engineeringSoftware Coding for software engineering
Software Coding for software engineering
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 

DPDK summit 2015: It's kind of fun to do the impossible with DPDK

  • 1. 0Copyright©2015 NTT corp. All Rights Reserved. It's kind of fun to do the impossible with DPDK Yoshihiro Nakajima, Hirokazu Takahashi, Kunihiro Ishiguro, Koji Yamazaki NTT Labs
  • 2. 1Copyright©2015 NTT corp. All Rights Reserved. Agenda  Motivation for fun   Fun with Lagopus SDN switch   Fun with speed   Smart FPGA for software dataplane  Fun with experience   SDN IX @ Interop Tokyo 2015 ShowNet
  • 3. 2Copyright©2015 NTT corp. All Rights Reserved. Motivation for fun  Trend
  • 4. 3Copyright©2015 NTT corp. All Rights Reserved. Trend shift in networking  Closed (Vender lock-in)  Yearly dev cycle  Waterfall dev  Standardization  Protocol  Special purpose HW / appliance  Distributed cntrl  Custom ASIC / FPGA  Wired logic dataplane  Open (lock-in free)  Monthly dev cycle  Agile dev  DE fact standard  API  Commodity HW/ Server  Logically centralized cntrl  Merchant Chip  Software dataplane
  • 5. 4Copyright©2015 NTT corp. All Rights Reserved. 4 Evaluate the benefits of SDN by implementing control plane and switch for fun 
  • 6. 5Copyright©2015 NTT corp. All Rights Reserved. Lagopus SDN switch project
  • 7. 6Copyright©2015 NTT corp. All Rights Reserved. Goal of Lagopus project  Provide NFV/SDN-aware switch framework  SDN switch agent (OpenFlow, REST)  100Gbps high-performance soft dataplane  Flexible/extensible switch configuration datastore  DPDK extension (library, FPGA NIC, vNIC)  Cloud middleware integration  Expand software-based packet processing to carrier networks  Hardware acceleration and processing offload for scalable software dataplane
  • 8. 7Copyright©2015 NTT corp. All Rights Reserved.  High-performance SDN/OF software switch  40-Gbps packet processing throughput / port  Mega-class flow entries support  Low-latency and wire-rate speed in smaller packet size  Expands SDN to WAN, GW and NFV  Multiple frame format support • MPLS, PBB, MACinMAC, IPv4, IPv6  Hybrid SDN support • REST API, OpenFlow 1.3, OVSDB, NETCONF • Legacy protocol support  vSwtich for hypervisor, container virtualization Target
  • 9. 8Copyright©2015 NTT corp. All Rights Reserved. Lagopus vSwitch switch configuration datastore (config/stats API, SW DSL) FPGA NIC DPDK NIC DPDK libs/PMD driver Lagopus soft dataplane flow lookup flow cache OpenFlow pipeline queue/ policer Flow table Flow table flow table Flow table Flow tableGroup table Flow table Flow tablemeter table switch HAL OpenFlow 1.3agent JSON IF SNMP CLI OVSDB NET CONF L2bridge L3 (IPv4ICMP) SDN switch Agent • Full OpenFlow 1.3.4 support • Controller-less basic L2 and L3 support SDN-aware management API • OVSDB, REST • Ansible support DPDK-enabled soft dataplane • Over-10-Gbps performance • Low latency packet processing • high performance multi-layer flow lookup DPDK-enabled vNIC for NFV (virtq-pmd) Switch configuration datastore • Pub/sub mechanism • Switch config DSL • JSON IF support Soft-dataplane aware FPGA NIC
  • 10. 9Copyright©2015 NTT corp. All Rights Reserved. Fun with speed • Performance Improvement • Smart FPGA NIC for software dataplane (collaboration with Xilinx)
  • 11. 10Copyright©2015 NTT corp. All Rights Reserved. Performance Improvement
  • 12. 11Copyright©2015 NTT corp. All Rights Reserved. Basic packet processing Network I/O RX packet Frame processing Flow lookup & Action QoS・Queue Network I/O TX Packet classification & packet distribution to buffers Packet parsing lookup, Header rewrite Encap/decap Policer, Shaper Marking packet
  • 13. 12Copyright©2015 NTT corp. All Rights Reserved. What we did for performance Network I/O RX packet Frame processing Flow lookup & Action QoS・Queue Network I/O TX packet • Delayed packet frame evaluation • Delayed action (processing) evaluation • Packet batching to improve CPU $ efficiency • Delayed flow stats evaluation • Smart flow classification • Thread assignment optimization • Parallel flow lookup • Lookup tree compaction • High-performance lookup algorithm for OpenFlow (multi-layer, mask, priority-aware flow lookup) • Flow $ mechanism • Batch size tuning
  • 14. 13Copyright©2015 NTT corp. All Rights Reserved. Road to 10Gbps packet processing with 1M OpenFlow flow entries 0 2 4 6 8 10 12 14 2013 Q2 2013 Q3 2013 Q4 2014 Q1 2014 Q2 MPPS DPDK-powered I/O Lookup performance Project start point OF lookup improved Lookup optimization Flow $ and Lookup optimization with 12 CPU cores Packet processing optimization with 4 CPU cores 
  • 15. 14Copyright©2015 NTT corp. All Rights Reserved. Big change from Y2013 NowBefore project   10Gpbs by software dataplane? Impossible!! Software dataplane becomes great performance. We try vSwitch for our usecases.
  • 16. 15Copyright©2015 NTT corp. All Rights Reserved. Smart FPGA NIC for software dataplane
  • 17. 16Copyright©2015 NTT corp. All Rights Reserved. Motivation  Network I/O is not optimized for multi-core CPU  Std NIC does not support RSS for WAN protocol  Software-based processing are heavy  Packet classifier  Packet dispatcher are heavy  QoS and needs lots of CPU cycles NIC 1 RX NIC 2 RX I/O RX I/O RX NIC 1 TX NIC 2 TX I/O TX I/O TX Flow lookup packet processing Flow lookup packet processing Flow lookup packet processing Flow lookup packet processing NIC 3 RX NIC 4 RX NIC 3 TX NIC 4 TX NIC RX buffer Ring buffer Ring buffer NIC TX buffer Bottleneck for Multi-core CPU QoS Compact flow lookup tree Multiple network I/O for multi CORE CPU
  • 18. 17Copyright©2015 NTT corp. All Rights Reserved.  Leverage hardware offload processing of smart FPGA NIC  Flexible hardware-based packet classifier & dispatcher  Hardware-based packet marking for post-packet-processing  Optimized to multi-core CPU  Efficient packet processing for multi-thread Co-design approach for performance Performance Flexiblity Availability SDN hardware switch +HW offload Advance features leveraging HW High-relibility, High-performance with HW
  • 19. 18Copyright©2015 NTT corp. All Rights Reserved. FPGA Flow Classification & Dispatch FPGA ・・・ DMA transfter DST DST DST RAM3 RAM2 RAM1 RAMN RAM5 RAM4 #1 #2 #3 #4 #5 #N Cores Workload #1 #2 #3 #4 #5 #N Cores Workload Ingress traffic (RX) Classifier (SDNet) Multi-core Processor (Xeon®E5) Processor RX workload w/o smart FPGA NIC w/ smart FPGA NIC 32 channels RX DMA Flow Dispatcher Dispatcher Classifier Xilinx Virtex®-7 (XC7VX690T)
  • 20. 19Copyright©2015 NTT corp. All Rights Reserved. Lagopus software data-plane • Hash, cache search and match are omitted • Increase network I/O performance  Front-end hardware-based packet classification and packet dispatcher  Reconfigurable packet filter for dynamic load balance for worker thread  DPDK flow director API compatible FPGA NIC and soft dataplane RX Disp TX TX threadRX thread Header parsing Hash calc Cache search Match Action Init OpenFlow worker thread For 32 queues Hardware classification & dispatch on FPGA NIC • Reprogrammable filters in look-up table • Configured by DPDK flow director API VLAN 1 VLAN 2 VLAN 3 ・ ・ ・ ・ ・ VLAN 32 Q1 Q2 Q3 ・ ・ ・ ・ ・ Q32 Result (QID)Perfect match filter (ex. VLAN-ID) Filterentries Filters For 32 queues
  • 21. 20Copyright©2015 NTT corp. All Rights Reserved. Improved performance with Smart FPGA NIC ETH/VLAN/IPV4, 1 Flow, Intel Xeon® E5-2680 v2 (Ivy Bridge-EP)@ 2.8GHz, 10C/20T, Xilinx FPGA NIC, DPDK-1.7.1 0.00 5.00 10.00 15.00 20.00 25.00 30.00 35.00 40.00 0 500 1000 1500 2000 Throughput(Gpbs) Frame Size (Bytes) 40G Line Rate 4 cores only, Flow Director=OFF 4 cores + FPGA, Flow Director=ON 8 cores + FPGA, Flow Director=ON 4 cores: RX(1C), Worker(2C), TX(1C) 8 cores: RX(2C), Worker(5C), TX(1C) 40Gbps wire-speed from 384 Bytes
  • 22. 21Copyright©2015 NTT corp. All Rights Reserved. Summery  Small extension of NIC give great benefit for software dataplane  Performance improvement  Save CPU cycle for important processing  Save CPU cores for the same processing with standard NIC
  • 23. 22Copyright©2015 NTT corp. All Rights Reserved. Fun with experience SDN IX
  • 24. 23Copyright©2015 NTT corp. All Rights Reserved. SDN IX @ Interop Tokyo 2015 ShowNet Interop Tokyo is the biggest Internet-related technology show in Japan. This trial was collaboration with NECOMA project (NAIST & University of Tokyo)
  • 25. 24Copyright©2015 NTT corp. All Rights Reserved. Motivation  IX (Internet eXchange)  Packet exchange point between ISP and DC-SP  Boarder router of ISP exchanges route information  Issue  Enhance automation in provisioning and configuration  DDoS attack is one of the most critical issues • ISP wants to reduce DDoS-related traffic in origin • DDoS traffic occupies link bandwidth IX ISP-CISP A ISP-DISP B SW SWSW SW ISP-EISP F IX ISP-CISP A ISP-DISP B SW SWSW SW ISP-EISP F
  • 26. 25Copyright©2015 NTT corp. All Rights Reserved. What is SDN IX?  Next generation IX with SDN technology  Web portal-based path provisioning between ISPs • Inter-AS L2 connectivity – VLAN-based path provisioning – Private peer provisioning  Protect network from DDoS attack • On-demand 5-tuple-baesd packet filtering  SDN IX controller and distributed SDN/OpenFlow IX core switch Developed by NECOMA project (NAIST and University of Tokyo) ISP-CISP A ISP-DISP B ISP-EISP F ISP-CISP A ISP-DISP B SW SWSW SW ISP-EISP F
  • 27. 26Copyright©2015 NTT corp. All Rights Reserved. Lagopus @ ShowNet 2015  Two Lagopus (soft switch) are deployed for SDN-IX core switch  Multiple 10Gbps links  Dual Xeon E5 8core CPUs
  • 28. 27Copyright©2015 NTT corp. All Rights Reserved. Lagopus @ ShowNet rack
  • 29. 28Copyright©2015 NTT corp. All Rights Reserved. Path provisioning Router Router AS290AS131154 DIX-IEJPIXISP Router 10G-LR lagopus-1 (DPID:2) OFS (DPID:1) IXJGNX lagopus-2 (DPID:4) OFS (DPID:3) xg-89:0.1 (port 4) xg-83:0.0 (port 1) xg-89:00.0 (port 3) xg-83:00.1 (port 2) xg-83:0.0 (port 1) xg-83:0.1 (port 2) xg-89:0.0 (port 3) xg-1-0-49 (port 49) xg-1-0-51 (port 51) xg-1-0-52 (port 52) xg-1-0-50 (port 50) xg-1-0-49 (port 49) xg-1-0-50 (port 50) xg-1-0-51 (port 51) Otemachi Makuhari (Interop Veneue)
  • 30. 29Copyright©2015 NTT corp. All Rights Reserved.  Average 2Gbps throughput  No packet drop  No reboot & no trouble for 1 week during Interop Tokyo  Sometimes 10Gbps burst traffic Traffic on Lagopus @Makuhari
  • 31. 30Copyright©2015 NTT corp. All Rights Reserved. Big change happened Before After   vSwitch has lots of issues on performance, scalability, stability, ….. vSwitch works well without any trouble! Good performance, Good stability.
  • 32. 31Copyright©2015 NTT corp. All Rights Reserved.  It's kind of fun to do the impossible with DPDK  Enjoy hacking with DPDK for your networking!  Performance optimization is fun   Lagopus project commit to high-performance vswitch development for fun   We still have lots of issues for fun  • Lookup optimization, performance improvement, ….  Changing one’s mind is great fun   Real experience change their mind  Conclusion
  • 33. 32Copyright©2015 NTT corp. All Rights Reserved.  Lagopus demonstration  vSwitch performance benchmark • Haswell-EP and Fortville • Carrier usecase  MPLS-based segment routing (source routing) and NFV integration https://github.com/lagopus/ vSwitch, DPDK extension, and more… Visit our booth #172 in IDF15SFO