Lune

USENIX ATC2020顶会

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

摘要

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.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Microkernel Goes General: Performance and Compatibility in the HongMeng Production Microkernel 引用了 FlexOS: towards flexible OS isolation
  • KSplit: Automating Device Driver Isolation 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • FlexOS: towards flexible OS isolation 引用了 Spectre Attacks: Exploiting Speculative Execution
  • FlexOS: towards flexible OS isolation 引用了 Meltdown: Reading Kernel Memory from User Space
  • FlexOS: towards flexible OS isolation 引用了 CubicleOS: a library OS with software componentisation for practical isolation
  • FlexOS: towards flexible OS isolation 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Meltdown: Reading Kernel Memory from User Space 引用了 Breaking Kernel Address Space Layout Randomization with Intel TSX
  • Userspace Bypass: Accelerating Syscall-intensive Applications 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Userspace Bypass: Accelerating Syscall-intensive Applications 引用了 Meltdown: Reading Kernel Memory from User Space
  • Userspace Bypass: Accelerating Syscall-intensive Applications 引用了 CubicleOS: a library OS with software componentisation for practical isolation
  • CubicleOS: a library OS with software componentisation for practical isolation 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Meltdown: Reading Kernel Memory from User Space
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Breaking Kernel Address Space Layout Randomization with Intel TSX
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper25

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

它引用的 Paper7

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

相关 Paper

  1. Manipulative Interference AttacksSamuel Mergendahl, Stephen Fickas, Boyana Norris, Richard SkowyraCCS 2024 · 1 次引用
  2. Fast Core Scheduling with Userspace Process AbstractionJiazhen Lin, Youmin Chen, Shiwei Gao, Youyou LuSOSP 2024 · 3 次引用
  3. μSwitch: Fast Kernel Context Isolation with Implicit Context SwitchesDinglan Peng, Congyu Liu, Tapti Palit, Pedro Fonseca 等S&P 2023
  4. CETIS: Retrofitting Intel CET for Generic and Efficient Intra-process Memory IsolationMengyao Xie, Chenggang Wu, Yinqian Zhang, Jiali Xu 等CCS 2022 · 14 次引用
  5. EPK: Scalable and Efficient Memory Protection KeysJinyu Gu, Hao Li, Wentai Li, Yubin Xia 等USENIX ATC 2022
黄昏的海面,两侧是细线勾勒的悬崖