[Paper Review] An Innovative Approach for Achieving Composability in Concurrent Systems using Multi-Version Object Based STMs.
This paper proposes Multi-Version Object-Based STM (MV-OSTM), a novel software transactional memory system that enhances composability and concurrency in concurrent systems by maintaining multiple versions of data objects per key. By enabling dynamic tuning of version count via parameter $k$, it reduces transaction aborts and supports garbage collection for unused versions, achieving opacity and high scalability on multicore architectures.
In the modern era of multicore processors, utilizing multiple cores properly 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. Several big-data applications which deal large amounts of data can benefit from Transactional Memory Systems. In this paper, we introduce a new STM system as multi-version object based STM (MV-OSTM) which is the fusion of object based STM with multiple versions. As the name suggests MV-OSTM, works on a higher level and keeping the multiple versions corresponding to each key. Presently, we have developed MV-OSTM with the unlimited number of versions corresponding to each key. To overcome traversal overhead, it performs the garbage collection method to delete the unwanted versions corresponding to the key. It provides greater concurrency while reducing the number of aborts. It ensures composability by making the transaction as atomic. In the proposed algorithm, $k$ is the input parameter and the value of it will be decided by the programmer and depends on the application. Programmer can tune the value of $k$ from 1 to $\infty$. If k equal to 1 then it will boil down to single version object based STM (OSTM) and if k equal to $\infty$ then it will be equivalent to multi-version OSTM with $\infty$ versions. MV-OSTM satisfies correctness-criteria as opacity. For a given version order of keys, if any history H generated by MV-OSTM produces acyclic graph then $H$ is opaque.
Motivation & Objective
- To address the challenges of synchronization and communication overhead in multicore processors.
- To improve transactional memory systems by enabling higher concurrency and reduced abort rates in big-data workloads.
- To ensure composability in concurrent systems through atomic transaction semantics.
- To support dynamic version management via a tunable parameter $k$ for balancing memory usage and performance.
- To formally guarantee correctness via opacity for all histories generated by the system.
Proposed method
- MV-OSTM is designed as a fusion of object-based STM with multi-versioning, maintaining multiple versions per key to support concurrent access.
- The system allows the number of versions per key to be tuned via parameter $k$, ranging from 1 (single version) to infinity (unlimited versions).
- Garbage collection is applied to remove outdated and unused versions, reducing traversal and memory overhead.
- The algorithm ensures atomicity of transactions, enabling composability across nested or concurrent transactions.
- Opacity is formally proven as a correctness criterion: any acyclic history graph generated by MV-OSTM is guaranteed to be opaque.
- The system operates at a higher abstraction level, managing versioning transparently to the programmer.
Experimental results
Research questions
- RQ1How can multi-versioning be integrated into object-based STM to improve concurrency and reduce aborts?
- RQ2What is the impact of tuning the version count parameter $k$ on performance and memory usage?
- RQ3Can a multi-version object-based STM achieve composability while maintaining correctness under opacity?
- RQ4How does garbage collection of obsolete versions affect system scalability and traversal cost?
- RQ5What is the formal correctness guarantee of MV-OSTM under the opacity criterion?
Key findings
- MV-OSTM reduces transaction aborts by maintaining multiple versions of data objects, improving overall concurrency.
- The system supports tunable versioning through parameter $k$, allowing programmers to balance performance and memory usage.
- Garbage collection effectively removes unused versions, minimizing traversal overhead and memory bloat.
- The algorithm ensures opacity, meaning all generated histories are correct and equivalent to some sequential execution.
- When $k = 1$, MV-OSTM reduces to single-version OSTM; when $k = \infty$, it becomes a multi-version OSTM with unlimited versions.
- The system is composable, as transactions are atomic and can be safely composed in nested or concurrent scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.