To PRI or Not To PRI, That's the question
Yun Wang, Liang Chen, Jie Ji, Xianting Tian, Ben Luo, Zhixiang Wei, Zhibai Huang, Kailiang Xu, Kaihuan Peng, Kaijie Guo, Ning Luo, Guangjian Wang
摘要
SR-IOV and I/O device passthrough enable network and storage devices to be shared among multiple tenants with high density using virtual functions (VFs), achieving nearnative performance. However, passthrough does not support page faults, requiring the hypervisor to statically pin the VMallocated memory. This approach is unacceptable for cloud service providers (CSPs) that rely on oversubscription to enhance memory utilization and reduce costs. The Page Request Interface (PRI) was designed to support device-side I/O page faults (IOPFs) through collaboration among devices, Input-Output Memory Management Units (IOMMU), and the OS. But PRI has not seen broad adoption in devices like NICs and storage.
We propose VIO, a novel dynamic I/O device passthrough approach that achieves near-native performance and is hardware-independent. By leveraging a shadow available queue, VIO can dynamically and transparently switch devices between VIO and passthrough modes based on I/O operations per second (IOPS) pressure, balancing resource utilization and performance. Each DMA request is probed via IOPAsnooping in the virtio data plane to eliminate IOPFs, while device interrupts are directly passed through to the VM guest, enabling performance close to passthrough. VIO is extensively tested and deployed by a leading global CSP across 300K VMs, supporting both legacy and new instances while reclaiming up to the equivalent of 30K VM memory daily without compromising user Service Level Objectives (SLOs). As the scale grows, the benefits continue to increase.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Towards an Adaptable Systems Architecture for Memory Tiering at Warehouse-Scale 引用了 Exploring the Design Space of Page Management for Multi-Tiered Memory Systems
- Towards an Adaptable Systems Architecture for Memory Tiering at Warehouse-Scale 引用了 TMO: transparent memory offloading in datacenters
引用它的顶会 Paper1
它引用的 Paper14
- Clio: a hardware-software co-designed disaggregated memory systemZhiyuan Guo, Yizhou Shan, Xuhao Luo, Yutong Huang 等ASPLOS 2022 · 110 次引用
- Exploring the Design Space of Page Management for Multi-Tiered Memory SystemsJonghyeon Kim, Wonkyo Choe, Jeongseob AhnUSENIX ATC 2021 · 108 次引用
- TMO: transparent memory offloading in datacentersJohannes Weiner, Niket Agarwal, Dan Schatzberg, Leon Yang 等ASPLOS 2022 · 103 次引用
- Batch-Aware Unified Memory Management in GPUs for Irregular WorkloadsHyojong Kim, Jaewoong Sim, Prasun Gera, Ramyad Hadidi 等ASPLOS 2020 · 89 次引用
- Towards an Adaptable Systems Architecture for Memory Tiering at Warehouse-ScalePadmapriya Duraisamy, Wei Xu, Scott Hare, Ravi Rajwar 等ASPLOS 2023 · 74 次引用
相关 Paper
- VPRI: Efficient I/O Page Fault Handling via Software-Hardware Co-Design for IaaS CloudsKaijie Guo, Dingji Li, Ben Luo, Yibin Shen 等SOSP 2024 · 1 次引用
- HD-IOV: SW-HW Co-designed I/O Virtualization with Scalability and Flexibility for Hyper-Density CloudZongpu Zhang, Jiangtao Chen, Banghao Ying, Yahui Cao 等EuroSys 2024 · 7 次引用
- coIOMMU: A Virtual IOMMU with Cooperative DMA Buffer Tracking for Efficient Memory Management in Direct I/OKun Tian, Yu Zhang, Luwei Kang, Yan Zhao 等USENIX ATC 2020 · 18 次引用
- Efficient Memory Overcommitment for I/O Passthrough Enabled VMs via Fine-grained Page Meta-data ManagementYaohui Wang, Ben Luo, Yibin ShenUSENIX ATC 2023 · 18 次引用
- NVMePass: A Lightweight, High-performance and Scalable NVMe Virtualization Architecture with I/O Queues PassthroughYiquan Chen, Zhen Jin, Yijing Wang, Yi Chen 等HPCA 2025 · 1 次引用
