Skip to main content
QUICK REVIEW

[论文解读] Quest-V: A Virtualized Multikernel for High-Confidence Systems

Ye Li, Matthew Danish|arXiv (Cornell University)|Dec 21, 2011
Parallel Computing and Optimization TechniquesComputer Science参考文献 40被引用 17
一句话总结

Quest-V 提出了一种虚拟化多内核架构,通过虚拟化技术在单个芯片上隔离多个内核,防止故障传播,从而实现高可信度的系统运行。通过为每个内核使用专用的虚拟机监控器(VM monitor)并配合影子页表实现内存访问的不可变控制,该架构实现了强大的故障隔离与低开销,支持通过共享内存实现安全、高效的内核间通信,而无需依赖集中式虚拟机监视器控制。

ABSTRACT

This paper outlines the design of `Quest-V', which is implemented as a collection of separate kernels operating together as a distributed system on a chip. Quest-V uses virtualization techniques to isolate kernels and prevent local faults from affecting remote kernels. This leads to a high-confidence multikernel approach, where failures of system subcomponents do not render the entire system inoperable. A virtual machine monitor for each kernel keeps track of shadow page table mappings that control immutable memory access capabilities. This ensures a level of security and fault tolerance in situations where a service in one kernel fails, or is corrupted by a malicious attack. Communication is supported between kernels using shared memory regions for message passing. Similarly, device driver data structures are shareable between kernels to avoid the need for complex I/O virtualization, or communication with a dedicated kernel responsible for I/O. In Quest-V, device interrupts are delivered directly to a kernel, rather than via a monitor that determines the destination. Apart from bootstrapping each kernel, handling faults and managing shadow page tables, the monitors are not needed. This differs from conventional virtual machine systems in which a central monitor, or hypervisor, is responsible for scheduling and management of host resources amongst a set of guest kernels. In this paper we show how Quest-V can implement novel fault isolation and recovery techniques that are not possible with conventional systems. We also show how the costs of using virtualization for isolation of system services does not add undue overheads to the overall system performance.

研究动机与目标

  • 设计一种多内核系统,通过在内核间隔离组件故障来确保高可信度。
  • 消除对集中式虚拟机监视器进行资源管理和调度的依赖。
  • 在保持强大故障隔离与安全性的同时,降低虚拟化开销。
  • 实现内核间直接设备中断传递与共享内存通信,避免复杂的 I/O 虚拟化。
  • 证明基于虚拟化的隔离不会带来不可接受的性能代价。

提出的方法

  • 每个内核在其由专用虚拟机监控器管理的虚拟化环境中运行,该监控器维护影子页表以实现内存访问的不可变控制。
  • 通过严格的内存与资源虚拟化,确保本地内核的故障或破坏不会影响远程内核,从而实现故障隔离。
  • 内核间通信通过共享内存区域实现,避免了通过集中式 I/O 或管理内核进行消息传递的需要。
  • 设备驱动程序及其数据结构可在多个内核间共享,消除了对复杂 I/O 虚拟化或内核间 I/O 通信的依赖。
  • 中断直接传递至目标内核,而非经由集中式监控器转发,从而降低延迟与复杂性。
  • 虚拟机监控器仅在引导、故障处理和影子页表管理期间活跃,不参与运行时的调度或资源控制。

实验结果

研究问题

  • RQ1多内核系统是否能在不依赖集中式虚拟机监视器的前提下实现强大的故障隔离?
  • RQ2如何利用虚拟化技术在最小性能开销下实现内核组件的隔离?
  • RQ3在分布式多内核环境中,是否可行且安全地实现对内核的直接中断传递?
  • RQ4在不引入竞争或复杂性的情况下,共享内存能否有效用于内核间通信?
  • RQ5在多内核系统中,通过虚拟化维持故障隔离的性能代价是多少?

主要发现

  • Quest-V 成功通过虚拟化实现内核故障隔离,防止故障传播至其他内核。
  • 系统通过影子页表强制实施不可变内存访问,实现了强大的安全性和故障容错能力。
  • 通过共享内存实现的内核间通信高效且无需复杂的 I/O 虚拟化或集中式 I/O 管理。
  • 直接将中断传递至目标内核可降低延迟并消除性能瓶颈。
  • 虚拟化开销极低,因为虚拟机监控器仅在引导、故障处理和页表管理期间活跃,不参与运行时调度。
  • 该架构支持传统虚拟化系统中难以实现的新型故障隔离与恢复机制。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。