On Providing OS Support to Allow Transparent Use of Traditional Programming Models for Persistent Memory
Autor: | Hyunsub Song, J. Hyun Kim, Sam H. Noh, Young Je Moon, Jay H. Park |
---|---|
Rok vydání: | 2020 |
Předmět: |
010302 applied physics
Computer science Distributed computing Legacy system Linux kernel Fault tolerance 02 engineering and technology Interval (mathematics) 01 natural sciences Consistency (database systems) Hardware and Architecture 020204 information systems 0103 physical sciences 0202 electrical engineering electronic engineering information engineering Programming paradigm Overhead (computing) Electrical and Electronic Engineering Software Range (computer programming) |
Zdroj: | ACM Journal on Emerging Technologies in Computing Systems. 16:1-24 |
ISSN: | 1550-4840 1550-4832 |
Popis: | The advent of persistent memory (PM) into our everyday computing environment is now imminent. New programming models and algorithms based on these models are being developed for such systems. However, current models require programs to be rewritten with persistence related primitives such as clflush and clwb or at least recompiled so that persistent mechanisms can be automatically inserted. This is a burden to program developers. Furthermore, executing legacy programs as-is can lead to application and system inconsistencies as unexpected faults occur. In this article, we propose µSnap, an operating system support that is based on checkpointing that allows legacy applications to be executed as-is without compromising consistency in systems that deploy PM. We implement a prototype of µSnap in the Linux kernel version 4.3.3, and measure and quantify the effect of µSnap for a wide range of applications. We find that µSnap incurs overhead for application execution compared to applications run without any notion of persistency, but that the overhead can be controlled to be minimal by appropriately setting the checkpointing interval. We argue that the benefit for paying this small cost can be tremendous in the sense that one can transparently guarantee the consistency of all legacy software written under the traditional programming model. |
Databáze: | OpenAIRE |
Externí odkaz: |