Logotipo do repositório
 

Publicação:
Using Barrier Elision to Improve Transactional Code Generation

dc.contributor.authorHonorio, Bruno Chinelato
dc.contributor.authorCarvalho, Joao P. L. de
dc.contributor.authorMorales, Catalina Munoz
dc.contributor.authorBaldassin, Alexandro [UNESP]
dc.contributor.authorAraujo, Guido
dc.contributor.institutionUniversidade Estadual de Campinas (UNICAMP)
dc.contributor.institutionUniv Alberta
dc.contributor.institutionUniversidade Estadual Paulista (UNESP)
dc.date.accessioned2022-11-30T13:46:31Z
dc.date.available2022-11-30T13:46:31Z
dc.date.issued2022-09-01
dc.description.abstractWith chip manufacturers such as Intel, IBM, and ARM offering native support for transactional memory in their instruction set architectures, memory transactions are on the verge of being considered a genuine application tool rather than just an interesting research topic. Despite this recent increase in popularity on the hardware side of transactional memory (HTM), software support for transactional memory (STM) is still scarce and the only compiler with transactional support currently available, the GNU Compiler Collection (GCC), does not generate code that achieves desirable performance. For hybrid solutions of TM (HyTM), which are frameworks that leverage the best aspects of HTM and STM, the subpar performance of the software side, caused by inefficient compiler generated code, might forbid HyTM to offer optimal results. This article extends previous work focused exclusively on STM implementations by presenting a detailed analysis of transactional code generated by GCC in the context of HybridTM implementations. In particular, it builds on previous research of transactional memory support in the Clang/LLVM compiler framework, which is decoupled from any TM runtime, and presents the following novel contributions: (a) it shows that STM's performance overhead, due to an excessive amount of read and write barriers added by the compiler, also impacts the performance of HyTM systems; and (b) it reveals the importance of the previously proposed annotation mechanism to reduce the performance gap between HTM and STM in phased runtime systems. Furthermore, it shows that, by correctly using the annotations on just a few lines of code, it is possible to reduce the total number of instrumented barriers by 95% and to achieve speed-ups of up to 7x when compared to the original code generated by GCC and the Clang compiler.(1)en
dc.description.affiliationUniv Estadual Campinas, UNICAMP, Inst Comp, Av Albert Einstein 1251,Cidade Univ, BR-13083852 Campinas, SP, Brazil
dc.description.affiliationUniv Alberta, Dept Comp Sci, 2-21 Athabasca Hall, Edmonton, AB T6G 2E8, Canada
dc.description.affiliationState Univ Sao Paulo, UNESP, Inst Geociencias & Ciencias Exatas, Dept Estat Matemat Aplicada & Comp, Campus Rio Claro DEMAC,Ave 24 A,1515, BR-13506900 Rio Claro, SP, Brazil
dc.description.affiliationUnespState Univ Sao Paulo, UNESP, Inst Geociencias & Ciencias Exatas, Dept Estat Matemat Aplicada & Comp, Campus Rio Claro DEMAC,Ave 24 A,1515, BR-13506900 Rio Claro, SP, Brazil
dc.description.sponsorshipFundação de Amparo à Pesquisa do Estado de São Paulo (FAPESP)
dc.description.sponsorshipCenter for Computational Engineering and Sciences (CCES)
dc.format.extent23
dc.identifierhttp://dx.doi.org/10.1145/3533318
dc.identifier.citationAcm Transactions On Architecture And Code Optimization. New York: Assoc Computing Machinery, v. 19, n. 3, 23 p., 2022.
dc.identifier.doi10.1145/3533318
dc.identifier.issn1544-3566
dc.identifier.urihttp://hdl.handle.net/11449/237847
dc.identifier.wosWOS:000851454700017
dc.language.isoeng
dc.publisherAssoc Computing Machinery
dc.relation.ispartofAcm Transactions On Architecture And Code Optimization
dc.sourceWeb of Science
dc.subjectTransactional memory
dc.subjectDebugging
dc.titleUsing Barrier Elision to Improve Transactional Code Generationen
dc.typeArtigo
dcterms.rightsHolderAssoc Computing Machinery
dspace.entity.typePublication
unesp.campusUniversidade Estadual Paulista (UNESP), Instituto de Geociências e Ciências Exatas, Rio Claropt
unesp.departmentEstatística, Matemática Aplicada e Computação - IGCEpt

Arquivos