arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Artificial Intelligence

Parallel nesting in a lock-free multi-version software transactional memory

Nuno Diegues, Sérgio Fernandes, João Cachopo

See on the map

Abstract

Many applications contain large operations that must be performed atomically, which typically leads to many conflicts in optimistic concurrency control mechanisms such as those used by most Transactional Memory (TM) systems. Yet, sometimes these operations could be executed faster if their latent parallelism was used efficiently, but unfortunately few TM systems allow a transaction to be split in several parts that execute concurrently. In this paper we extend the JVSTM to add support for closed parallel nesting, resulting in the first lock-free, multi-version, and efficient implementation of closed parallel nesting. Moreover, we show how the new implementation with parallel nesting outperforms the original version by up to 10 times in the Vacation benchmark, by exploring the latent parallelism within top-level transactions of a highly-contending, write-dominated workload.

More like this