arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1405.5689cs.DC
收藏

混合transmittance存储器的固有局限性

Inherent Limitations of Hybrid Transactional Memory

Dan Alistarh, Justin Kopinsky, Petr Kuznetsov, Srivatsan Ravi, Nir Shavit

摘要:

最近已经提出了几种混合transmittance存储器(HyTM)方案,以利用缓慢、可靠的软件备份来补充硬件transmittance存储器(HTM)的快速但尽力而为的性质。然而,构建具有硬件和软件事务之间的非平凡并发性的HyTM的基本限制仍然没有得到很好的理解。在本文中,我们提出了一个通用的模型HyTM实现,它捕获的能力,硬件事务缓冲内存访问,并允许我们正式量化和分析的开销(仪器)的HyTM计划。我们证明如下:(1)即使对于弱进度保证,也不可能构建具有未插装的读取和写入的严格可串行化HyTM实现,以及(2)在合理的假设下,在任何不透明的渐进HyTM中,硬件事务必须招致与其数据集的大小成线性关系的插装成本。我们还提供了两个上限的实现,其仪器成本是最佳的进度保证。总之,本文捕获的第一次的HyTM提供的硬件和软件事务之间的并发程度之间的固有的权衡,和仪器的开销的实现必须承担的金额。

英文摘要:

Several Hybrid Transactional Memory (HyTM) schemes have recently been proposed to complement the fast, but best-effort, nature of Hardware Transactional Memory (HTM) with a slow, reliable software backup. However, the fundamental limitations of building a HyTM with nontrivial concurrency between hardware and software transactions are still not well understood. In this paper, we propose a general model for HyTM implementations, which captures the ability of hardware transactions to buffer memory accesses, and allows us to formally quantify and analyze the amount of overhead (instrumentation) of a HyTM scheme. We prove the following: (1) it is impossible to build a strictly serializable HyTM implementation that has both uninstrumented reads and writes, even for weak progress guarantees, and (2) under reasonable assumptions, in any opaque progressive HyTM, a hardware transaction must incur instrumentation costs linear in the size of its data set. We further provide two upper bound implementations whose instrumentation costs are optimal with respect to their progress guarantees. In sum, this paper captures for the first time an inherent trade-off between the degree of concurrency a HyTM provides between hardware and software transactions, and the amount of instrumentation overhead the implementation must incur.

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

↑