Lune

OSDI2024Top-tier venue

Microkernel Goes General: Performance and Compatibility in the HongMeng Production Microkernel

Haibo Chen, Xie Miao, Ning Jia, Nan Wang, Yu Li, Nian Liu, Yutao Liu, Fei Wang, Qiang Huang, Kun Li, Hongyang Yang, Hui Wang

Abstract

The virtues of security, reliability, and extensibility have made state-of-the-art microkernels prevalent in embedded and safety-critical scenarios. However, they face performance and compatibility issues when targeting more general scenarios, such as smartphones and smart vehicles.

This paper presents the design and implementation of Hong-Meng kernel (HM), a commercialized general-purpose microkernel that preserves most of the virtues of microkernels while addressing the above challenges. For the sake of commercial practicality, we design HM to be compatible with the Linux API and ABI to reuse its rich applications and driver ecosystems. To make it performant despite the constraints of compatibility and being general-purpose, we re-examine the traditional microkernel wisdom, including IPC, capabilitybased access control, and userspace paging, and retrofit them accordingly. Specifically, we argue that per-invocation IPC is not the only concern for performance, but IPC frequency, state double bookkeeping among OS services, and capabilities that hide kernel objects contribute to significant performance degradation. We mitigate them accordingly with a set of techniques, including differentiated isolation classes, flexible composition, policy-free kernel paging, and address-token-based access control.

HM consists of a minimal core kernel and a set of leastprivileged OS services, and it can run complex frameworks like AOSP and OpenHarmony. HM has been deployed in production on tens of millions of devices in emerging scenarios, including smart routers, smart vehicles and smartphones, typically with improved performance and security over their Linux counterparts.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • xMP: Selective Memory Protection for Kernel and User Space cites PAC it up: Towards Pointer Integrity using ARM Pointer Authentication
  • Wave: Offloading Resource Management to SmartNIC Cores cites Theseus: an Experiment in Operating System Structure and State Management
  • Wave: Offloading Resource Management to SmartNIC Cores cites Harmonizing Performance and Isolation in Microkernels with Efficient Intra-kernel Isolation and Communication
  • CortenMM: Efficient Memory Management with Strong Correctness Guarantees cites Theseus: an Experiment in Operating System Structure and State Management
  • Fast, Transparent Filesystem Microkernel Recovery with Ananke cites Theseus: an Experiment in Operating System Structure and State Management
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. Fast, Transparent Filesystem Microkernel Recovery with AnankeJing Liu, Yifan Dai, Andrea C. Arpaci-Dusseau, Remzi H. Arpaci-DusseauFAST 2025 · 6 citations
  2. Wave: Offloading Resource Management to SmartNIC CoresJack Tigar Humphries, Neel Natu, Kostis Kaffes, Stanko Novakovic et al.ASPLOS 2025 · 5 citations
  3. OS Rendering Service Made Parallel with Out-of-Order Execution and In-Order CommitYuanpei Wu, Chao Xu, Yubin Xia, Yang Yu et al.OSDI 2025 · 1 citation
  4. μShell: A Microkernel-based FPGA Shell ArchitectureJiyang Chen, Anubhav Panda, Harshavardhan Unnibhavi, Atsushi Koshiba et al.OSDI 2026 · 1 citation
  5. CortenMM: Efficient Memory Management with Strong Correctness GuaranteesJunyang Zhang, Xiangcan Xu, Yonghao Zou, Zhe Tang et al.SOSP 2025 · 1 citation

Builds on9

  1. PAC it up: Towards Pointer Integrity using ARM Pointer AuthenticationHans Liljestrand, Thomas Nyman, Kui Wang, Carlos Chinea Perez et al.USENIX Security 2019 · 168 citations
  2. xMP: Selective Memory Protection for Kernel and User SpaceSergej Proskurin, Marius Momeu, Seyedhamed Ghavamnia, Vasileios P. Kemerlis et al.S&P 2020 · 89 citations
  3. Theseus: an Experiment in Operating System Structure and State ManagementKevin Boos, Namitha Liyanage, Ramla Ijaz, Lin ZhongOSDI 2020 · 67 citations
  4. ghOSt: Fast & Flexible User-Space Delegation of Linux SchedulingJack Tigar Humphries, Neel Natu, Ashwin Chaugule, Ofir Weisse et al.SOSP 2021 · 60 citations
  5. Harmonizing Performance and Isolation in Microkernels with Efficient Intra-kernel Isolation and CommunicationJinyu Gu, Xinyue Wu, Wentai Li, Nian Liu et al.USENIX ATC 2020 · 51 citations

Related papers

  1. MettEagle: Costs and Benefits of Implementing Containers on MicrokernelsTill Miemietz, Viktor Reusch, Matthias Hille, Lars Wrenger et al.OSDI 2025 · 2 citations
  2. The Demikernel Datapath OS Architecture for Microsecond-scale Datacenter SystemsIrene Zhang, Amanda Raybuck, Pratyush Patel, Kirk Olynyk et al.SOSP 2021 · 83 citations
  3. BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack ProcessingYoann Ghigoff, Julien Sopena, Kahina Lazri, Antoine Blin et al.NSDI 2021 · 79 citations
  4. EPK: Scalable and Efficient Memory Protection KeysJinyu Gu, Hao Li, Wentai Li, Yubin Xia et al.USENIX ATC 2022
  5. Enabling Fast Networking in the Public CloudAlireza Sanaee, Vahab Jabrayilov, Ilias Marinos, Farbod Shahinfar et al.ASPLOS 2026
Dusk over the sea between two cliffs drawn in fine vertical lines