Memory Management in ActiveRMT: Towards Runtime-programmable Switches
Rajdeep Das, Alex C. Snoeren
Abstract
A wide variety of in-network services have been developed for RMT-based switching hardware, almost exclusively through the P4 language and ecosystem. Many of these applications maintain state in switch memory, a scarce shared resource. As with any other network resource, varying traffic demands necessitate reallocations, yet the P4 ecosystem is not well suited for dynamic resource management: Modifying the set of services deployed on a switch using P4 requires the network operator to prepare a new binary image and re-provision the switch, disrupting all existing traffic. We present an alternate approach---using techniques from capsule-based active networking---to programming RMT devices that enables non-disruptive (re)allocation of switch memory at time scales that are much faster than P4 compilation without operator intervention. We use P4 to implement a single, shared runtime on commodity RMT hardware that interprets instructions received via the switch data plane to deliver a variety of exemplar services including caching, load balancing, and network telemetry. Our prototype implementation is able to dynamically provision dozens-to-hundreds of instances of simultaneous stateful services at the timescale of seconds.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers3
- Multitenant In-Network Acceleration with SwitchVMSajy Khashab, Alon Rashelbach, Mark SilbersteinNSDI 2024 · 21 citations
- P4runpro: Enabling Runtime Programmability for RMT Programmable SwitchesYifan Yang, Lin He, Jiasheng Zhou, Xiaoyi Shi et al.SIGCOMM 2024 · 12 citations
- Scaling IP Lookup to Large Databases using the CRAM LensRobert Chang, Pradeep Dogga, Andy Fingerhut, Victor Rios et al.NSDI 2025 · 4 citations
Builds on8
- A High-Speed Load-Balancer Design with Guaranteed Per-Connection-ConsistencyTom Barbette, Chen Tang, Haoran Yao, Dejan Kostic et al.NSDI 2020 · 100 citations
- Using trio: juniper networks' programmable chipset - for emerging in-network applicationsMingran Yang, Alex Baban, Valery Kugel, Jeff Libby et al.SIGCOMM 2022 · 57 citations
- Composing Dataplane Programs with μP4Hardik Soni, Myriana Rifai, Praveen Kumar, Ryan Doenges et al.SIGCOMM 2020 · 54 citations
- Switch Code Generation Using Program SynthesisXiangyu Gao, Taegyun Kim, Michael D. Wong, Divya Raghunathan et al.SIGCOMM 2020 · 51 citations
- NetVRM: Virtual Register Memory for Programmable NetworksHang Zhu, Tao Wang, Yi Hong, Dan R. K. Ports et al.NSDI 2022 · 21 citations
Related papers
- ExoPlane: An Operating System for On-Rack Switch Resource AugmentationDaehyeok Kim, Vyas Sekar, Srinivasan SeshanNSDI 2023 · 8 citations
- OptimusPrime: Unleash Dataplane Programmability through a Transformable ArchitectureZhikang Chen, Yong Feng, Shuxin Liu, Haoyu Song et al.SIGCOMM 2024 · 6 citations
- Sequence Abstractions for Flexible, Line-Rate Network MonitoringAndrew Johnson, Ryan Beckett, Xiaoqi Chen, Ratul Mahajan et al.NSDI 2024 · 4 citations
- Enabling In-situ Programmability in Network Data Plane: From Architecture to LanguageYong Feng, Zhikang Chen, Haoyu Song, Wenquan Xu et al.NSDI 2022
- Continuous in-network round-trip time monitoringSatadal Sengupta, Hyojoon Kim, Jennifer RexfordSIGCOMM 2022 · 54 citations
