RT info:eu-repo/semantics/conferenceObject T1 Critical Sections and Software Transactional Memory Comparison in the Context of a TLS Runtime Library A1 Aldea López, Sergio A1 Llanos Ferraris, Diego Rafael A1 González Escribano, Arturo AB Transactional Memory (TM) is a technique that aims to mitigate the performance losses that are inherent to the serialization of accesses in critical sections. Some studies have shown that the use of TM may lead to performance improvements, despite the existence of management overheads. However, the relative performance of TM, with respect to classical critical sections management depends greatly on the actual percentage of times that the same data is handled simultaneously by two transactions. In this paper, we compare the relative performance of the critical sections provided by OpenMP with respect to two Software Transactional Memory (STM) implementations. These three methods are used to manage concurrent data accesses in ATLaS, a software-based, Thread-Level Speculation (TLS) system. The complexity of this application makes it extremely di cult to predict whether two transactions may conflict or not, and how many times the transactions will be executed. Our experimental results show that the STM solutions only deliver a performance comparable to OpenMP when there are almost no conflicts. In any other case, their performance losses make OpenMP the best alternative to manage critical sections. PB Universidad de Salamanca SN 978-84-608-6082-2 YR 2016 FD 2016 LK http://uvadoc.uva.es/handle/10324/29132 UL http://uvadoc.uva.es/handle/10324/29132 LA eng NO Proceedings of the 16th International Conference on Computational and Mathematical Methods in Science and Engineering, CMMSE 2016 4-8 July, 2016, Rota, Cádiz NO Producción Científica DS UVaDOC RD 16-abr-2024