DocumentCode
2234625
Title
Proposition of Criteria for Aborting Transaction Based on Log Data Size in LogTM
Author
Asai, Hiroki ; Tsumura, Tomoaki ; Matsuo, Hiroshi
Author_Institution
Nagoya Inst. of Technol., Nagoya, Japan
fYear
2010
fDate
17-19 Nov. 2010
Firstpage
95
Lastpage
103
Abstract
Lock-based synchronization techniques are commonly used in parallel programming on multi-core processors. However, lock can cause deadlocks and poor scalabilities. Hence, LogTM has been proposed and studied for lock-free synchronization. LogTM is a kind of hardware transactional memory. In LogTM, transactions are executed speculatively to ensure serializability and atomicity. LogTM stores original values in a log before it is modified by a transaction. If a transaction accesses a shared datum which has been accessed by another transaction running in parallel, LogTM detects it as conflict and restores all data from the associated log and restarts the transaction. This is called aborting. On abort, the costs for restoring data from a log increases in proportion to the data size on the log. However, LogTM selects which transaction should be aborted by their initiated time. Hence, if conflicts occur frequently, it may degrades the performance. This paper proposes a criterion for selecting which transaction should be aborted taking account of data size in each log. In addition, another criterion which takes account of degree of conflict is also proposed. The result of the experiment with SPLASH-2 benchmark suite programs shows that the proposed methods improve the performance 2.7% in maximum.
Keywords
concurrency control; parallel programming; shared memory systems; synchronisation; LogTM; aborting transaction; atomicity; data restoring; deadlocks; hardware transactional memory; lock-based synchronization; log data; multi-core processors; parallel programming; serializability; shared datum; transaction accesses;
fLanguage
English
Publisher
ieee
Conference_Titel
Networking and Computing (ICNC), 2010 First International Conference on
Conference_Location
Higashi-Hiroshima
Print_ISBN
978-1-4244-8918-3
Electronic_ISBN
978-0-7695-4277-5
Type
conf
DOI
10.1109/IC-NC.2010.51
Filename
5695219
Link To Document