UniHeap:跨非易失性内存的托管运行时管理持久对象
UniHeap: Managing Persistent Objects Across Managed Runtimes for Non-Volatile Memory
摘要:
字节可寻址非易失性存储器(NVM)正在成为一种有前途的技术。为了促进其广泛采用,在诸如JVM的托管运行时中采用NVM已被证明是一种有效的方法(即,管理的NVM)。但是,这种方法是特定于运行时的,它缺乏跨不同托管语言的通用抽象。与允许不同程序通过块I/O接口访问相同文件的众所周知的文件系统原语类似,托管NVM应该以低开销跨托管运行时为持久对象提供相同的系统范围属性。在本文中,我们提出了UniHeap,一个新的NVM框架管理持久对象。它提出了一个统一的持久对象模型,支持各种托管语言,并管理NVM内的共享堆,使跨语言的持久对象共享。UniHeap通过以日志结构的方式管理共享堆并在垃圾回收期间合并对象更新来减少对象持久性开销。我们将UniHeap实现为一个通用框架,并将其扩展到不同的托管运行时,包括HotSpot JVM,cPython和JavaScript引擎SpiderMonkey。我们评估了UniHeap的各种应用程序,如键值存储和事务数据库。我们的评估表明,UniHeap显着优于国家的最先进的对象共享方法,同时引入可忽略不计的开销托管运行时。
英文摘要:
Byte-addressable, non-volatile memory (NVM) is emerging as a promising technology. To facilitate its wide adoption, employing NVM in managed runtimes like JVM has proven to be an effective approach (i.e., managed NVM). However, such an approach is runtime specific, which lacks a generic abstraction across different managed languages. Similar to the well-known filesystem primitives that allow diverse programs to access same files via the block I/O interface, managed NVM deserves the same system-wide property for persistent objects across managed runtimes with low overhead. In this paper, we present UniHeap, a new NVM framework for managing persistent objects. It proposes a unified persistent object model that supports various managed languages, and manages NVM within a shared heap that enables cross-language persistent object sharing. UniHeap reduces the object persistence overhead by managing the shared heap in a log-structured manner and coalescing object updates during the garbage collection. We implement UniHeap as a generic framework and extend it to different managed runtimes that include HotSpot JVM, cPython, and JavaScript engine SpiderMonkey. We evaluate UniHeap with a variety of applications, such as key-value store and transactional database. Our evaluation shows that UniHeap significantly outperforms state-of-the-art object sharing approaches, while introducing negligible overhead to the managed runtimes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。