基于多版本对象的事务处理系统实现组合性的一种创新方法
An Innovative Approach to Achieve Compositionality Efficiently using Multi-Version Object Based Transactional Systems
摘要:
在多核处理器的现代时代,利用内核是一项繁琐的工作。处理器之间的同步和通信涉及高成本。软件事务存储系统(STM)解决了这个问题,并提供了更好的并发性,程序员不必担心一致性问题。STM的另一个优点是,它们非常容易地促进并发程序的组合性。需要组合以形成单个原子单元的不同并发操作通过将它们封装在单个事务中来实现。在本文中,我们介绍了一个新的STM系统,多版本的基于对象的STM(MVOSTM),这是这两个想法的结合,利用更大的并发性STM。顾名思义,MVOSTM在更高的级别上工作,并维护与每个密钥对应的多个版本。我们开发了MVOSTM,每个密钥对应的版本数量不受限制。除此之外,我们还为MVOSTM开发了垃圾回收(MVOSTM-GC)来删除键对应的不需要的版本,以减少遍历开销。MVOSTM提供了更大的并发性,同时减少了中止的数量,并通过使事务原子化来确保组合性。在这里,我们已经将MVOSTM用于列表和哈希表数据结构,如列表-MVOSTM和HT-MVOSTM。实验结果的列表MVOSTM优于几乎2到20倍的加速比现有的国家的最先进的基于列表的STM(trans-list,boosting-list,NOrec-list,list-MVTO,和list-OSTM)。HT-MVOSTM显示出比现有的最先进的基于哈希表的STM(ESTM、RWSTM、HT-MVTO和HT-OSTM)高出近2到19倍的显著性能增益。在现有的STM算法中,带有列表和哈希表的MVOSTM算法的中止次数最少。MVOSTM满足不透明度的正确性标准。
英文摘要:
In the modern era of multicore processors, utilizing cores is a tedious job. Synchronization and communication among processors involve high cost. Software transaction memory systems (STMs) addresses this issues and provide better concurrency in which programmer need not have to worry about consistency issues. Another advantage of STMs is that they facilitate compositionality of concurrent programs with great ease. Different concurrent operations that need to be composed to form a single atomic unit is achieved by encapsulating them in a single transaction. In this paper, we introduce a new STM system as multi-version object based STM (MVOSTM) which is the combination of both of these ideas for harnessing greater concurrency in STMs. As the name suggests MVOSTM, works on a higher level and maintains multiple versions corresponding to each key. We have developed MVOSTM with the unlimited number of versions corresponding to each key. In addition to that, we have developed garbage collection for MVOSTM (MVOSTM-GC) to delete unwanted versions corresponding to the keys to reduce traversal overhead. MVOSTM provides greater concurrency while reducing the number of aborts and it ensures compositionality by making the transactions atomic. Here, we have used MVOSTM for the list and hash-table data structure as list-MVOSTM and HT- MVOSTM. Experimental results of list-MVOSTM outperform almost two to twenty fold speedup than existing state-of-the-art list based STMs (Trans-list, Boosting-list, NOrec-list, list-MVTO, and list-OSTM). HT-MVOSTM shows a significant performance gain of almost two to nineteen times better than existing state-of-the-art hash-table based STMs (ESTM, RWSTMs, HT-MVTO, and HT-OSTM). MVOSTM with list and hash-table shows the least number of aborts among all the existing STM algorithms. MVOSTM satisfies correctness-criteria as opacity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。