Title :
Isla Vista Heap Sizing: Using Feedback to Avoid Paging
Author :
Grzegorczyk, Chris ; Soman, Sunil ; Krintz, Chandra ; Wolski, Rich
Author_Institution :
Dept. of Comput. Sci., California Univ., Santa Barbara, CA
Abstract :
Managed runtime environments (MREs) employ garbage collection (GC) for automatic memory management. However, GC induces pressure on the virtual memory (VM) manager, since it may touch pages that are not related to the working set of the application. Paging due to GC can significantly hurt performance, even when the application´s working set fits into physical memory. We present a feedback-directed heap resizing mechanism to avoid GC-induced paging, using information from the operating system (OS). We avoid costly GCs when there is physical memory available, and trade off GC for paging when memory is constrained. Our mechanism is simple and uses allocation stall events during GC alone to trigger heap resizing, without user participation or OS kernel modification. Our system enables significant performance improvements when real memory is restricted and similar to, or better performance than, the current state-of-the-art MRE, when memory is unconstrained
Keywords :
program compilers; storage management; automatic memory management; feedback-directed heap resizing; garbage collection-induced paging; heap sizing; managed runtime environments; operating system; virtual memory manager; Computer science; Environmental management; Feedback; Kernel; Linux; Memory management; Operating systems; Product safety; Productivity; Runtime environment;
Conference_Titel :
Code Generation and Optimization, 2007. CGO '07. International Symposium on
Conference_Location :
San Jose, CA
Print_ISBN :
0-7695-2764-7
DOI :
10.1109/CGO.2007.20