SpaceJMP: Programming with Multiple Virtual Address Spaces
SpaceJMP: Programming with Multiple Virtual Address Spaces
复制标题
SpaceJMP:使用多个虚拟地址空间进行编程
DOI:
10.1145/2872362.2872366
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
K. Schwan
中科院分区:
文献类型:
--
作者:
Izzat El Hajj;A. Merritt;Gerd Zellweger;D. Milojicic;Reto Achermann;P. Faraboschi;Wen;Timothy Roscoe;K. Schwan
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 DragonFly 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.