Coherent SDN Forwarding Plane Programming
-
Upload
open-networking-summits -
Category
Technology
-
view
91 -
download
1
Transcript of Coherent SDN Forwarding Plane Programming
HUAWEI TECHNOLOGIES CO., LTD.
www.huawei.com
Coherent SDN Forwarding Plane Programming
Haoyu Song, Jun Gong, Hongfei Chen
Huawei Technologies, USA
HUAWEI TECHNOLOGIES CO., LTD. Page 1
1.7c
m
2.2c
m
2.2c
m
1.8
cm
2.2c
m
2.2c
m
1.7c
m
Coler Sample
The following nine
groups of colors are
an example of how
our design colors can
be used, please take
note that you should
only use one design
color group per slide.
For specific usage
details, refer to the
“Typesetting
Standard”.
1.8
cm
Cover
The main title: 50-60pt
Subtitle: 25-30pt
Line spacing: Same size like
the title font
Color : R153 G0 B0
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Contents
The main title: 32pt
The main contents: 28pt
Sub contents: 20pt
Line spacing: 1.5 line
Color : R153 G0 B0
Other Color: R127 G127 B127
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Text
The main title: 32pt
Subtitle: 16-20pt
Text: 10-16pt
Line spacing: As need
Color: Black
Font Internal: FrutigerNext
LT Regular
Font External: Arial
Applications
Programming
Environments
Standard/OF2.0
Protocol Oblivious Forwarding
• Evolve SDN toward fully-programmable networks and support network application innovation
• Simplified & future-proof Forwarding Elements with open & fully-programmable interface
• Data path programming with generic instructions to support any protocol and stateful service
Heterogeneous
Systems
POF Optimized
Silicon
PO
F E
co
sys
tem
HUAWEI TECHNOLOGIES CO., LTD. Page 2
1.7c
m
2.2c
m
2.2c
m
1.8
cm
2.2c
m
2.2c
m
1.7c
m
Coler Sample
The following nine
groups of colors are
an example of how
our design colors can
be used, please take
note that you should
only use one design
color group per slide.
For specific usage
details, refer to the
“Typesetting
Standard”.
1.8
cm
Cover
The main title: 50-60pt
Subtitle: 25-30pt
Line spacing: Same size like
the title font
Color : R153 G0 B0
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Contents
The main title: 32pt
The main contents: 28pt
Sub contents: 20pt
Line spacing: 1.5 line
Color : R153 G0 B0
Other Color: R127 G127 B127
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Text
The main title: 32pt
Subtitle: 16-20pt
Text: 10-16pt
Line spacing: As need
Color: Black
Font Internal: FrutigerNext
LT Regular
Font External: Arial
Programming Framework Architecture
OpenFlow 2.0
High Level
Language
Platform
Independent
Compiler
GUI/CLI Lib/TTP
APP
Conventional
ASIC SDN ASIC CPU NPU
Platform
Specific
Compiler
Platform
Specific
Compiler
Platform
Specific
Compiler
Platform
Specific
Compiler
APP APP
Platform
Optimized Lib
customized
interactive
standard
inte
rpre
t
inte
rpre
t
Nativ
e e
xec
HUAWEI TECHNOLOGIES CO., LTD. Page 3
1.7c
m
2.2c
m
2.2c
m
1.8
cm
2.2c
m
2.2c
m
1.7c
m
Coler Sample
The following nine
groups of colors are
an example of how
our design colors can
be used, please take
note that you should
only use one design
color group per slide.
For specific usage
details, refer to the
“Typesetting
Standard”.
1.8
cm
Cover
The main title: 50-60pt
Subtitle: 25-30pt
Line spacing: Same size like
the title font
Color : R153 G0 B0
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Contents
The main title: 32pt
The main contents: 28pt
Sub contents: 20pt
Line spacing: 1.5 line
Color : R153 G0 B0
Other Color: R127 G127 B127
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Text
The main title: 32pt
Subtitle: 16-20pt
Text: 10-16pt
Line spacing: As need
Color: Black
Font Internal: FrutigerNext
LT Regular
Font External: Arial
OpenFlow 2.0 Interface as Thin Waist
• Support protocol-oblivious forwarding plane
• Agnostic to forwarding element architectures
• Support coarse-grained and fine-grained programming
• An intermediate platform-independent instruction set
• Packet/Metadata Editing: set field, add field, delete field, math/logic operations on field
• Flow Metadata Manipulation: read, write
• Algorithm/Function Procedure: checksum, fragmentation, etc.
• Table Access: go to table (non return), search table (return to calling instruction)
• Output: physical/virtual/logic port, sampling/data path generated packets
• Jump/Branching: conditional and unconditional, absolute and relative
• Active Data Path: insert/delete/modify flow entry, insert/delete flow table
HUAWEI TECHNOLOGIES CO., LTD. Page 4
1.7c
m
2.2c
m
2.2c
m
1.8
cm
2.2c
m
2.2c
m
1.7c
m
Coler Sample
The following nine
groups of colors are
an example of how
our design colors can
be used, please take
note that you should
only use one design
color group per slide.
For specific usage
details, refer to the
“Typesetting
Standard”.
1.8
cm
Cover
The main title: 50-60pt
Subtitle: 25-30pt
Line spacing: Same size like
the title font
Color : R153 G0 B0
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Contents
The main title: 32pt
The main contents: 28pt
Sub contents: 20pt
Line spacing: 1.5 line
Color : R153 G0 B0
Other Color: R127 G127 B127
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Text
The main title: 32pt
Subtitle: 16-20pt
Text: 10-16pt
Line spacing: As need
Color: Black
Font Internal: FrutigerNext
LT Regular
Font External: Arial
Instruction Block Instruction
Block
Abstract OF2.0 Flow Entry
Match Key Parameter Instruction Block ID
Instruction Block
Flow Metadata
Pool Counter Pool Meter Pool
• Decouple key and instruction
• Parameterize flow entry
• Shared resource pool
• FE mapping done by HAL
• Flexibility and Efficiency
HUAWEI TECHNOLOGIES CO., LTD. Page 5
1.7c
m
2.2c
m
2.2c
m
1.8
cm
2.2c
m
2.2c
m
1.7c
m
Coler Sample
The following nine
groups of colors are
an example of how
our design colors can
be used, please take
note that you should
only use one design
color group per slide.
For specific usage
details, refer to the
“Typesetting
Standard”.
1.8
cm
Cover
The main title: 50-60pt
Subtitle: 25-30pt
Line spacing: Same size like
the title font
Color : R153 G0 B0
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Contents
The main title: 32pt
The main contents: 28pt
Sub contents: 20pt
Line spacing: 1.5 line
Color : R153 G0 B0
Other Color: R127 G127 B127
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Text
The main title: 32pt
Subtitle: 16-20pt
Text: 10-16pt
Line spacing: As need
Color: Black
Font Internal: FrutigerNext
LT Regular
Font External: Arial
Three Programming Approaches
customized
High level language
Platform Independent
Compiler
OF2.0
interactive
GUI/CLI
OF2.0
standard
OF2.0
Library/TTP
HUAWEI TECHNOLOGIES CO., LTD. Page 6
1.7c
m
2.2c
m
2.2c
m
1.8
cm
2.2c
m
2.2c
m
1.7c
m
Coler Sample
The following nine
groups of colors are
an example of how
our design colors can
be used, please take
note that you should
only use one design
color group per slide.
For specific usage
details, refer to the
“Typesetting
Standard”.
1.8
cm
Cover
The main title: 50-60pt
Subtitle: 25-30pt
Line spacing: Same size like
the title font
Color : R153 G0 B0
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Contents
The main title: 32pt
The main contents: 28pt
Sub contents: 20pt
Line spacing: 1.5 line
Color : R153 G0 B0
Other Color: R127 G127 B127
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Text
The main title: 32pt
Subtitle: 16-20pt
Text: 10-16pt
Line spacing: As need
Color: Black
Font Internal: FrutigerNext
LT Regular
Font External: Arial
Four Different Target Platforms
CPU
NPU
ASIC
SDN-specific
IC
Performance
Fle
xib
ilit
y
HUAWEI TECHNOLOGIES CO., LTD. Page 7
1.7c
m
2.2c
m
2.2c
m
1.8
cm
2.2c
m
2.2c
m
1.7c
m
Coler Sample
The following nine
groups of colors are
an example of how
our design colors can
be used, please take
note that you should
only use one design
color group per slide.
For specific usage
details, refer to the
“Typesetting
Standard”.
1.8
cm
Cover
The main title: 50-60pt
Subtitle: 25-30pt
Line spacing: Same size like
the title font
Color : R153 G0 B0
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Contents
The main title: 32pt
The main contents: 28pt
Sub contents: 20pt
Line spacing: 1.5 line
Color : R153 G0 B0
Other Color: R127 G127 B127
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Text
The main title: 32pt
Subtitle: 16-20pt
Text: 10-16pt
Line spacing: As need
Color: Black
Font Internal: FrutigerNext
LT Regular
Font External: Arial
Design Path We Have Explored
OpenFlow 2.0
High Level
Language
Platform
Independent
Compiler
GUI/CLI Lib/TTP
APP
Conventional
ASIC SDN ASIC CPU NPU
Platform
Specific
Compiler
Platform
Specific
Compiler
Platform
Specific
Compiler
Platform
Specific
Compiler
APP APP
Platform
Optimized Lib
customized
interactive
standard
inte
rpre
t
inte
rpre
t
Nativ
e e
xec
HUAWEI TECHNOLOGIES CO., LTD. Page 8
1.7c
m
2.2c
m
2.2c
m
1.8
cm
2.2c
m
2.2c
m
1.7c
m
Coler Sample
The following nine
groups of colors are
an example of how
our design colors can
be used, please take
note that you should
only use one design
color group per slide.
For specific usage
details, refer to the
“Typesetting
Standard”.
1.8
cm
Cover
The main title: 50-60pt
Subtitle: 25-30pt
Line spacing: Same size like
the title font
Color : R153 G0 B0
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Contents
The main title: 32pt
The main contents: 28pt
Sub contents: 20pt
Line spacing: 1.5 line
Color : R153 G0 B0
Other Color: R127 G127 B127
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Text
The main title: 32pt
Subtitle: 16-20pt
Text: 10-16pt
Line spacing: As need
Color: Black
Font Internal: FrutigerNext
LT Regular
Font External: Arial
FE Compiling vs. Interpreting
Intermediate OF instruction = API
Each OF instruction = a piece of
microcode
Simple but not efficient
Field parsing & key construction
Large microcode instruction count
Large number of thread switches
Large flow table entry size
Interpreter Mode
Instructions blocks are directly
compiled into microcode
Complex but efficient
Direct register reference
Take advantage of entry parameters
Small microcode instruction count
Small number of thread switches
Small flow table entry size
Compiler Mode
HUAWEI TECHNOLOGIES CO., LTD. Page 9
1.7c
m
2.2c
m
2.2c
m
1.8
cm
2.2c
m
2.2c
m
1.7c
m
Coler Sample
The following nine
groups of colors are
an example of how
our design colors can
be used, please take
note that you should
only use one design
color group per slide.
For specific usage
details, refer to the
“Typesetting
Standard”.
1.8
cm
Cover
The main title: 50-60pt
Subtitle: 25-30pt
Line spacing: Same size like
the title font
Color : R153 G0 B0
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Contents
The main title: 32pt
The main contents: 28pt
Sub contents: 20pt
Line spacing: 1.5 line
Color : R153 G0 B0
Other Color: R127 G127 B127
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Text
The main title: 32pt
Subtitle: 16-20pt
Text: 10-16pt
Line spacing: As need
Color: Black
Font Internal: FrutigerNext
LT Regular
Font External: Arial
NPU Case Study
Platform Huawei NE40E/5000E Router Platform
40G NPU in Run-To-Completion (RTC) mode
High level language C language
Basic IPv4 Forwarding Go-to-Table Instruction comparison
• The Compiler Mode has 2x performance advantage over the Interpreter Mode
and has the similar performance as the non-SDN implementation
HUAWEI TECHNOLOGIES CO., LTD. Page 10
1.7c
m
2.2c
m
2.2c
m
1.8
cm
2.2c
m
2.2c
m
1.7c
m
Coler Sample
The following nine
groups of colors are
an example of how
our design colors can
be used, please take
note that you should
only use one design
color group per slide.
For specific usage
details, refer to the
“Typesetting
Standard”.
1.8
cm
Cover
The main title: 50-60pt
Subtitle: 25-30pt
Line spacing: Same size like
the title font
Color : R153 G0 B0
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Contents
The main title: 32pt
The main contents: 28pt
Sub contents: 20pt
Line spacing: 1.5 line
Color : R153 G0 B0
Other Color: R127 G127 B127
Font Internal: FrutigerNext LT
Medium
Font External: Arial
Text
The main title: 32pt
Subtitle: 16-20pt
Text: 10-16pt
Line spacing: As need
Color: Black
Font Internal: FrutigerNext
LT Regular
Font External: Arial
Problem Diversified FEs will coexist for SDN
Unified SDN programming is needed
Our contributions Propose a unified programming framework centered on OpenFlow 2.0
Explored the design path for NPU-based FEs
Compare the compiler-mode and interpreter-mode implementations
Other findings Compiler mode is superior to interpreter mode
Prefer SDN-chips which can execute OF instruction natively
Future work Complete other design paths
Conclusions
Thank you www.huawei.com
Copyright©2014 Huawei Technologies Co., Ltd. All Rights Reserved.
The information in this document may contain predictive statements including, without limitation, statements regarding the future financial and
operating results, future product portfolio, new technology, etc. There are a number of factors that could cause actual results and developments
to differ materially from those expressed or implied in the predictive statements. Therefore, such information is provided for reference purpose
only and constitutes neither an offer nor an acceptance. Huawei may change the information at any time without notice.