一种利用优化的多版本对象事务系统实现组合性的有效方法
An Efficient Approach to Achieve Compositionality using Optimized Multi-Version Object Based Transactional Systems
摘要:
在多核系统的现代时代,主要目标是正确地利用内核。这种利用可以通过并发编程来完成。但是开发一个完美的、组织良好的并发程序是困难的。软件事务存储器系统(STM)是一个方便的编程接口,它可以帮助程序员同时访问共享内存,而不必担心诸如优先级反转、死锁、活锁等一致性问题。STM促进的另一个重要特征是并发程序的组合性。它通过将不同的并发操作封装在一个事务中,将它们组合在一个原子单元中。文献中可用的许多STM在存储器缓冲器上执行读/写原语操作。我们将它们表示为读写STM或RWSTM。然而,存在一些STM(transactional boosting及其变体),它们在哈希表上工作于更高级别的操作,例如插入,删除,查找等。我们将这些STM称为基于对象的STM或OSTM。数据库和RWSTM的文献表明,维护多个版本可以确保更大的并发性。这促使我们维护多个版本在更高的层次上与对象语义,并实现更大的并发性。因此,本文提出了优化的多版本基于对象的STM或OPT-MVOSTM的概念,它封装了多个版本的OSTM的思想,以有效地利用更大的并发性。
英文摘要:
In the modern era of multi-core systems, the main aim is to utilize the cores properly. This utilization can be done by concurrent programming. But developing a flawless and well-organized concurrent program is difficult. Software Transactional Memory Systems (STMs) are a convenient programming interface which assist the programmer to access the shared memory concurrently without worrying about consistency issues such as priority-inversion, deadlock, livelock, etc. Another important feature that STMs facilitate is compositionality of concurrent programs with great ease. It composes different concurrent operations in a single atomic unit by encapsulating them in a transaction. Many STMs available in the literature execute read/write primitive operations on memory buffers. We represent them as Read-Write STMs or RWSTMs. Whereas, there exist some STMs (transactional boosting and its variants) which work on higher level operations such as insert, delete, lookup, etc. on a hash-table. We refer these STMs as Object Based STMs or OSTMs. The literature of databases and RWSTMs say that maintaining multiple versions ensures greater concurrency. This motivates us to maintain multiple version at higher level with object semantics and achieves greater concurrency. So, this paper pro-poses the notion of Optimized Multi-version Object Based STMs or OPT-MVOSTMs which encapsulates the idea of multiple versions in OSTMs to harness the greater concurrency efficiently.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。