SlideShare a Scribd company logo
1 of 14
Download to read offline
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
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
POFEcosystem
HUAWEI TECHNOLOGIES CO., LTD. Page 2
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
interpret
interpret
Nativeexec
HUAWEI TECHNOLOGIES CO., LTD. Page 3
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
Instruction
BlockInstruction
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
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
Four Different Target Platforms
CPU
NPU
ASIC
SDN-specific
IC
Performance
Flexibility
HUAWEI TECHNOLOGIES CO., LTD. Page 7
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
interpret
interpret
Nativeexec
HUAWEI TECHNOLOGIES CO., LTD. Page 8
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
NPU Case Study
 Platform
 Huawei NE40E/5000E Router Platform
 40G NPU in Run-To-Completion (RTC) mode
 High level language
 C language
Basic IPv4 ForwardingGo-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
 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.

More Related Content

What's hot

HPtelco_customer_story (2)
HPtelco_customer_story (2)HPtelco_customer_story (2)
HPtelco_customer_story (2)
Jolene Watkins
 
Maniteja_Professional_Resume
Maniteja_Professional_ResumeManiteja_Professional_Resume
Maniteja_Professional_Resume
Vaddi Maniteja
 
Shivaprakash_KR_Resume
Shivaprakash_KR_ResumeShivaprakash_KR_Resume
Shivaprakash_KR_Resume
Shiva Prakash
 
Raju_Biswas_Resume
Raju_Biswas_ResumeRaju_Biswas_Resume
Raju_Biswas_Resume
Raju Biswas
 

What's hot (20)

Birendra_resume
Birendra_resumeBirendra_resume
Birendra_resume
 
HPtelco_customer_story (2)
HPtelco_customer_story (2)HPtelco_customer_story (2)
HPtelco_customer_story (2)
 
Kannan_Resume
Kannan_ResumeKannan_Resume
Kannan_Resume
 
Intel the-latest-on-ofi
Intel the-latest-on-ofiIntel the-latest-on-ofi
Intel the-latest-on-ofi
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
 
Top programming Languages in software Industry companies
Top programming Languages in software Industry companiesTop programming Languages in software Industry companies
Top programming Languages in software Industry companies
 
Embedded Linux on ARM
Embedded Linux on ARMEmbedded Linux on ARM
Embedded Linux on ARM
 
DrazenGrasovec_CV
DrazenGrasovec_CVDrazenGrasovec_CV
DrazenGrasovec_CV
 
Introduction to c
Introduction to cIntroduction to c
Introduction to c
 
Maniteja_Professional_Resume
Maniteja_Professional_ResumeManiteja_Professional_Resume
Maniteja_Professional_Resume
 
Python Introduction
Python IntroductionPython Introduction
Python Introduction
 
programmersworld
programmersworldprogrammersworld
programmersworld
 
The Ring programming language version 1.5.4 book - Part 5 of 185
The Ring programming language version 1.5.4 book - Part 5 of 185The Ring programming language version 1.5.4 book - Part 5 of 185
The Ring programming language version 1.5.4 book - Part 5 of 185
 
Resume M_Shams_qureshi
Resume M_Shams_qureshi Resume M_Shams_qureshi
Resume M_Shams_qureshi
 
Shivaprakash_KR_Resume
Shivaprakash_KR_ResumeShivaprakash_KR_Resume
Shivaprakash_KR_Resume
 
Swift language seminar topic
Swift language seminar topicSwift language seminar topic
Swift language seminar topic
 
Raju_Biswas_Resume
Raju_Biswas_ResumeRaju_Biswas_Resume
Raju_Biswas_Resume
 
Cisco usNIC libfabric provider
Cisco usNIC libfabric providerCisco usNIC libfabric provider
Cisco usNIC libfabric provider
 
