|Title||NVL-C: Static Analysis Techniques for Efficient, Correct Programming of Non-Volatile Main Memory Systems|
|Publication Type||Conference Paper|
|Year of Publication||2016|
|Authors||Denny, Joel E., Lee Seyong, and Vetter Jeffrey S.|
|Conference Name||ACM Symposium on High-Performance Parallel and Distributed Computing (HPDC)|
|Conference Location||Kyoto, Japan|
|Keywords||acid transactions, c, Flash, LLVM, NVM, OpenARC, persistent memory, pmem, SCM, SSD|
Computer architecture experts expect that non-volatile memory (NVM) hierarchies will play a more significant role in future systems including mobile, enterprise, and HPC architectures. With this expectation in mind, we present NVL-C: a novel programming system that facilitates the efficient and correct programming of NVM main memory systems. The NVL-C programming abstraction extends C with a small set of intuitive language features that target NVM main memory, and can be combined directly with traditional C memory model features for DRAM. We have designed these new features to enable compiler analyses and run-time checks that can improve performance and guard against a number of subtle programming errors, which, when left uncorrected, can corrupt NVM-stored data. Moreover, to enable recovery of data across application or system failures, these NVL-C features include a flexible directive for specifying NVM transactions. So that our implementation might be extended to other compiler front ends and languages, the majority of our compiler analyses are implemented in an extended version of LLVM's intermediate representation (LLVM IR). We evaluate NVL-C on a number of applications to show its flexibility, performance, and correctness.