Demon: An Efficient Solution for on-Device MMU Virtualization in Mediated Pass-Through
Memory Management Units (MMUs) for on-device address translation are widely used in modern devices. However, conventional solutions for on-device MMU virtualization, such as shadow page table implemented in mediated pass-through, still suffer from high complexity and low performance.
We present Demon, an efficient solution for on-DEvice MMU virtualizatiON in mediated pass-through. The key insight is that Demon takes advantage of IOMMU to construct a two-dimensional address translation and dynamically switches the 2nd-dimensional page table to a proper candidate when the device owner switches. In order to support fine-grained parallelism for the device with multiple engines, we put forward a hardware proposal that separates the address space of each engine and enables simultaneous device address remapping for multiple virtual machines (VMs). We implement Demon with a prototype named gDemon which virtualizes Intel GPU MMU. Nonetheless, Demon is not limited to this particular case. Evaluations show that gDemon provides up to 19.73x better performance in the media transcoding workloads and achieves performance improvement of up to 17.09% and 13.73% in the 2D benchmarks and 3D benchmarks, respectively, compared with gVirt. The current release of gDemon scales up to 6 VMs with moderate performance in our experiments. In addition, gDemon simplifies the implementation of GPU MMU virtualization with 37% code reduction.
Sun 25 MarDisplayed time zone: Eastern Time (US & Canada) change
14:00 - 15:30 | |||
14:00 30mTalk | gMig: Efficient GPU Live Migration Optimized by Software Dirty Page for Full Virtualization Research Papers Jiacheng Ma , Xiao Zheng Intel Corporation, Yaozu Dong Intel Asia-Pacific R&D Ltd, China, Wentai Li Shanghai Jiao Tong University, Zhengwei Qi Shanghai Jiao Tong University, Bingsheng He National University of Singapore, Haibing Guan Shanghai Jiao Tong University | ||
14:30 30mTalk | VM Live Migration At Scale Research Papers Adam Ruprecht Google, Danny Jones Google, Dmitry Shiraev Google, Greg Harmon Google, Maya Spivak Google, Michael Krebs Google, Miche Baker-Harvey Google, Tyler Sanderson Google | ||
15:00 30mTalk | Demon: An Efficient Solution for on-Device MMU Virtualization in Mediated Pass-Through Research Papers Yu Xu Shanghai Jiao Tong University, Jianguo Yao Shanghai Jiao Tong University, Yaozu Dong Intel Asia-Pacific R&D Ltd, China, Kun Tian Intel Corporation, Xiao Zheng Intel Corporation, Haibing Guan Shanghai Jiao Tong University |