Puddles:面向持久内存的应用无关恢复与位置无关数据
Puddles: Application-Independent Recovery and Location-Independent Data for Persistent Memory
AI总结:
针对现有持久内存抽象无法同时满足多类核心需求的问题,提出新型抽象Puddles,实现应用无关恢复、原生指针兼容与无序列化数据共享传输,性能优于PMDK等现有库。
摘要:
本文指出,当前研究尚未为持久内存(persistent memory,PM)提供一种全面且可维护的内存中表示方案。PM数据应当能轻松映射到进程地址空间,可跨进程共享,可在机器间传输,崩溃后保持一致性,且能让遗留代码以快速高效的指针作为一等抽象进行访问。现有系统虽提供了基于mmap()的加载/存储访问等便利特性,但因需求间的冲突,无法同时支持所有这些必要属性。\n我们提出一种新型持久内存抽象Puddles以解决上述问题。Puddles可在断电后提供应用无关的恢复能力,将系统故障后的恢复设为存储数据的系统级属性,而非访问数据的程序的责任。Puddles使用原生指针,因此与现有代码兼容。最后,Puddles实现了PM数据在进程与系统间的共享和传输支持,无需昂贵的序列化与反序列化操作。\n与现有系统相比,在YCSB工作负载下,Puddles的性能至少与PMDK相当,最高比PMDK快1.34倍,且与其他PM库的性能不相上下。此外,为验证Puddles的数据重定位能力,我们在传感器网络数据聚合工作负载上进行了测试,结果显示其性能比PMDK提升了4.7倍。
英文摘要:
In this paper, we argue that current work has failed to provide a comprehensive and maintainable in-memory representation for persistent memory. PM data should be easily mappable into a process address space, shareable across processes, shippable between machines, consistent after a crash, and accessible to legacy code with fast, efficient pointers as first-class abstractions. While existing systems have provided niceties like mmap()-based load/store access, they have not been able to support all these necessary properties due to conflicting requirements. We propose Puddles, a new persistent memory abstraction, to solve these problems. Puddles provide application-independent recovery after a power outage; they make recovery from a system failure a system-level property of the stored data rather than the responsibility of the programs that access it. Puddles use native pointers, so they are compatible with existing code. Finally, Puddles implement support for sharing and shipping of PM data between processes and systems without expensive serialization and deserialization. Compared to existing systems, Puddles are at least as fast as and up to 1.34$\times$ faster than PMDK while being competitive with other PM libraries across YCSB workloads. Moreover, to demonstrate Puddles' ability to relocate data, we showcase a sensor network data-aggregation workload that results in a 4.7$\times$ speedup over PMDK.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。