Lune

USENIX ATC2020Top-tier venue

Harmonizing Performance and Isolation in Microkernels with Efficient Intra-kernel Isolation and Communication

Jinyu Gu, Xinyue Wu, Wentai Li, Nian Liu, Zeyu Mi, Yubin Xia, Haibo Chen

Abstract

This paper presents UnderBridge, a redesign of traditional microkernel OSes to harmonize the tension between messaging performance and isolation. UnderBridge moves the OS components of a microkernel between user space and kernel space at runtime while enforcing consistent isolation. It retrofits Intel Memory Protection Key for Userspace (PKU) in kernel space to achieve such isolation efficiently and design a fast IPC mechanism across those OS components. Thanks to PKU's extremely low overhead, the inter-process communication (IPC) roundtrip cost in UnderBridge can be as low as 109 cycles. We have designed and implemented a new microkernel called ChCore based on UnderBridge and have also ported UnderBridge to three mainstream microkernels, i.e., seL4, Google Zircon, and Fiasco.OC. Evaluations show that UnderBridge speeds up the IPC by 3.0× compared with the state-of-the-art (e.g., SkyBridge) and improves the performance of IPC-intensive applications by up to 13.1× for the above three microkernels.

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.

25 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

  • Microkernel Goes General: Performance and Compatibility in the HongMeng Production Microkernel cites FlexOS: towards flexible OS isolation
  • KSplit: Automating Device Driver Isolation cites ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • FlexOS: towards flexible OS isolation cites Spectre Attacks: Exploiting Speculative Execution
  • FlexOS: towards flexible OS isolation cites Meltdown: Reading Kernel Memory from User Space
  • FlexOS: towards flexible OS isolation cites CubicleOS: a library OS with software componentisation for practical isolation
  • FlexOS: towards flexible OS isolation cites ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • Meltdown: Reading Kernel Memory from User Space cites Spectre Attacks: Exploiting Speculative Execution
  • Meltdown: Reading Kernel Memory from User Space cites Breaking Kernel Address Space Layout Randomization with Intel TSX
  • Userspace Bypass: Accelerating Syscall-intensive Applications cites Spectre Attacks: Exploiting Speculative Execution
  • Userspace Bypass: Accelerating Syscall-intensive Applications cites Meltdown: Reading Kernel Memory from User Space
  • Userspace Bypass: Accelerating Syscall-intensive Applications cites CubicleOS: a library OS with software componentisation for practical isolation
  • CubicleOS: a library OS with software componentisation for practical isolation cites ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • Fallout: Leaking Data on Meltdown-resistant CPUs cites Spectre Attacks: Exploiting Speculative Execution
  • Fallout: Leaking Data on Meltdown-resistant CPUs cites Meltdown: Reading Kernel Memory from User Space
  • Fallout: Leaking Data on Meltdown-resistant CPUs cites Breaking Kernel Address Space Layout Randomization with Intel TSX
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers25

  1. CubicleOS: a library OS with software componentisation for practical isolationVasily A. Sartakov, Lluís Vilanova, Peter R. PietzuchASPLOS 2021 · 38 citations
  2. FlexOS: towards flexible OS isolationHugo Lefeuvre, Vlad-Andrei Badoiu, Alexander Jung, Stefan Lucian Teodorescu et al.ASPLOS 2022 · 36 citations
  3. KSplit: Automating Device Driver IsolationYongzhe Huang, Vikram Narayanan, David Detweiler, Kaiming Huang et al.OSDI 2022 · 26 citations
  4. Userspace Bypass: Accelerating Syscall-intensive ApplicationsZhe Zhou, Yanxiang Bi, Junpeng Wan, Yangfan Zhou et al.OSDI 2023 · 18 citations
  5. Microkernel Goes General: Performance and Compatibility in the HongMeng Production MicrokernelHaibo Chen, Xie Miao, Ning Jia, Nan Wang et al.OSDI 2024 · 13 citations

Builds on7

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
  2. Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher et al.USENIX Security 2018 · 1,456 citations
  3. Fallout: Leaking Data on Meltdown-resistant CPUsClaudio Canella, Daniel Genkin, Lukas Giner, Daniel Gruss et al.CCS 2019 · 289 citations
  4. ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)Anjo Vahldiek-Oberwagner, Eslam Elnikety, Nuno O. Duarte, Michael Sammler et al.USENIX Security 2019 · 247 citations
  5. Breaking Kernel Address Space Layout Randomization with Intel TSXYeongjin Jang, Sangho Lee, Taesoo KimCCS 2016 · 174 citations

Related papers

  1. Manipulative Interference AttacksSamuel Mergendahl, Stephen Fickas, Boyana Norris, Richard SkowyraCCS 2024 · 1 citation
  2. Fast Core Scheduling with Userspace Process AbstractionJiazhen Lin, Youmin Chen, Shiwei Gao, Youyou LuSOSP 2024 · 3 citations
  3. μSwitch: Fast Kernel Context Isolation with Implicit Context SwitchesDinglan Peng, Congyu Liu, Tapti Palit, Pedro Fonseca et al.S&P 2023
  4. CETIS: Retrofitting Intel CET for Generic and Efficient Intra-process Memory IsolationMengyao Xie, Chenggang Wu, Yinqian Zhang, Jiali Xu et al.CCS 2022 · 14 citations
  5. EPK: Scalable and Efficient Memory Protection KeysJinyu Gu, Hao Li, Wentai Li, Yubin Xia et al.USENIX ATC 2022
Dusk over the sea between two cliffs drawn in fine vertical lines