Lagopus: SDN Software Switch - Events |...
Transcript of Lagopus: SDN Software Switch - Events |...
Copyright©2014 NTT corp. All Rights Reserved.
Lagopus: SDN Software Switch
April 2015
NTT Network Innovation Laboratories
Hirokazu Takahashi
1 Copyright©2014 NTT corp. All Rights Reserved.
What’s Lagopus?
A software implementation of OpenFlow switch
Can be run on commodity x86 servers and Linux
High performance
> 10Gbps wire-rate packet processing
Almost fully conforms to OpenFlow 1.3.4 spec.
Open source
http://lagopus.github.io/
OpenFlow controller
Control plane
OpenFlow protocol
OpenFlow switch
Data plane
Flow Table
Flow pattern Flow pattern
Flow pattern Flow pattern Flow pattern
Flow pattern
Flow Table
#2
Flow Table
#3
Flow Table
#4
2 Copyright©2014 NTT corp. All Rights Reserved.
Agenda
Motivation and Target
Basic Design and Evaluation
Current Development
Community Activities
3 Copyright©2014 NTT corp. All Rights Reserved.
Motivation
Agile and flexible networking Full automation in provisioning, operation and management
Seamless networking for customers
Server virtualization and NFV needs a high-performance software switch Small latency
Wire-rate with short packet (64B)
NO high-performance OpenFlow 1.3 software switch for wide-area networks 1M flow rules
10Gbps-wire-rate
Management protocol
4 Copyright©2014 NTT corp. All Rights Reserved.
Target of Lagopus
High performance software-based OpenFlow switch 10Gbps wire-rate packet processing 1M flow rules
Expands the application to wide-area networks Not only for data centers WAN protocols, e.g. MPLS and PBB Various management/configuration interfaces
Open Innovation Already released as OSS, http://lagopus.github.io/
5 Copyright©2014 NTT corp. All Rights Reserved.
Agenda
Motivation and Target
Basic Design and Evaluation
Current Development
Community Activities
6 Copyright©2014 NTT corp. All Rights Reserved.
Design
Switch agent and data plane component Connected via event queue
Supports multiple data plane implementations
Switch agent Modular architecture
Easy to add configuration and management protocols
Software data plane User space implementation
using Intel DPDK
Easy deployment
OpenFlow controller
OpenFlow 1.3
7 Copyright©2014 NTT corp. All Rights Reserved.
Software data plane implementation
OpenFlow data plane processing Reducing data copy, packet batching, polling, ...
Exploit many core CPUs Pipelining: dividing I/O and packet processing Parallelizing each processing
Improves performance and reduces I/O overhead
NIC 1 RX
NIC 2 RX
I/O RX CPU0
I/O RX CPU1
NIC 1 TX
NIC 2 TX
I/O TX CPU6
I/O TX CPU7
Flow lookup packet processing
CPU2
Flow lookup packet processing
CPU4
Flow lookup packet processing
CPU3
Flow lookup packet processing
CPU5
NIC 3 RX
NIC 4 RX
NIC 3 TX
NIC 4 TX
NIC RX buffer
Ring buffer
Ring buffer NIC TX buffer
8 Copyright©2014 NTT corp. All Rights Reserved.
Functional evaluation example
Conformance test results by Ryu Certification http://osrg.github.io/ryu/certification.html
OpenFlow Switch Action (56) Set Field (170) Match (714) Group (15) Meter (36) Total (991)
Switch A 34 90 467 8 0 599
Switch B 34 96 534 6 0 670
Switch C 50 103 599 15 26 793
Switch D 24 68 428 3 4 527
Switch E 50 159 708 15 34 966
Lagopus 56 161 714 15 34 980
9 Copyright©2014 NTT corp. All Rights Reserved.
Performance evaluation example WAN-DC Gateway, throughput vs packet size, 1 flow, flow-cache
0
1
2
3
4
5
6
7
8
9
10
0 200 400 600 800 1000 1200 1400 1600
Throughput(Gbps)
Packetsize(byte)
10flowrules
100flowrules
1kflowrules
10kflowrules
100kflowrules
1Mflowrules
10 Copyright©2014 NTT corp. All Rights Reserved.
Performance evaluation example WAN-DC Gateway, throughput vs flows, 1518 bytes packet
0
1
2
3
4
5
6
7
8
9
10
1 10 100 1000 10000 100000 1000000
Throughput(Gbps)
flows
10kflowrules
100kflowrules
1Mflowrules
11 Copyright©2014 NTT corp. All Rights Reserved.
Agenda
Motivation and Target
Basic Design and Evaluation
Current Development
Community Activities
12 Copyright©2014 NTT corp. All Rights Reserved.
Virtual NIC
VM to VM and VM to physical NW forwarding Reducing data copy and context switching between VM and Lagopus
Has been released as OpenSouce
Will be merged to Intel DPDK 2.0.0
Guest1
QEMU
App
DPDK
Guest2
QEMU
App
DPDK
Vir o-netPMD Vir o-netPMD
Lagopusvswitch
DPDK
PMD
MapmemoryinguestVMtolagopusmemory
MapmemoryinguestVMtolagopusmemory
vir o vir o
viro
queu
e
viro
queu
e
PMDvNIC
PMDvNIC
13 Copyright©2014 NTT corp. All Rights Reserved.
Management data store
Common data store connected to multiple management I/F Switch setting data store includes
NIC, bridge, controller, logs, ...
Multiple namespaces, atomic region (transaction), rollback, ...
Will be released in 2Q 2015
14 Copyright©2014 NTT corp. All Rights Reserved.
What’s next?
Agent
OpenFlow 1.5
Openconfig
Data-plane
40Gbps wire-rate
Whitebox switch
15 Copyright©2014 NTT corp. All Rights Reserved.
Agenda
Motivation and Target
Basic Design and Evaluation
Current Development
Community Activities
16 Copyright©2014 NTT corp. All Rights Reserved.
Open Source
Released on Jul. 2014
http://lagopus.github.io/
17 Copyright©2014 NTT corp. All Rights Reserved.
Promotion (last 12 months)
5/13 NV Symposium (Japan) 5/21 ONDM (Sweden) 5/22 IPOP2014 (Japan) 5/30 NV&SDN World (UK) 6/6 Press release 6/11-13 Interop Tokyo 2014 (Japan) 6/27 PIF (Japan) 7/30 NWGN Symposium (Japan) 7/31 NV Symposium (Japan) 7/31 Open source release 8/1 OCS summer school (Japan) 8/4-6 Lagopus Hands-on (Taiwan) 8/30 Lagopus Day Tokyo (Japan) 9/8 DPDK Summit (USA) 9/19 Cloud & SDN Seminar (Japan) 9/27 Lagopus Day Yokohama (Japan) 10/3 CIAJ (Japan) 10/7 ICT innovation forum (Japan) 10/14 SDN & OpenFlow World Congress (Germany) 10/22 Broadband World Forum (Netherland) 10/31 SDN Japan (Japan) 11/3-5 SDN/MPLS 2014 (USA) 11/12-14 SDN Taiwan & Lagpus Hands-on (Taiwan) 11/18 Internet Week 2014 (Japan) 11/27-28 Docomo R&D Open House (Japan) 12/11-12 Okinawa OpenDays (Japan) 12/19 Lagopus Day Osaka (Japan) 12/22 Nikkei Electronics Magazine (Japan) 2/1 Nikkei Communication Magazine (Japan) 2/19-20 NTT R&D Forum (Japan) 2/27-28 Open Source Conference (Japan) 3/2-6 APRICOT-APAN 2015 (Japan) 3/16-17 NV workshop 3/31-4/2 Internet 2 workshop (USA)
Lagopus Day Tokyo
Interop Tokyo 2014
Hands-on in Taiwan
Open Source Conference (Japan)
18 Copyright©2014 NTT corp. All Rights Reserved.
Demonstration experiment in SDN Japan
Location-aware bandwidth control for conference Wifi
Good audience, good connection
Front area, good connection
Back area, poor connection ■ A Pの識別(V LA N )
■ V ID毎にQoS制御
PoEスイッチ
インターネット
アクセスポイント( AP)
La g op u sの役割
アクセスポイント Access points
Fro
nt
Bac
k
19 Copyright©2014 NTT corp. All Rights Reserved.
Related business
Stratosphere Inc.
Press release for Lagopus professional support
Riava Inc.
Sells Lagopus-inside box
20 Copyright©2014 NTT corp. All Rights Reserved.
Thank you for your attention
This research is a part of the project for “Research and Development of Network Virtualization Technology” supported by the Ministry of Internal Affairs and Communications.