Orthogonal persistence in nonvolatile memory architectures: A persistent heap design and its implementation for a Java Virtual Machine
- 17 December 2019
- journal article
- research article
- Published by Wiley in Software: Practice and Experience
- Vol. 50 (4) , 368-387
Abstract
Summary: Current computer systems separate main memory from storage, and programming languages typically reflect this distinction using different representations for data in memory and storage. However, moving data back and forth between these different layers and representations compromise both programming and execution efficiency. To remedy this, the concept of orthogonal persistence (OP) was proposed in the early 1980s advocating that, from a programmer's standpoint, there should be no differences in the way that short‐term and long‐term data are manipulated. However, at that time, the underlying implementations still had to cope with the complexity of moving data across memory and storage. Today, recent nonvolatile memory (NVM) technologies, such as resistive RAM and phase‐change memory, allow main memory and storage to be collapsed into a single layer of persistent memory, opening the way for more efficient programming abstractions for handling persistence. In this work, we revisit OP concepts in the context of NVM architectures and propose a persistent heap design for languages with automatic memory management. We demonstrate how it can significantly increase programmer and execution efficiency, removing the impedance mismatch of crossing semantic boundaries. To validate and demonstrate the presented concepts, we present JaphaVM, an implementation of the proposed design based on JamVM, an open‐source Java Virtual Machine. Our results show that JaphaVM, in most cases, executes the same operations between one and two orders of magnitude faster than regular database‐based and file‐based implementations, while requiring significantly less lines of code.Keywords
This publication has 24 references indexed in Scilit:
- HEAPOACM Transactions on Storage, 2014
- Atlas2014
- Mnemosyne2011
- NV-Heaps2011
- Orthogonal Persistence Revisited2010
- Scalable high performance main memory system using phase-change memory technology2009
- Architecting phase change memory as a scalable dram alternativeACM SIGARCH Computer Architecture News, 2009
- The missing memristor foundNature, 2008
- Operating system support for persistent systems: past, present and futureSoftware: Practice and Experience, 2000
- An Approach to Persistent ProgrammingThe Computer Journal, 1983