【24h】

Mnemosyne: Lightweight Persistent Memory

机译:记忆力减退:轻量级持久性记忆

获取原文
获取原文并翻译 | 示例

摘要

New storage-class memory (SCM) technologies, such as phase-change memory, STT-RAM, and memristors, promise user-level access to non-volatile storage through regular memory instructions. These memory devices enable fast user-mode access to persistence, allowing regular in-memory data structures to survive system crashes. In this paper, we present Mnemosyne, a simple interface for programming with persistent memory. Mnemosyne addresses two challenges: how to create and manage such memory, and how to ensure consistency in the presence of failures. Without additional mechanisms, a system failure may leave data structures in SCM in an invalid state, crashing the program the next time it starts. In Mnemosyne, programmers declare global persistent data with the keyword "pstatic" or allocate it dynamically. Mnemosyne provides primitives for directly modifying persistent variables and supports consistent updates through a lightweight transaction mechanism. Compared to past work on disk-based persistent memory, Mnemosyne reduces latency to storage by writing data directly to memory at the granularity of an update rather than writing memory pages back to disk through the file system. In tests emulating the performance characteristics of forthcoming SCMs, we show that Mnemosyne can persist data as fast as 3 microseconds. Furthermore, it provides a 35 percent performance increase when applied in the OpenLDAP directory server. In microbenchmark studies we find that Mnemosyne can be up to 1400% faster than alternative persistence strategies, such as Berkeley DB or Boost serialization, that are designed for disks.
机译:相变内存,STT-RAM和忆阻器等新的存储级内存(SCM)技术保证了用户通过常规内存指令对非易失性存储的访问权限。这些存储设备使用户能够快速访问持久性,从而允许常规的内存中数据结构在系统崩溃时幸免。在本文中,我们介绍了Mnemosyne,这是一种用于持久性存储器编程的简单接口。 Mnemosyne应对两个挑战:如何创建和管理这种内存,以及如何在出现故障时确保一致性。如果没有其他机制,系统故障可能会使SCM中的数据结构处于无效状态,从而在下次启动程序时使程序崩溃。在Mnemosyne中,程序员使用关键字“ pstatic”声明全局持久性数据或动态分配它们。 Mnemosyne提供了直接修改持久变量的原语,并通过轻量级事务处理机制支持一致的更新。与过去基于磁盘的持久性内存的工作相比,Mnemosyne通过以更新的粒度将数据直接写入内存,而不是通过文件系统将内存页面写回到磁盘,来减少存储的延迟。在模拟即将到来的SCM的性能特征的测试中,我们表明Mnemosyne可以将数据持久化至3微秒。此外,当将其应用于OpenLDAP目录服务器时,性能可提高35%。在微基准研究中,我们发现Mnemosyne可以比为磁盘设计的替代持久性策略(例如Berkeley DB或Boost序列化)快1400%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号