利用Cohesive协议在非易失性存储器中实现高效日志记录
Efficient Logging in Non-Volatile Memory by Exploiting Coherency Protocols
摘要:
PCM、ReRAM和STT-RAM等非易失性存储器(NVM)技术允许处理器直接将值写入持久性存储,其速度明显快于硬盘或SSD等先前的耐用介质。NVM的许多应用程序都构建在日志子系统上,这使得操作看起来像是原子地执行的,并便于从故障中恢复。然而,对NVM的写入通过处理器的存储器系统,这可以延迟和重新排序它们,并且可以损害日志记录算法的正确性和成本。重新排序是由于CPU中的乱序执行和处理器间缓存一致性协议而产生的。通过仔细考虑这些重新排序的属性,本文开发了一个日志记录协议,只需要一个往返非易失性存储器,同时避免昂贵的计算。我们将展示如何扩展日志记录协议,以构建一个持久集(散列映射),该持久集也只需要一个往返于非易失性存储器的插入、更新或删除。
英文摘要:
Non-volatile memory (NVM) technologies such as PCM, ReRAM and STT-RAM allow processors to directly write values to persistent storage at speeds that are significantly faster than previous durable media such as hard drives or SSDs. Many applications of NVM are constructed on a logging subsystem, which enables operations to appear to execute atomically and facilitates recovery from failures. Writes to NVM, however, pass through a processor's memory system, which can delay and reorder them and can impair the correctness and cost of logging algorithms. Reordering arises because of out-of-order execution in a CPU and the inter-processor cache coherence protocol. By carefully considering the properties of these reorderings, this paper develops a logging protocol that requires only one round trip to non-volatile memory while avoiding expensive computations. We show how to extend the logging protocol to building a persistent set (hash map) that also requires only a single round trip to non-volatile memory for insertion, updating, or deletion.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。