Bentō:优化持久内存程序
Bentō: Optimizing Persistent Memory Programs
AI总结:
Bentō通过自动二进制重写优化持久内存程序性能,提升15%并保持一致性语义。
摘要:
持久内存(PM)是一种新的存储技术,它以比DRAM更低的成本提供了高性能、字节寻址能力和持久性。由于缓存易失性和存储重排,开发者必须使用显式指令(例如:刷新和屏障)来保证应用程序在崩溃时状态的一致性。这很难做到正确,事实上,已经创建了几种工具来检测PM程序中的错误。为克服这一困难,程序员往往过于保守,例如通过强制不必要的顺序约束,这在一定程度上牺牲了使用PM的性能优势。在本文中,我们研究了不同持久性指令组合对几个PM程序的影响,并发现特定的组合可以在保持原始崩溃一致性语义的情况下带来性能提升。基于这些结果,我们开发了Bentō,一个自动且黑盒的二进制重写器,可以将现有PM程序的性能提升高达15%,同时最小化程序员的工作量。
英文摘要:
Persistent Memory (PM) is a new storage technology thatbrings high performance, byte addressability, and persistency for a lesser cost than DRAM. Due to cache volatility and store reordering, developers must use explicit instructions (e.g.: flush and fence) to guarantee that the application state remains consistent upon crashes. This is difficult to get right and, in fact, several tools have been created to detect bugs in PM programs. To overcome this difficulty, programmers tend to be overly conservative, for instance, by enforcing unnecessary ordering constraints, which partially forfeits the performance benefits of using PM. In this paper, we study the impact that different combinations of persistency instructions have in several PM programs and found that a specific combination can lead to performance improvements while preserving the original crash-consistency semantics. Based on these results we developed Bentō an automatic and black-box binary rewriter that can boost the performance of existing PM programs by up to 15% with minimal programmer effort.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。