کد مقاله | کد نشریه | سال انتشار | مقاله انگلیسی | نسخه تمام متن |
---|---|---|---|---|
462735 | 696894 | 2012 | 10 صفحه PDF | دانلود رایگان |
![عکس صفحه اول مقاله: CCTR: An efficient point-to-point memory race recorder implemented in chunks CCTR: An efficient point-to-point memory race recorder implemented in chunks](/preview/png/462735.png)
Memory race recording is a key technology to replay multithreaded programming deterministically. Modern computers supply efficient communication mechanism and memory races occur frequently. So it is significant to develop an efficient memory race recording algorithm with low log growth rate and rapid replay speed. This paper proposes a new efficient point-to-point memory race recording algorithm, called CCTR, which writes a small race log with small hardware state, operates well as the number of cores per system scales, and can replay multithreaded programs at production run speed. CCTR uses a new relative indirect dependency to present each memory race instead of its precise dependency. In this dependency, CCTR need not store any timestamp for each memory block and detects memory races in chunks. Through simulation on 4-core chip multiprocessor (CMP), a good result is achieved which includes smallest log growth rate (∼5 bytes per thousand memory instructions), small hardware state (∼504 bytes per core), low runtime overhead (less than 2%), low bandwidth overhead (∼7%) and good scalability.
Journal: Microprocessors and Microsystems - Volume 36, Issue 6, August 2012, Pages 510–519