Title
Using Hardware Transactional Memory to Enable Speculative Trace Optimization
Date Issued
01 March 2016
Access level
metadata only access
Resource Type
conference paper
Author(s)
Institute of Computing, UNICAMP, Brazil
Publisher(s)
IEEE Computer Society
Abstract
This paper describes a novel speculation technique for the optimization, and simultaneous execution, of multiple alternative traces of hot code regions. This technique, called Speculative Trace Optimization (STO), enumerates, optimizes, and speculatively executes traces of hot loops. It requires hardware support that can be provided in a similar fashion as that available in Hardware Transactional Memory (HTM) systems. This paper discusses the necessary features to support STO, namely multi-versioning, lazy conflict resolution, eager conflict detection, and transaction synchronization. A review of existing HTM architectures-Intel TSX, IBM BG/Q, and IBM POWER8-shows that none of them have all the features required to implement STO. However, this work demonstrates that STO can be implemented on top of existing HTM architectures through the addition of privatization and pause/resume code. The evaluation of a prototype STO implementation, on top of Intel TSX, using benchmarks from Parboil, Media Bench, and SPEC2006, indicates that STO can yield whole-program speedups of up to 9%. This initial result is promising given that the prototype has significant overhead caused by the code that compensates for TSX absent features. An analysis, included in the paper, suggests that HTM mechanisms have the potential to considerably improve trace performance provided that they efficiently implement the suggested features.
Start page
1
End page
6
Volume
2016-March
Language
English
OCDE Knowledge area
Hardware, Arquitectura de computadoras
Ingeniería eléctrica, Ingeniería electrónica
Subjects
Scopus EID
2-s2.0-84964089892
ISBN
9781467386210
Source
Proceedings - Symposium on Computer Architecture and High Performance Computing
Resource of which it is part
Proceedings - Symposium on Computer Architecture and High Performance Computing
ISSN of the container
15506533
ISBN of the container
978-146738621-0
Conference
IEEE 27th International Symposium on Computer Architecture and High Performance Computing Workshops, SBAC-PADW 2015
Sponsor(s)
The authors would like to thank CAPES and FAPESP (grants 2015/04285-5 and 2013/08293-7) for supporting this work.
Sources of information:
Directorio de Producción Científica
Scopus