Software language over the last 50 years, what will be next (by Pieter Zulian...
Software language over the last 50 years, what will be next (by Pieter Zulian...Software language over the last 50 years, what will be next (by Pieter Zulian...
Software language over the last 50 years, what will be next (by Pieter Zulian...
 

Viewers also liked

[Webinar Slides] Programming the Network Dataplane in P4
[Webinar Slides] Programming the Network Dataplane in P4[Webinar Slides] Programming the Network Dataplane in P4
[Webinar Slides] Programming the Network Dataplane in P4
Open Networking Summits
 

Viewers also liked (10)

DESIGN OF BARE METAL FABRICS - Built with SDN, Bare Metal Switches, and Merch...
DESIGN OF BARE METAL FABRICS - Built with SDN, Bare Metal Switches, and Merch...DESIGN OF BARE METAL FABRICS - Built with SDN, Bare Metal Switches, and Merch...
DESIGN OF BARE METAL FABRICS - Built with SDN, Bare Metal Switches, and Merch...
 
BeHop : SDN for Dense WiFi Networks
BeHop : SDN for Dense WiFi NetworksBeHop : SDN for Dense WiFi Networks
BeHop : SDN for Dense WiFi Networks
 
Control Exchange Points: Providing QoS-en abled End-to-End Services via SDN-b...
Control Exchange Points: Providing QoS-en abled End-to-End Services via SDN-b...Control Exchange Points: Providing QoS-en abled End-to-End Services via SDN-b...
Control Exchange Points: Providing QoS-en abled End-to-End Services via SDN-b...
 
Software Defined Networking: Enabling The Mobile Workplace
Software Defined Networking: Enabling The Mobile WorkplaceSoftware Defined Networking: Enabling The Mobile Workplace
Software Defined Networking: Enabling The Mobile Workplace
 
Learnings from Carrier SDN Deployments
Learnings from Carrier SDN DeploymentsLearnings from Carrier SDN Deployments
Learnings from Carrier SDN Deployments
 
ONF & SDN: Come Far, Moving Fast
ONF & SDN: Come Far, Moving FastONF & SDN: Come Far, Moving Fast
ONF & SDN: Come Far, Moving Fast
 
OPNFV Webinar – No Time to Wait: Accelerating NFV Time to Market Through Open...
OPNFV Webinar – No Time to Wait: Accelerating NFV Time to Market Through Open...OPNFV Webinar – No Time to Wait: Accelerating NFV Time to Market Through Open...
OPNFV Webinar – No Time to Wait: Accelerating NFV Time to Market Through Open...
 
[Webinar Slides] Programming the Network Dataplane in P4
[Webinar Slides] Programming the Network Dataplane in P4[Webinar Slides] Programming the Network Dataplane in P4
[Webinar Slides] Programming the Network Dataplane in P4
 
Asr
Asr Asr
Asr
 
CORD: Central Office Re-architected as a Datacenter
CORD: Central Office Re-architected as a DatacenterCORD: Central Office Re-architected as a Datacenter
CORD: Central Office Re-architected as a Datacenter
 

Similar to Coherent SDN Forwarding Plane Programming

Similar to Coherent SDN Forwarding Plane Programming (20)

Learn more about the tremendous value Open Data Plane brings to NFV
Learn more about the tremendous value Open Data Plane brings to NFVLearn more about the tremendous value Open Data Plane brings to NFV
Learn more about the tremendous value Open Data Plane brings to NFV
 
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
 
12 Factor App
12 Factor App12 Factor App
12 Factor App
 
PLNOG 8: Piotr Gierz - Protokół OpenFlow
PLNOG 8: Piotr Gierz - Protokół OpenFlow PLNOG 8: Piotr Gierz - Protokół OpenFlow
PLNOG 8: Piotr Gierz - Protokół OpenFlow
 
NFV and SDN: 4G LTE and 5G Wireless Networks on Intel(r) Architecture
NFV and SDN: 4G LTE and 5G Wireless Networks on Intel(r) ArchitectureNFV and SDN: 4G LTE and 5G Wireless Networks on Intel(r) Architecture
NFV and SDN: 4G LTE and 5G Wireless Networks on Intel(r) Architecture
 
7th SDN Expert Group Seminar - Session4
7th SDN Expert Group Seminar - Session47th SDN Expert Group Seminar - Session4
7th SDN Expert Group Seminar - Session4
 
10 Reasons to use the Renesas Remote IO solution kit
10 Reasons to use the Renesas Remote IO solution kit10 Reasons to use the Renesas Remote IO solution kit
10 Reasons to use the Renesas Remote IO solution kit
 
"An Update on Open Standard APIs for Vision Processing," a Presentation from ...
"An Update on Open Standard APIs for Vision Processing," a Presentation from ..."An Update on Open Standard APIs for Vision Processing," a Presentation from ...
"An Update on Open Standard APIs for Vision Processing," a Presentation from ...
 
Summit 16: ARM Mini-Summit - OpenDataPlane Monarch Release - Linaro
Summit 16: ARM Mini-Summit -   OpenDataPlane Monarch Release - LinaroSummit 16: ARM Mini-Summit -   OpenDataPlane Monarch Release - Linaro
Summit 16: ARM Mini-Summit - OpenDataPlane Monarch Release - Linaro
 
Remote Web Desk
Remote Web DeskRemote Web Desk
Remote Web Desk
 
Onos overview meetup sdn paris - redux
Onos overview  meetup sdn paris - reduxOnos overview  meetup sdn paris - redux
Onos overview meetup sdn paris - redux
 
parallel language and compiler
parallel language and compilerparallel language and compiler
parallel language and compiler
 
OPNFV: Road to Next-Generation Network
OPNFV: Road to Next-Generation NetworkOPNFV: Road to Next-Generation Network
OPNFV: Road to Next-Generation Network
 
What a difference 5 years make
What a difference 5 years makeWhat a difference 5 years make
What a difference 5 years make
 
Superfluid Deployment of Virtual Functions: Exploiting Mobile Edge Computing ...
Superfluid Deployment of Virtual Functions: Exploiting Mobile Edge Computing ...Superfluid Deployment of Virtual Functions: Exploiting Mobile Edge Computing ...
Superfluid Deployment of Virtual Functions: Exploiting Mobile Edge Computing ...
 
Petapath HP Cast 12 - Programming for High Performance Accelerated Systems
Petapath HP Cast 12 - Programming for High Performance Accelerated SystemsPetapath HP Cast 12 - Programming for High Performance Accelerated Systems
Petapath HP Cast 12 - Programming for High Performance Accelerated Systems
 
The Path Forward for Software Defined Networks
The Path Forward for Software Defined NetworksThe Path Forward for Software Defined Networks
The Path Forward for Software Defined Networks
 
OpenDataPlane - Bill Fischofer
OpenDataPlane - Bill FischoferOpenDataPlane - Bill Fischofer
OpenDataPlane - Bill Fischofer
 
Performance Evaluation for Software Defined Networking (SDN) Based on Adaptiv...
Performance Evaluation for Software Defined Networking (SDN) Based on Adaptiv...Performance Evaluation for Software Defined Networking (SDN) Based on Adaptiv...
Performance Evaluation for Software Defined Networking (SDN) Based on Adaptiv...
 
Stratum: Next-Gen SDN (beyond OpenFlow)
Stratum: Next-Gen SDN (beyond OpenFlow)Stratum: Next-Gen SDN (beyond OpenFlow)
Stratum: Next-Gen SDN (beyond OpenFlow)
 

More from Open Networking Summits

More from Open Networking Summits (20)

Application Driven SDN
Application Driven SDNApplication Driven SDN
Application Driven SDN
 
Software Defined Networks Network Function Virtualization Pivotal Technologies
Software Defined Networks Network Function Virtualization Pivotal TechnologiesSoftware Defined Networks Network Function Virtualization Pivotal Technologies
Software Defined Networks Network Function Virtualization Pivotal Technologies
 
NFV & SDN Customer Deployments
NFV & SDN Customer DeploymentsNFV & SDN Customer Deployments
NFV & SDN Customer Deployments
 
Automation of end-to-end QOS
Automation of end-to-end QOSAutomation of end-to-end QOS
Automation of end-to-end QOS
 
Building a Digital Telco
Building a Digital TelcoBuilding a Digital Telco
Building a Digital Telco
 
Spreading NFV through the Network: the ETSI NFV use cases
Spreading NFV through the Network: the ETSI NFV use casesSpreading NFV through the Network: the ETSI NFV use cases
Spreading NFV through the Network: the ETSI NFV use cases
 
Ranges & Cross-Entrance Consistency with OpenFlow
Ranges & Cross-Entrance Consistency with OpenFlowRanges & Cross-Entrance Consistency with OpenFlow
Ranges & Cross-Entrance Consistency with OpenFlow
 
On the Necessity of Time-based Updates in SDN
On the Necessity of Time-based Updates in SDNOn the Necessity of Time-based Updates in SDN
On the Necessity of Time-based Updates in SDN
 
ESPRES: Easy Scheduling and Prioritization for SDN
ESPRES: Easy Scheduling and Prioritization for SDNESPRES: Easy Scheduling and Prioritization for SDN
ESPRES: Easy Scheduling and Prioritization for SDN
 
SDN & OPTICAL FLOW STEERING FOR NETWORK FUNCTION VIRTUALIZATION
SDN & OPTICAL FLOW STEERING FOR NETWORK FUNCTION VIRTUALIZATIONSDN & OPTICAL FLOW STEERING FOR NETWORK FUNCTION VIRTUALIZATION
SDN & OPTICAL FLOW STEERING FOR NETWORK FUNCTION VIRTUALIZATION
 
SoftMoW: A Dynamic and Scalable Software Defined Architecture for Cellular WANs
SoftMoW: A Dynamic and Scalable Software Defined Architecture for Cellular WANsSoftMoW: A Dynamic and Scalable Software Defined Architecture for Cellular WANs
SoftMoW: A Dynamic and Scalable Software Defined Architecture for Cellular WANs
 
RadioVisor - A Slicing Plane for Radio Access Networks
RadioVisor - A Slicing Plane for Radio Access NetworksRadioVisor - A Slicing Plane for Radio Access Networks
RadioVisor - A Slicing Plane for Radio Access Networks
 
Enabling SDN in old school networks with Software-Controlled Routing Protocols
Enabling SDN in old school networks with Software-Controlled Routing ProtocolsEnabling SDN in old school networks with Software-Controlled Routing Protocols
Enabling SDN in old school networks with Software-Controlled Routing Protocols
 
Accelerating SDN/NFV with transparent offloading architecture
Accelerating SDN/NFV with transparent offloading architectureAccelerating SDN/NFV with transparent offloading architecture
Accelerating SDN/NFV with transparent offloading architecture
 
Serial Composition of Heterogeneous Control Planes
Serial Composition of Heterogeneous Control PlanesSerial Composition of Heterogeneous Control Planes
Serial Composition of Heterogeneous Control Planes
 
SFA: Stateful Forwarding Abstraction in SDN Data Plane
SFA: Stateful Forwarding Abstraction in SDN Data PlaneSFA: Stateful Forwarding Abstraction in SDN Data Plane
SFA: Stateful Forwarding Abstraction in SDN Data Plane
 
Towards a Reliable SDN Firewall
Towards a Reliable SDN FirewallTowards a Reliable SDN Firewall
Towards a Reliable SDN Firewall
 
Proof-based Verification of Software Defined Networks
Proof-based Verification of Software Defined NetworksProof-based Verification of Software Defined Networks
Proof-based Verification of Software Defined Networks
 
Software-defined Networks as Databases
Software-defined Networks as DatabasesSoftware-defined Networks as Databases
Software-defined Networks as Databases
 
Performance Driven Abstraction and Optimization for SDN
Performance Driven Abstraction and Optimization for SDNPerformance Driven Abstraction and Optimization for SDN
Performance Driven Abstraction and Optimization for SDN
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Coherent SDN Forwarding Plane Programming

  • 1.
  • 2.
  • 3. HUAWEI TECHNOLOGIES CO., LTD. www.huawei.com Coherent SDN Forwarding Plane Programming Haoyu Song, Jun Gong, Hongfei Chen Huawei Technologies, USA
  • 4. HUAWEI TECHNOLOGIES CO., LTD. Page 1 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 POFEcosystem
  • 5. HUAWEI TECHNOLOGIES CO., LTD. Page 2 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 interpret interpret Nativeexec
  • 6. HUAWEI TECHNOLOGIES CO., LTD. Page 3 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
  • 7. HUAWEI TECHNOLOGIES CO., LTD. Page 4 Instruction BlockInstruction 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
  • 8. HUAWEI TECHNOLOGIES CO., LTD. Page 5 Three Programming Approaches customized High level language Platform Independent Compiler OF2.0 interactive GUI/CLI OF2.0 standard OF2.0 Library/TTP
  • 9. HUAWEI TECHNOLOGIES CO., LTD. Page 6 Four Different Target Platforms CPU NPU ASIC SDN-specific IC Performance Flexibility
  • 10. HUAWEI TECHNOLOGIES CO., LTD. Page 7 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 interpret interpret Nativeexec
  • 11. HUAWEI TECHNOLOGIES CO., LTD. Page 8 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
  • 12. HUAWEI TECHNOLOGIES CO., LTD. Page 9 NPU Case Study  Platform  Huawei NE40E/5000E Router Platform  40G NPU in Run-To-Completion (RTC) mode  High level language  C language Basic IPv4 ForwardingGo-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
  • 13. HUAWEI TECHNOLOGIES CO., LTD. Page 10  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
  • 14. 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.