Lune

OSDI2024顶会

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

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • xMP: Selective Memory Protection for Kernel and User Space 引用了 PAC it up: Towards Pointer Integrity using ARM Pointer Authentication
  • Wave: Offloading Resource Management to SmartNIC Cores 引用了 Theseus: an Experiment in Operating System Structure and State Management
  • Wave: Offloading Resource Management to SmartNIC Cores 引用了 Harmonizing Performance and Isolation in Microkernels with Efficient Intra-kernel Isolation and Communication
  • CortenMM: Efficient Memory Management with Strong Correctness Guarantees 引用了 Theseus: an Experiment in Operating System Structure and State Management
  • Fast, Transparent Filesystem Microkernel Recovery with Ananke 引用了 Theseus: an Experiment in Operating System Structure and State Management
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

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

它引用的 Paper9

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

相关 Paper

  1. MettEagle: Costs and Benefits of Implementing Containers on MicrokernelsTill Miemietz, Viktor Reusch, Matthias Hille, Lars Wrenger 等OSDI 2025 · 2 次引用
  2. The Demikernel Datapath OS Architecture for Microsecond-scale Datacenter SystemsIrene Zhang, Amanda Raybuck, Pratyush Patel, Kirk Olynyk 等SOSP 2021 · 83 次引用
  3. BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack ProcessingYoann Ghigoff, Julien Sopena, Kahina Lazri, Antoine Blin 等NSDI 2021 · 79 次引用
  4. EPK: Scalable and Efficient Memory Protection KeysJinyu Gu, Hao Li, Wentai Li, Yubin Xia 等USENIX ATC 2022
  5. Enabling Fast Networking in the Public CloudAlireza Sanaee, Vahab Jabrayilov, Ilias Marinos, Farbod Shahinfar 等ASPLOS 2026
黄昏的海面,两侧是细线勾勒的悬崖