Write a Blog >>
VEE 2021
Fri 16 Apr 2021
Fri 16 Apr 2021 07:30 - 08:00 - Virtualized Memory I Chair(s): Jialin Li

Virtualization is a key technique for supporting cloud services and memory virtualization is a major component of virtualization technology. Common memory virtualization mechanisms include shadow paging and hardware-assisted paging. The shadow paging model needs to synchronize shadow/guest page tables whenever there is a guest page table update. In the design of traditional shadow paging (TSP), the guest page table pages are write-protected so the updates can be intercepted by the hypervisor to ensure synchronization. Frequent page table updates cause lots of VM_Exits. Researchers have developed hardware-assisted paging to eliminate this overhead. However, address translation needs to walk a two-dimensional page table. This design significantly increases the overhead of page walk. This paper proposes SSP, a Swift Shadow Paging model which leverages the privileged hardware mode. In this design, the write protection mechanism is no longer needed. Rather, SSP accomplishes lazy page table synchronization by intercepting TLB flushing, which must be initiated by the guest OS when there is a page table update. The hardware mode, such as RISC-V’s machine mode and Sunway’s hardware mode, with the highest privilege, opens a new door for communication between the host OS and a guest OS. In addition, by using a shadow page table base address buffer, SSP eliminates the VM_Exits generated by guest process context switching. SSP inherits the advantage of TSP as it remains as a software-only solution and does not incur the excessive overhead of page walk when compared to hardware-assisted paging. We implement SSP in a Sunway machine. Our evaluation demonstrates SSP’s advantage for multiple workloads. Compared with TSP, SSP reduces VM_Exits caused by memory virtualization by 23%-56%. And the virtualization overhead of SSP is less than 5.5% for all workloads.

Fri 16 Apr

Displayed time zone: Pacific Time (US & Canada) change

07:00 - 08:30
Virtualized Memory IResearch Papers
Chair(s): Jialin Li National University of Singapore, Singapore
07:00
30m
Talk
Effective Exploitation of SIMD Resources in Cross-ISA Virtualization
Research Papers
Jin Wu , Jian Dong , Ruili Fang , Ziyi Zhao Nankai University, Xiaoli Gong Nankai University, Wenwen Wang University of Georgia, Decheng Zuo
DOI
07:30
30m
Talk
Swift Shadow Paging (SSP): No Write-Protection but Following TLB Flushing
Research Papers
Sai Sha , Yi Zhang , Yingwei Luo , Xiaolin Wang Peking University, Zhenlin Wang Michigan Technological University
DOI
08:00
30m
Talk
Mitigating Excessive vCPU Spinning in VM-Agnostic KVM
Research Papers
DOI