AI & Computingarticle2026-11-17

CapBuddy: Efficient Physical Memory Management for Capability-based Resource-controlling Microkernel

Open access0 citations

Abstract

Capability-based resource-controlling microkernels securely multiplex hardware by exposing low-level resource abstractions guarded by capability systems. Such a design helps provide an application-specific resource management policy to achieve high performance without sacrificing security. However, the misuse of capability-protected secure abstractions can introduce performance overhead in user-level resource management, affecting the runtime performance of dynamic applications in emerging scenarios. In this paper, we focus on the secure abstraction of physical memory in microkernels with capability-based resource management delegation to investigate an appropriate design for dynamic memory management. We propose CapBuddy, an approach to building an efficient buddy system on capability-protected secure abstractions of memory, to bypass the performance overhead of the capability system by offloading functionalities that can run offline from the critical path of serving a memory request. We implemented a prototype system on the seL4 library OS, and the evaluation results show that our approach improves the performance of the seL4 user-level buddy system by 20 to 54.5 times and achieves the same order of magnitude as Linux. Further burst experiments evaluate CapBuddy’s scalability and show that it maintains low median allocation latency as the number of concurrent clients increases.

// Source

View paper (DOI)Open access versionOpenAlexACM Transactions on Architecture and Code OptimizationPublished 2026-11-17

Authors: Zhuang Lu, Guangtao Zhu, Zhao Shijun, Qianying Zhang, Lixin Chen, Zekun Xu, Wu Luo, Rui Hou

Institutions: Chinese Academy of Sciences, University of Chinese Academy of Sciences, UNSW Sydney, Institute of Information Engineering, Capital Normal University