SpaceJMP: Programming with Multiple Virtual Address Spaces

作者:El Hajj Izzat*; Merritt Alexander; Zellweger Gerd; Milojicic Dejan; Achermann Reto; Faraboschi Paolo; Hwu Wen mei; Roscoe Timothy; Schwan Karsten
来源:ACM Sigplan Notices, 2016, 51(4): 353-368.
DOI:10.1145/2872362.2872366

摘要

Memory-centric computing demands careful organization of the virtual address space, but traditional methods for doing so are inflexible and inefficient. If an application wishes to address larger physical memory than virtual address bits allow, if it wishes to maintain pointer-based data structures beyond process lifetimes, or if it wishes to share large amounts of memory across simultaneously executing processes, legacy interfaces for managing the address space are cumbersome and often incur excessive overheads. We propose a new operating system design that promotes virtual address spaces to first-class citizens, enabling process threads to attach to, detach from, and switch between multiple virtual address spaces. Our work enables data-centric applications to utilize vast physical memory beyond the virtual range, represent persistent pointer-rich data structures without special pointer representations, and share large amounts of memory between processes efficiently. We describe our prototype implementations in the Dragon-Fly BSD and Barrelfish operating systems. We also present programming semantics and a compiler transformation to detect unsafe pointer usage. We demonstrate the benefits of our work on data-intensive applications such as the GUPS benchmark, the SAMTools genomics workflow, and the Redis key-value store.

  • 出版日期2016-4

全文