[Paper Review] Unified POF Programming for Diversified SDN Data Plane
This paper proposes a unified OpenFlow programming framework for diverse SDN data planes, enabling protocol-oblivious, platform-agnostic programming through an abstract instruction set. It demonstrates that compiler-mode implementation on an NPU-based platform achieves 11% lower performance overhead than conventional non-SDN implementations and outperforms interpreter-mode by 57% in microcode instruction count, enabling high-performance, flexible data plane programming across heterogeneous forwarding elements.
In many real-world OpenFlow-based SDN deployments, the ability to program heterogeneous forwarding elements built with different forwarding architectures is a desirable capability. In this paper, we discuss a data plane programming framework suitable for a flexible and protocol-oblivious data plane and show how OpenFlow can evolve to provide a generic interface for platform-independent programming and platform-specific compiling. We also show how an abstract instruction set can play a pivotal role to support different programming styles mapping to different forwarding chip architectures. As an example, we compare the compiler-mode and interpreter-mode implementations for an NPU-based forwarding element and conclude that the compiler-mode implementation can achieve a performance similar to that of a conventional non-SDN implementation. Built upon our protocol-oblivious forwarding (POF) vision, this work presents our continuous efforts to complete the ecosystem and pave the SDN evolving path. The programming framework could be considered as a proposal for the OpenFlow 2.0 standard.
Motivation & Objective
- To address the challenge of programming heterogeneous SDN forwarding elements with diverse architectures (ASIC, NPU, CPU) using a single, abstracted interface.
- To enable protocol-oblivious data plane programming that decouples controller logic from underlying hardware specifics.
- To support both coarse-grained (library-based) and fine-grained (instruction-based) programming for maximum flexibility.
- To demonstrate that compiler-mode compilation of OpenFlow instructions can achieve near-native performance on NPU-based platforms.
- To lay the foundation for OpenFlow 2.0 by proposing a standardized, extensible, and future-proof data plane interface.
Proposed method
- Designing a generic, protocol-oblivious OpenFlow interface with abstract flow instructions for packet/metadata editing, table access, output, branching, and active data path operations.
- Introducing a two-tiered programming model: platform-independent instruction sets mapped via platform-dependent compilers to target-specific microcode.
- Implementing both interpreter-mode and compiler-mode compilation on an NPU-based forwarding element to compare performance and code efficiency.
- Mapping OpenFlow instructions directly to microcode instructions in the compiler-mode to minimize instruction count and maximize throughput.
- Using a standardized instruction set to decouple flow entry match keys from action blocks, which are referenced by unique IDs to enable reuse.
- Evaluating performance via microcode instruction count, throughput (Mpps), and latency (cycles) across different implementations.
Experimental results
Research questions
- RQ1Can a unified, protocol-oblivious programming interface be designed to support diverse SDN forwarding elements with heterogeneous architectures?
- RQ2How does compiler-mode compilation of OpenFlow instructions compare to interpreter-mode in terms of performance and code efficiency on an NPU-based platform?
- RQ3To what extent can a compiler-mode implementation achieve performance close to conventional non-SDN implementations?
- RQ4Can abstract instruction sets enable both high-level library-based programming and low-level flow instruction programming within a single framework?
- RQ5What role does microcode instruction count play in determining the performance of data plane implementations?
Key findings
- The compiler-mode implementation required 57% fewer microcode instructions than the interpreter-mode implementation for basic IPv4 forwarding.
- Compiler-mode achieved a throughput of 77.5 Mpps, outperforming interpreter-mode at 35.3 Mpps on the same NPU platform.
- The compiler-mode implementation was only 11% slower than a conventional non-SDN implementation, demonstrating near-native performance.
- With the same number of micro cores, the compiler-mode implementation could double the throughput of the interpreter-mode implementation.
- The performance gap between compiler-mode and interpreter-mode is primarily due to microcode instruction count, highlighting the importance of direct instruction mapping.
- The framework enables platform-agnostic programming by abstracting hardware-specific details through a standardized instruction set, supporting both library-based and fine-grained programming.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.