# A Software-based NVM Emulator Supporting Read/Write Asymmetric Latencies

**Authors:** Atsushi Koshiba, Takahiro Hirofuchi, Ryousei Takano, Mitaro, Namiki

arXiv: 1908.02135 · 2020-01-08

## TL;DR

This paper introduces a lightweight, accurate software emulator for NVM that models asymmetric read/write latencies, enabling realistic performance analysis of NVM-based systems.

## Contribution

A novel NVM emulator that accurately models asymmetric latencies and is efficient enough for large-scale workload simulation.

## Key findings

- Emulator accurately emulates NVM write latencies with errors below 1.2%.
- Enables realistic performance estimation of NVM workloads.
- Outperforms existing lightweight emulation models in accuracy.

## Abstract

Non-volatile memory (NVM) is a promising technology for low-energy and high-capacity main memory of computers. The characteristics of NVM devices, however, tend to be fundamentally different from those of DRAM (i.e., the memory device currently used for main memory), because of differences in principles of memory cells. Typically, the write latency of an NVM device such as PCM and ReRAM is much higher than its read latency. The asymmetry in read/write latencies likely affects the performance of applications significantly. For analyzing behavior of applications running on NVM-based main memory, most researchers use software-based emulation tools due to the limited number of commercial NVM products. However, these existing emulation tools are too slow to emulate a large-scale, realistic workload or too simplistic to investigate the details of application behavior on NVM with asymmetric read/write latencies. This paper therefore proposes a new NVM emulation mechanism that is not only light-weight but also aware of a read/write latency gap in NVM-based main memory. We implemented the prototype of the proposed mechanism for the Intel CPU processors of the Haswell architecture. We also evaluated its accuracy and performed case studies for practical benchmarks. The results showed that our prototype accurately emulated write-latencies of NVM-based main memory: it emulated the NVM write latencies in a range from 200 ns to 1000 ns with negligible errors from 0.2% to 1.1%. We confirmed that the use of our emulator enabled us to successfully estimate performance of practical workloads for NVM-based main memory, while an existing light-weight emulation model misestimated.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1908.02135/full.md

## Figures

14 figures with captions in the complete paper: https://tomesphere.com/paper/1908.02135/full.md

## References

25 references — full list in the complete paper: https://tomesphere.com/paper/1908.02135/full.md

---
Source: https://tomesphere.com/paper/1908.02135