arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.09034cs.DC
收藏

Blizzard:为主存数据结构增添真正的持久性

Blizzard: Adding True Persistence to Main Memory Data Structures

Pradeep Fernando, Daniel Zahka, Ada Gavrilovska, Amitabha Roy, Subramanya R. Dulloor

AI总结:

Blizzard是一个容错的PMEM优化持久编程运行时,通过耦合操作日志和显式并发可交换性控制,调和复制、故障原子性与并发间的矛盾,使PMEM原生数据结构相比专用运行时获得高达3.6倍的性能提升。

摘要:

持久内存(PMEM)设备提供了保留主存数据结构与算法灵活性的机会,同时为其增强可靠性与持久性。实现这一目标的挑战在于,将复制(用于可靠性)和故障原子性(用于持久性)与并发(用于充分利用持久内存带宽)相结合。这些要求之间存在矛盾,因为复制更新日志的串行本质与充分利用CPU到内存路径所需的并发更新是相悖的。我们提出了Blizzard——一个容错的、面向PMEM优化的持久编程运行时。Blizzard通过结合(1)耦合操作日志(该日志允许将PMEM专用的用户级复制栈与基于PMEM的持久化栈紧密集成)和(2)对并发操作间可交换性的显式控制,来解决这一根本性权衡。我们通过三个示例应用展示了Blizzard的通用性与潜力,这些应用对其持久状态的数据结构需求各不相同。这些用例表明,使用Blizzard,PMEM原生数据结构相比替代的专用构建持久应用运行时,可提供高达3.6倍的性能优势,同时更简单、更安全(通过提供故障原子性和复制)。

英文摘要:

Persistent memory (PMEM) devices present an opportunity to retain the flexibility of main memory data structures and algorithms, but augment them with reliability and persistence. The challenge in doing this is to combine replication (for reliability) and failure atomicity (for persistence) with concurrency (for fully utilizing persistent memory bandwidth). These requirements are at odds due to the sequential nature of replicating a log of updates versus concurrent updates that are necessary for fully leveraging the path from CPU to memory. We present Blizzard -- a fault-tolerant, PMEM-optimized persistent programming runtime. Blizzard addresses the fundamental tradeoff by combining (1) a coupled operations log that permits tight integration of a PMEM-specialized user-level replication stack with a PMEM-based persistence stack, and (2) explicit control over the commutativity among concurrent operations. We demonstrate the generality and potential of Blizzard with three illustrative applications with very different data structure requirements for their persistent state. These use cases demonstrate that with Blizzard, PMEM native data structures can deliver up to 3.6x performance benefit over the alternative purpose-build persistent application runtimes, while being simpler and safer (by providing failure atomicity and replication).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