Title
Paratm: Transparent Embedding Of Hardware Transactional Memory For Traditional Applications
Abstract
As the many-core processors become more prevalent, the parallelism degree of applications is rapidly increasing. It is well known that multi-thread approaches are an effective solution to improve performance by exploiting multiple cores. However, the synchronization problem that occurs between multiple threads can limit the concurrency and scalability of applications. Hardware transactional memory (HTM) has been studied to simplify the synchronization problem, and Intel adopted transactional synchronization extensions (TSX) for its processors in the year 2012. TSX can dynamically decide and perform instructions as an atomic transaction. In this paper, we evaluate and analyze the performance of TSX. It is expected that the latest technology implementing HTM to cope with synchronization scalability will be a nice solution for handling the high degree of parallelism. We found two major reasons that cause performance degradation and propose a novel approach to address these more effectively based on our analysis. We also introduced a mechanism, named ParaTM, to transparently adopt TSX for existing lock-based applications. By using ParaTM, one can apply TSX features without modification of the code. From our evaluation using a micro-benchmark and real-world applications, we confirmed ParaTM is highly effective for transparency and performance. ParaTM achieved 1.75x, 4.76x, and 1.53x better performance compared to the traditional lock mechanism for LevelDB, RocksDB, and Memcached, respectively.
Year
DOI
Venue
2018
10.1109/ACCESS.2018.2864969
IEEE ACCESS
Keywords
Field
DocType
Intel TSX, synchronization, transactional memory, scalability
Atomicity,Synchronization,Lock (computer science),Degree of parallelism,Computer science,Parallel computing,Transactional Synchronization Extensions,Transactional memory,Thread (computing),Scalability,Distributed computing
Journal
Volume
ISSN
Citations 
6
2169-3536
0
PageRank 
References 
Authors
0.34
0
2
Name
Order
Citations
PageRank
Kangmin Lee100.34
Heeseung Jo267439.34