| Using Pin as a Memory Reference Generator for Multiprocessor Simulation | |
| McCurdy, C | |
| Oak Ridge National Laboratory | |
| 关键词: Modifications; 99 General And Miscellaneous//Mathematics, Computing, And Information Science; Synchronization; Simulation; Simulators; | |
| DOI : 10.2172/886014 RP-ID : R05-124274 RP-ID : DE-AC05-00OR22725 RP-ID : 886014 |
|
| 美国|英语 | |
| 来源: UNT Digital Library | |
PDF
|
|
【 摘 要 】
In this paper we describe how we have used Pin to generate a multithreaded reference stream for simulation of a multiprocessor on a uniprocessor. We have taken special care to model as accurately as possible the effects of cache coherence protocol state, and lock and barrier synchronization on the performance of multithreaded applications running on multiprocessor hardware. We first describe a simplified version of the algorithm, which uses semaphores to synchronize instrumented application threads and the simulator on every memory reference. We then describe modifications to that algorithm to model the microarchitectural features of the Itanium2 that affect the timing of memory reference issue. An experimental evaluation determines that while cycle-accurate multithreaded simulation is possible using our approach, the use of semaphores has a negative impact on the performance of the simulator.
【 预 览 】
| Files | Size | Format | View |
|---|---|---|---|
| 886014.pdf | 145KB |
PDF