FGSCM: A Fine-Grained Approach to Transactional Lock Elision

dc.contributor.authorSousa, Gustavo [UNESP]
dc.contributor.authorBaldassin, Alexandro [UNESP]
dc.contributor.institutionUniversidade Estadual Paulista (Unesp)
dc.date.accessioned2018-12-11T16:51:36Z
dc.date.available2018-12-11T16:51:36Z
dc.date.issued2017-11-08
dc.description.abstractSpeculative Lock Elision (SLE) is a technique that allows critical sections to be executed optimistically by eliding the lock operation and enabling multiple threads to execute concurrently. In case of inconsistencies, the hardware automatically rolls back the execution and pessimistically acquires the original lock during runtime. The decision to elide the lock in SLE is performed transparently at the microarchitecture level and, although being convenient, it may sometimes hurt performance. To avoid that case, researchers have investigated Transactional Lock Elision (TLE), in which software-controlled hardware transactions are used instead, allowing the creation of policies and heuristics to manage lock elision. Typical implementations of TLE make use of a single lock to serialize the execution in case the original lock cannot be elided, which can potentially degrade performance. In order to improve on such cases, this paper proposes the Fine-Grained Software-assisted Conflict Management (FGSCM) scheme, a TLE technique that employs multiple locks so as to avoid unnecessary serialization of the code. The main idea of FGSCM is that not all threads that conflict inside a critical section are acessing the same region of shared memory. By automatically assigning distinct locks to these threads according to the memory section they access, the level of concurrency can be increased. In this paper we formalize FGSCM and provide an in-depth performance evaluation using a microbenchmark to stress several conflict behaviors. Our initial results with a prototype implementation using Intels Restricted Transactional Memory (RTM) are encouraging. With a quadcore machine, we observed an average performance gain of 11% compared to the single-auxiliary-lock SCM and 36% compared to a standard lock scheme, both for typical read-dominated workloads.en
dc.description.affiliationUniv Estadual Paulista - UNESP
dc.description.affiliationUnespUniv Estadual Paulista - UNESP
dc.description.sponsorshipConselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq)
dc.description.sponsorshipIdCNPq: 446160/2014-8
dc.format.extent113-120
dc.identifierhttp://dx.doi.org/10.1109/SBAC-PAD.2017.22
dc.identifier.citationProceedings - 29th International Symposium on Computer Architecture and High Performance Computing, SBAC-PAD 2017, p. 113-120.
dc.identifier.doi10.1109/SBAC-PAD.2017.22
dc.identifier.scopus2-s2.0-85041209433
dc.identifier.urihttp://hdl.handle.net/11449/170591
dc.language.isoeng
dc.relation.ispartofProceedings - 29th International Symposium on Computer Architecture and High Performance Computing, SBAC-PAD 2017
dc.rights.accessRightsAcesso aberto
dc.sourceScopus
dc.subjectHardware transactional memory
dc.subjectLock elision
dc.subjectLock removal
dc.subjectParallel programming
dc.subjectTransactional lock elision
dc.titleFGSCM: A Fine-Grained Approach to Transactional Lock Elisionen
dc.typeTrabalho apresentado em evento
unesp.author.lattes4738829911864396[2]
unesp.author.orcid0000-0001-8824-3055[2]

Arquivos

Coleções