z-logo
open-access-imgOpen Access
Experiments with Hardware-based Transactional Memory in Parallel Simulation
Author(s) -
Joshua Hay,
Philip A. Wilsey
Publication year - 2015
Publication title -
ohiolink etd center (ohio library and information network)
Language(s) - English
Resource type - Conference proceedings
DOI - 10.1145/2769458.2769462
Subject(s) - computer science , transactional memory , software transactional memory , parallel computing , serialization , synchronization (alternating current) , lock (firearm) , shared memory , operating system , database transaction , programming language , mechanical engineering , computer network , channel (broadcasting) , engineering
Transactional memory is a concurrency control mechanism that dynamically determines when threads may safely execute critical sections of code. It provides the performance of fine-grained locking mechanisms with the simplicity of coarse-grained locking mechanisms. With hardware based transactions, the protection of shared data accesses and updates can be evaluated at runtime so that only true collisions to shared data force serialization. This paper explores the use of transactional memory as an alternative to conventional synchronization mechanisms for managing the pending event set in a Time Warp synchronized parallel simulator. In particular, we explore the application of Intel's hardware-based transactional memory (TSX) to manage shared access to the pending event set by the simulation threads. Comparison between conventional locking mechanisms and transactional memory access is performed to evaluate each within the warped Time Warp synchronized parallel simulation kernel. In this testing, evaluation of both forms of transactional memory found in the Intel Haswell processor, Hardware Lock Elision (HLE) and Restricted Transactional Memory (RTM), are evaluated. The results show that RTM generally outperforms conventional locking mechanisms and that HLE provides consistently better performance than conventional locking mechanisms, in some cases as much as 27%.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom