在事务存储器上使用基于对象的冲突实现可组合性的有效方法
Efficient means of Achieving Composability using Object based Conflicts on Transactional Memory
摘要:
将并发数据结构(cds)的各个原子方法组合在一起,提出了多个设计和一致性挑战。在这种情况下,由软件事务存储器(STM)中的事务提供的组合可能很方便。然而,大多数STM提供读/写原语来访问共享CD。这些读/写原语会导致不必要的中止。相反,底层cds的语义丰富的高级方法,如查找、插入或删除(在哈希表或列表的情况下),有助于忽略不重要的低级读/写冲突,并允许更好的并发性。在本文中,我们适应数据库中的事务树模型,提出OSTM,使高效的组合在CDS。我们将传统的冲突和合法性概念扩展到使用STM的更高级别的CDS方法,并给出详细的正确性证明,以表明它是共同不透明的。我们实现了OSTM与并发闭地址哈希表(HT-OSTM)和列表(list-OSTM),其中出口作为事务接口的高层操作。在我们的实验中,不同的工作负载和随机生成的事务操作,HT-OSTM显示3到6倍的加速和w.r.t中止HT-OSTM是3到7倍,分别优于ESTM和基于读/写的STM。其中,list-OSTM在所有工作负载和场景中的性能都优于最先进的无锁事务列表,NOrec STM列表和boosted list,提高了30%到80%。此外,列表-OSTM与本文中考虑的其他技术相比,产生了可以忽略不计的中止。
英文摘要:
Composing together the individual atomic methods of concurrent data-structures (cds) pose multiple design and consistency challenges. In this context composition provided by transactions in software transaction memory (STM) can be handy. However, most of the STMs offer read/write primitives to access shared cds. These read/write primitives result in unnecessary aborts. Instead, semantically rich higher-level methods of the underlying cds like lookup, insert or delete (in case of hash-table or lists) aid in ignoring unimportant lower level read/write conflicts and allow better concurrency. In this paper, we adapt transaction tree model in databases to propose OSTM which enables efficient composition in cds. We extend the traditional notion of conflicts and legality to higher level methods of cds using STMs and lay down detailed correctness proof to show that it is co-opaque. We implement OSTM with concurrent closed addressed hash-table(HT-OSTM)and list (list-OSTM) which exports the higher-level operations as transaction interface. In our experiments with varying workloads and randomly generated transaction operations, HT-OSTM shows speedup of 3 to 6 times and w.r.t aborts HT-OSTMis 3 to 7 times better than ESTM and read/write based STM, respectively. Where as,list-OSTM outperforms state of the art lock-free transactional list, NOrec STM list and boosted list by 30% to 80% across all workloads and scenarios. Further,list-OSTM incurred negligible aborts in comparison to other techniques considered in the paper.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。