Title :
PCAsim: A parallel cycle accurate simulation platform for CMPs
Author :
Zhu, Xiaodong ; Wu, Junmin ; Sui, Xiufeng ; Wei Yin ; Wang, Qingbo ; Gong, Zhe
Author_Institution :
Sch. of Comput. Sci. & Technol., Univ. of Sci. & Technol. of China, Hefei, China
Abstract :
As the approaching of the multi-core era, chip multiprocessor(CMP) architectures present a challenge for efficient simulation, combining with the requirements of a detailed simulator running realistic workloads. Parallelization, which can exploit inherent parallelism in CMP simulation, is a common method to reduce simulation time. We design and implement PCAsim, a parallel cycle accurate and user-level CMP simulator running on shared memory platform. The simulator is parallelized by POSIX threads according to target system architecture. Each core thread and the manager thread are synchronized with Slack mechanism. But we find slack mechanism can not ensure the simulator against time violation among events generated by network activity and cache coherence protocol. To solve the problem, we propose an effective synchronous method called pending barrier. This method augments the power of traditional conservative parallel synchronous mechanism and improves simulation accuracy with negligible performance degradation. Except synchronization, we also encountered many other troublesome issues in implementing PCAsim. This paper describes some common ones and illustrates how we address them. The evaluations show that PCAsim can achieve reasonable speed-up and scalability.
Keywords :
digital simulation; microprocessor chips; multi-threading; shared memory systems; PCAsim platform; POSIX threads; Slack mechanism; chip multiprocessor; core thread; manager thread; parallel cycle accurate simulation platform; parallelization method; pending barrier method; shared memory platform; Computational modeling; Computer architecture; Computer simulation; Concurrent computing; Degradation; Discrete event simulation; Multicore processing; Parallel processing; Protocols; Scalability; Yarn; Architectural simulation; Chip multiprocessors; Parallel simulation;
Conference_Titel :
Computer Design and Applications (ICCDA), 2010 International Conference on
Conference_Location :
Qinhuangdao
Print_ISBN :
978-1-4244-7164-5
Electronic_ISBN :
978-1-4244-7164-5
DOI :
10.1109/ICCDA.2010.5540881