[论文解读] Enabling Real-Time Programmability for RAN Functions: A Wasm-Based Approach for Robust and High-Performance dApps
该论文提出使用 WebAssembly (Wasm) 在实时、隔离的 dApps 以 Open RAN 为场景运行,展示确定性性能和比容器更低开销,同时在 Central Unit/Distributed Unit 层实现多 dApp 共存的安全性。
While the Open Radio Access Network Alliance (O-RAN) architecture enables third-party applications to optimize radio access networks at multiple timescales, real-time distributed applications (dApps) that demand low latency, high performance, and strong isolation remain underexplored. Existing approaches propose colocating a new RAN Intelligent Controller (RIC) at the edge, or deploying dApps in bare metal along with RAN functions. While the former approach increases network complexity and requires additional edge computing resources, the latter raises serious security concerns due to the lack of native mechanisms to isolate dApps and RAN functions. Meanwhile, WebAssembly (Wasm) has emerged as a lightweight, fast technology for robust execution of external, untrusted code. In this work, we propose a new approach to executing dApps using Wasm to isolate applications in real-time in O-RAN. Results show that our lightweight and robust approach ensures predictable, deterministic performance, strong isolation, and low latency, enabling real-time control loops.
研究动机与目标
- 在 Open RAN 中动机化实时可编程性挑战以及对第三方 dApps 进行鲁棒隔离的需求。
- 提出 WebAssembly 作为轻量沙箱,以在不产生沉重虚拟化开销的情况下实现 dApps 之间的隔离。
- 展示 Wasm-based dApps 可以在现有 dApp 框架之上运行,保持与 E3/E2 接口的兼容性。
- 演示一个使用 Wasmtime 的原型以及一个频谱感知 dApp 以验证隔离性和性能。
- 评估与裸机及容器部署相比,隔离保证、控制循环时延和计算足迹。
提出的方法
- 描述 WebAssembly 架构(module、runtime、host)以及基于 gas 的执行计量以实现确定性性能。
- 提出在 Central Unit/Distributed Unit 嵌入 Wasm 运行时,在共享的 RAN 功能中承载多个 dApps,并提供用于网络操作的 host 函数。
- 实现 dApps 作为 wasm32-wasi 模块,来自 C++ 等语言的编译,以确保原生般性能与可移植性。
- 将 Wasm-based dApps 与 E3 Agent 及 ASN.1 编码集成,以保持与 O-RAN E2/E3 接口的兼容性。
- 对一个使用 OpenAir Interface 并扩展了 E3 Agent 的参考 dApp 进行原型开发,使用 wasi-sdk 编译并由 Wasmtime 托管,以实现隔离与延迟分析。
- 进行实验比较裸机、容器和 Wasm 运行时的控制循环时延与资源 footprint。
实验结果
研究问题
- RQ1WebAssembly 能否在不增加容器开销的情况下,为 O-RAN 的实时 dApps 提供所需的隔离和确定性性能?
- RQ2在现实的 RAN 场景中,WebAssembly 计量(gas)对控制循环时延和资源利用率的影响是什么?
- RQ3基于 Wasm 的 dApp 框架如何与现有的 O-RAN E3/E2 接口与 dApp 架构集成?
- RQ4在 CU/DU 层部署 Wasm-based dApps 时,安全性、可扩展性与互操作性有哪些权衡?
主要发现
- Wasm-based dApps 具备强隔离性,通过细粒度 gas 计量防止行为异常的 dApp 影响到其他 dApp。
- Wasm-based dApps 的控制循环时延保持在 10 ms 以下,中位时延约为 149.44 μs,相较于裸机为 113.63 μs,容器开销更高。
- 相对于容器,WebAssembly 降低了处理开销(中位数提升 +28.91%),但需承担来自 gas 计量的额外开销。
- Wasm-based dApps 的内存使用约为裸机的 3.28 倍,但与容器工作量相当,且处理开销显著低于容器(Wasm 的约 64.84% 相较于 28.91%)。
- 原型演示了 Wasm 模块与 E3 Agent 和 ASN.1 消息的可行集成,使多语言 dApps 能在共享的 RAN 功能中运行而不妥协隔离性或实时性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。