Title :
A Synchronization Aware Memory Race Recorder
Author :
Zhu Suxia ; Ji ZhenZhou ; Chen Zhigang ; Wang Qing ; Wu Hao
Author_Institution :
Sch. of Comput. Sci. & Technol., Harbin Inst. of Technol., Harbin, China
Abstract :
Memory race recording has been proved to be a hard problem in multithreaded deterministic record-replay. It is important to develop an efficient memory race recording algorithm. However, most of the prior work tries to record all memory conflicts, whether they affect deterministic replay or not, resulting a relatively large memory race log. This paper proposes an innovative synchronization aware point-to-point memory race recorder, called SAMR. SAMR analyzes memory conflicts introduced by synchronization operations and classifies them into harmful synchronization conflicts and harmless synchronization conflicts. Harmless synchronization conflicts are filtered out by identifying synchronization operations when recording, and a reduced memory race log is achieved. At the same time, SAMR reduces hardware overhead by using signatures instead of cache memory. Simulations with splash-2 workloads on 8-core CMP system show that SAMR can achieve small memory race size (~2 bytes per thousand memory instructions), good scalability in log size and low bandwidth overhead (<; 5%), while not needing too much hardware state (~1129 bytes).
Keywords :
microprocessor chips; multi-threading; shared memory systems; 8-core CMP system; CMP; cache memory; chip multiprocessors; innovative synchronization; memory race log; point-to-point memory race recorder; shared memory multithreaded programming; synchronization aware memory race recorder; synchronization operations; Cache memory; Hardware; Instruction sets; Memory management; Registers; Spinning; Synchronization; deterministic replay; memory race recording; multiprocessor; synchronization;
Conference_Titel :
Parallel and Distributed Systems (ICPADS), 2012 IEEE 18th International Conference on
Conference_Location :
Singapore
Print_ISBN :
978-1-4673-4565-1
Electronic_ISBN :
1521-9097
DOI :
10.1109/ICPADS.2012.79