Publication:
Efficient, Distributed, and Non-Speculative Multi-Address Atomic Operations

dc.contributor.authorGómez-Hernández, Eduardo José
dc.contributor.authorTitos-Gil, Rubén
dc.contributor.authorCebrián González, Juan Manuel
dc.contributor.authorKaxiras, Stefanos
dc.contributor.authorRos, Alberto
dc.contributor.departmentIngeniería y Tecnología de Computadores
dc.date.accessioned2021-12-02T20:17:46Z
dc.date.available2021-12-02T20:17:46Z
dc.date.issued2021-10
dc.description.abstractCritical sections that read, modify, and write (RMW) a small set of addresses are common in parallel applications and concurrent data structures. However, to escape from the intricacies of fine-grained locks, which require reasoning about all possible thread interleavings, programmers often resort to coarse-grained locks to ensure atomicity. This results in atomic protection of a much larger set of potentially conflicting addresses, and, consequently, increased lock contention and unneeded serialization. As many before us have observed, these problems would be solved if only general RMW multi-address atomic operations were available, but current proposals are impractical because of deadlock scenarios that appear due to resource limitations. Alternatively, transactional memory can detect conflicts at run-time aiming to maximize concurrency, but it has significant overheads in highly-contended critical sections. In this work, we propose multi-address atomic operations (MAD atomics). MAD atomics achieve complexity-effective, non-speculative, non-deadlocking, fine-grained locking for multiple addresses, relying solely on the coherence protocol and a predetermined locking order. Unlike prior works, MAD atomics address the challenge of enabling atomic modification over a set of cachelines with arbitrary addresses, simultaneously locking all of them while sidestepping deadlock. MAD atomics only require a small storage per core (around 68 bytes), while significantly outperforming typical lock implementations. Indeed, our evaluation using gem5-20 shows that MAD atomics can improve performance by up to 18×(3.4×, on average, for the applications and concurrent data structures evaluated in this work) over a baseline implemented with locks running on 16 cores. More importantly, the improvement still reaches 2.7×, on average, compared to an Intel hardware transactional memory implementation running on 16 cores.es
dc.formatapplication/pdfes
dc.format.extent13es
dc.identifier.doi10.1145/3466752.3480073
dc.identifier.eissn978-1-4503-8557-2
dc.identifier.urihttp://hdl.handle.net/10201/114646
dc.languageenges
dc.relationEuropean Research Council (ERC) under the European Union s Horizon 2020 research and innovation programme (ECHO: Extending Coherence for Hardware-Driven Optimizations in Multicore Architectures, grant agreement No 819134, Consolidator Grant, 2018).es
dc.relation.ispartof54th International Symposium on Microarchitecture (MICRO)es
dc.rightsinfo:eu-repo/semantics/openAccesses
dc.rightsAtribución 4.0 Internacional*
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/*
dc.subjectMutli-address atomicses
dc.subjectRead-Modity-Writees
dc.subjectDeadlock-freees
dc.subjectNon-speculativees
dc.titleEfficient, Distributed, and Non-Speculative Multi-Address Atomic Operationses
dc.typeinfo:eu-repo/semantics/articlees
dspace.entity.typePublicationes
Files
Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
ejgomez-micro21.pdf
Size:
773.79 KB
Format:
Adobe Portable Document Format
Description:
License bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.39 KB
Format:
Item-specific license agreed upon to submission
Description:
Collections