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

时间与空间中的渐进式超越记忆

Progressive Transactional Memory in Time and Space

Petr Kuznetsov, Srivatsan Ravi

摘要:

事务存储器(TM)允许并发进程将共享\emph{data items}上的操作序列组织成原子事务。事务可以提交,在这种情况下,它看起来已经顺序地执行,或者它可以是\emph{abort},在这种情况下,没有数据项被更新。TM编程范式作为传统细粒度锁定技术的替代方案出现,提供了编程和组合的便利性。虽然TM本身通常是使用锁实现的,但它将基于锁的同步的固有问题隐藏在一个漂亮的事务性编程接口后面。在本文中,我们探讨了固有的时间和空间复杂度的锁为基础的TM,与最流行的类的\emph{progressive}锁为基础的TM的重点。我们得出,一个渐进的TM可能会强制执行一个只读的事务,以执行二次(在它读取的数据项的数量)的步骤数和访问不同的内存位置的线性数量,关闭的问题的固有成本的\emph{read validation}在TM。然后,我们表明,发生在一个渐进的TM,其中$n$并发进程执行事务上的单个数据项的执行\emph{remote memory references}(RMR)的总数可能会达到$Ω(n \log n)$,这似乎是第一个RMR复杂性的下限事务内存。

英文摘要:

Transactional memory (TM) allows concurrent processes to organize sequences of operations on shared \emph{data items} into atomic transactions. A transaction may commit, in which case it appears to have executed sequentially or it may \emph{abort}, in which case no data item is updated. The TM programming paradigm emerged as an alternative to conventional fine-grained locking techniques, offering ease of programming and compositionality. Though typically themselves implemented using locks, TMs hide the inherent issues of lock-based synchronization behind a nice transactional programming interface. In this paper, we explore inherent time and space complexity of lock-based TMs, with a focus of the most popular class of \emph{progressive} lock-based TMs. We derive that a progressive TM might enforce a read-only transaction to perform a quadratic (in the number of the data items it reads) number of steps and access a linear number of distinct memory locations, closing the question of inherent cost of \emph{read validation} in TMs. We then show that the total number of \emph{remote memory references} (RMRs) that take place in an execution of a progressive TM in which $n$ concurrent processes perform transactions on a single data item might reach $Ω(n \log n)$, which appears to be the first RMR complexity lower bound for transactional memory.

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

↑