DocumentCode :
1799878
Title :
Efficient Memory Virtualization: Reducing Dimensionality of Nested Page Walks
Author :
Gandhi, Jayneel ; Basu, Anirban ; Hill, Mark D. ; Swift, Michael M.
Author_Institution :
Dept. of Comput. Sci., Univ. of Wisconsin-Madison, Madison, WI, USA
fYear :
2014
fDate :
13-17 Dec. 2014
Firstpage :
178
Lastpage :
189
Abstract :
Virtualization provides value for many workloads, but its cost rises for workloads with poor memory access locality. This overhead comes from translation look aside buffer (TLB) misses where the hardware performs a 2D page walk (up to 24 memory references on x86-64) rather than a native TLB miss (up to only 4 memory references). The first dimension translates guest virtual addresses to guest physical addresses, while the second translates guest physical addresses to host physical addresses. This paper proposes new hardware using direct segments with three new virtualized modes of operation that significantly speed-up virtualized address translation. Further, this paper proposes two novel techniques to address important limitations of original direct segments. First, self-ballooning reduces fragmentation in physical memory, and addresses the architectural input/output (I/O) gap in x86-64. Second, an escape filter provides alternate translations for exceptional pages within a direct segment (e.g., Physical pages with permanent hard faults). We emulate the proposed hardware and prototype the software in Linux with KVM on x86-64. One mode -- VMM Direct -- reduces address translation overhead to near-native without guest application or OS changes (2% slower than native on average), while a more aggressive mode -- Dual Direct -- on big-memory workloads performs better-than-native with near-zero translation overhead.
Keywords :
Linux; buffer storage; virtual machines; virtualisation; 2D page walk; KVM; Linux; TLB; VMM direct mode; big-memory workloads; dimensionality reduction; direct segments; dual direct mode; escape filter; guest physical address; guest virtual address; host physical address; kernel-based virtual machine; memory virtualization; near-zero translation overhead; nested page walks; self-ballooning; translation look aside buffer; virtual machine monitors; virtualized address translation; virtualized operation modes; Microarchitecture; translation lookaside buffer; virtual machines; virtual memory; virtualization;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Microarchitecture (MICRO), 2014 47th Annual IEEE/ACM International Symposium on
Conference_Location :
Cambridge
ISSN :
1072-4451
Type :
conf
DOI :
10.1109/MICRO.2014.37
Filename :
7011387
Link To Document :
بازگشت