University of Cincinnati
Experiments with Hardware-based Transactional Memory in Parallel Simulation
Abstract
dc:descriptionTransactional memory is a concurrency control mechanism that dynamically determines when threads may safely execute critical sections of code. It does so by tracking memory accesses performed within a transactional region, or critical section, and detecting when memory operations conflict with other threads.Transactional memory provides the performance of fine-grained locking mechanisms with the simplicityof coarse-grained locking mechanisms.Parallel Discrete Event Simulation is a problem space that has been studied for many years, but stillsuffers from significant lock contention on SMP platforms. The pending event set is a crucial element toPDES, and its management is critical to simulation performance. This is especially true for optimisticallysynchronized PDES, such as those implementing the Time Warp protocol. Rather than prevent causalityerrors, events are aggressively scheduled and executed until a causality error is detected.This thesis explores the use of transactional memory as an alternative to conventional synchronizationmechanisms for managing the pending event set in a time warp synchronized parallel simulator. In particular, this thesis examines the use of Intel’s hardware transactional memory, TSX, to manage shared access to the pending event set by the simulation threads. In conjunction with transactional memory, other solutions to contention are explored such as the use of multiple queues to hold the pending event set and the dynamic binding of threads to these multiple queues. For each configuration a comparison between conventional locking mechanisms and transactional memory access is performed to evaluate each within the WARPED parallel simulation kernel. In this testing, evaluation of both forms of transactional memory (HLE and RTM) implemented in the Haswell architecture were performed. The results show that RTM generally outperforms conventional locking mechanisms and that HLE provides consistently better performance than conventional locking mechanisms, up to as much as 27%.
Degree
thesis:*- Name thesis:degree_name
- MS
- Level thesis:degree_level
- masters
- Discipline thesis:degree_discipline
- Engineering and Applied Science: Computer Engineering
- Grantor dc:publisher
- University of Cincinnati
- Year dc:date
- 2014
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Hay, Joshua A.
- Chair dc:contributor.committeechair
-
- Wilsey, Philip
Subjects
dc:subject × 7Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=ucin1406900877