[Paper Review] Isolation mechanisms for high-speed packet-processing pipelines
This paper proposes Menshen, a lightweight isolation mechanism for high-speed packet-processing pipelines based on the Reconfigurable Match Tables (RMT) architecture. By combining space partitioning and hardware overlay primitives, Menshen enables multiple independently developed packet-processing modules to run in parallel on the same device without interference, supporting dynamic reconfiguration without disrupting active modules. The system is implemented on FPGA platforms and shown feasible in ASICs at 1 GHz with only 6% area overhead.
Data-plane programmability is now mainstream. As we find more use cases, deployments need to be able to run multiple packet-processing modules in a single device. These are likely to be developed by independent teams, either within the same organization or from multiple organizations. Therefore, we need isolation mechanisms to ensure that modules on the same device do not interfere with each other. This paper presents Menshen, an extension of the Reconfigurable Match Tables (RMT) pipeline that enforces isolation between different packet-processing modules. Menshen is comprised of a set of lightweight hardware primitives and an extension to the open source P4-16 reference compiler that act in conjunction to meet this goal. We have prototyped Menshen on two FPGA platforms (NetFPGA and Corundum). We show that our design provides isolation, and allows new modules to be loaded without impacting the ones already running. Finally, we demonstrate that feasibility of implementing Menshen on ASICs by using the FreePDK45nm technology library and the Synopsys DC synthesis software, showing that our design meets timing at a 1GHz clock frequency and needs approximately 6% additional chip area. We have open sourced the code for Menshen's hardware and software at https://isolation.quest/.
Motivation & Objective
- To address the growing need for isolation in high-speed, programmable network devices that run multiple independently developed packet-processing modules.
- To enable safe coexistence of multiple modules on a single RMT pipeline without interference in behavior, throughput, or latency.
- To support dynamic reconfiguration of individual modules without disrupting other running modules.
- To design lightweight, hardware-efficient isolation mechanisms suitable for both FPGAs and ASICs.
- To extend the P4-16 compiler to natively support multi-module deployment on RMT pipelines.
Proposed method
- Using space partitioning to allocate distinct pipeline resources (e.g., match-action tables) to different modules.
- Introducing small configuration overlay tables that store module-specific settings for shared, non-partitionable resources like key extraction units.
- Using the packet’s module identifier as an index into overlay tables to dynamically select configurations during pipeline processing.
- Designing a set of lightweight hardware primitives integrated at key pipeline stages to enforce isolation at the data plane level.
- Extending the open-source P4-16 compiler to generate code that supports multiple modules and their isolation primitives.
- Validating the design on two FPGA platforms (NetFPGA and Corundum) and demonstrating ASIC feasibility using FreePDK45nm and Synopsys DC.
Experimental results
Research questions
- RQ1Can isolation be effectively enforced in high-speed RMT pipelines without relying on an OS or hypervisor?
- RQ2How can shared, non-partitionable resources like key extraction units be safely shared across multiple modules?
- RQ3Can module updates be performed dynamically without disrupting other running modules?
- RQ4What is the performance and area overhead of implementing isolation mechanisms in both FPGA and ASIC platforms?
- RQ5Is it feasible to extend the P4-16 compiler to natively support multi-module deployment with isolation?
Key findings
- Menshen successfully enforces isolation between co-resident packet-processing modules on RMT pipelines, ensuring no interference in behavior, throughput, or latency.
- The system supports dynamic reconfiguration of individual modules without affecting other running modules, enabling disruption-free updates.
- The design was successfully prototyped on two open-source FPGA platforms: NetFPGA and Corundum.
- ASIC synthesis using FreePDK45nm and Synopsys DC confirmed the design meets 1 GHz timing requirements with only approximately 6% additional chip area.
- The P4-16 compiler extension enables native support for multi-module compilation and isolation primitive integration.
- The open-source release of Menshen’s hardware and software is available at https://isolation.quest/.
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.