一句话:提出 Espresso,对 Java 与 JVM 做整体扩展,以高性能利用 NVM 实现持久化内存管理。
NVM 兼具接近 DRAM 的低延迟和类似磁盘的持久性,但如何将其与 JVM 等托管运行时结合以简化持久化编程仍不清楚。Espresso 对 Java 及其运行时做整体扩展:首先设计 Persistent Java Heap(PJH),把持久数据当作普通 Java 对象管理;其次加入可恢复机制,为堆元数据提供崩溃一致性;还提出 Persistent Java Object(PJO)抽象,为程序员提供易用且安全的持久化编程模型。评估表明,Espresso 显著优于最先进的 Java NVM 支持 JPA 和 PCJ,同时兼容现有 Java 程序中的数据结构。
Fast, byte-addressable non-volatile memory (NVM) embraces both near-DRAM latency and disk-like persistence, which has generated considerable interests to revolutionize system software stack and programming models. However, it is less understood how NVM can be combined with managed runtime like Java virtual machine (JVM) to ease persistence management. This paper proposes Espresso, a holistic extension to Java and its runtime, to enable Java programmers to exploit NVM for persistence management with high performance. Espresso first provides a general persistent heap design called Persistent Java Heap (PJH) to manage persistent data as normal Java objects. The heap is then strengthened with a recoverable mechanism to provide crash consistency for heap metadata. Espresso further provides a new abstraction called Persistent Java Object (PJO) to provide an easy-to-use but safe persistence programming model for programmers to persist application data. Evaluation confirms that Espresso significantly outperforms state-of-art NVM support for Java (i.e., JPA and PCJ) while being compatible to data structures in existing Java programs.
DOI 原文 ·
@inproceedings{paperbot4301,
title = {Espresso},
author = {Mingyu Wu and Ziming Zhao and Haoyu Li and Heting Li and Haibo Chen and Binyu Zang and Haibing Guan},
booktitle = {ASPLOS},
year = {2018},
doi = {10.1145/3173162.3173201}
}