DocumentCode :
2582893
Title :
Revisiting hardware-assisted page walks for virtualized systems
Author :
Ahn, Jeongseob ; Jin, Seongwook ; Huh, Jaehyuk
fYear :
2012
fDate :
9-13 June 2012
Firstpage :
476
Lastpage :
487
Abstract :
Recent improvements in architectural supports for virtualization have extended traditional hardware page walkers to traverse nested page tables. However, current two-dimensional (2D) page walkers have been designed under the assumption that the usage patterns of guest and nested page tables are similar. In this paper, we revisit the architectural supports for nested page table walks to incorporate the unique characteristics of memory management by hypervisors. Unlike page tables in native systems, nested page table sizes do not impose significant overheads on the overall memory usage. Based on this observation, we propose to use flat nested page tables to reduce unnecessary memory references for nested walks. A competing mechanism to HW 2D page walkers is shadow paging, which duplicates guest page tables but provides direct translations from guest virtual to system physical addresses. However, shadow paging has been suffering from the overheads of synchronization between guest and shadow page tables. The second mechanism we propose is a speculative shadow paging mechanism, called speculative inverted shadow paging, which is backed by non-speculative flat nested page tables. The speculative mechanism provides a direct translation with a single memory reference for common cases, and eliminates the page table synchronization overheads. We evaluate the proposed schemes with the real Xen hypervisor running on a full system simulator. The flat page tables improve a state-of-the-art 2D page walker with a page walk cache and nested TLB by 7%. The speculative shadow paging improves the same 2D page walker by 14%.
Keywords :
cache storage; paged storage; synchronisation; virtualisation; HW 2D page walkers; full system simulator; guest page table duplication; guest usage pattern; hardware-assisted page walks; memory management; nested TLB; nested page table size; nested page table usage pattern; nested page table walks; nonspeculative flat nested page tables; page table synchronization overhead elimination; page walk cache; real Xen hypervisor; shadow page tables; single memory reference; speculative inverted shadow paging; two-dimensional page walkers; virtualized systems; Hardware; Legged locomotion; Magnetic heads; Memory management; Synchronization; Virtual machine monitors; Virtual machining;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Architecture (ISCA), 2012 39th Annual International Symposium on
Conference_Location :
Portland, OR
ISSN :
1063-6897
Print_ISBN :
978-1-4673-0475-7
Electronic_ISBN :
1063-6897
Type :
conf
DOI :
10.1109/ISCA.2012.6237041
Filename :
6237041
Link To Document :
بازگشت