Title :
Offline Data Dependence Analysis to Facilitate Runtime Parallelism Extraction
Author :
Ye, John ; Chen, Jiann-Jong ; Tianzhou Chen ; Minghui Wu ; Li Liu
Author_Institution :
Coll. of Comput. Sci., Zhejiang Univ., Hangzhou, China
Abstract :
In the era of multi-core processors, it is increasingly important to extract parallelism from programs. A key work to find and extract parallelism is data dependence analysis. This paper proposes to analyze the data dependences among code blocks offline, so as to save the computing time and resources with runtime execution. Offline data dependence analysis is feasible because register numbers to access are usually directly encoded in instructions, and register accesses are way more frequent than memory accesses. Therefore we may parse an executable file, divide it into code blocks, and find their register read/write dependences, which can be used at runtime to accelerate future executions. The offline analysis is more than mere static analysis, because many implicit dependences are only revealed at runtime. So we will simulate a runtime environment to analyze the simulated execution, which helps to better understand the dependences, and facilitate runtime parallelization. We built a trace driven simulator and conducted experiments with SPEC2006 benchmarks. The data shows that compared with online analysis, for every 1000 instructions the offline analysis will be able to save at least 1420 ~ 2332 clocks of time (i.e. 1.42 ~ 2.33 times of performance improvement), plus other additional 13 ~ 32 clocks of time (i.e. 1.3% ~ 3.2% of performance improvement), or equivalent computing resource.
Keywords :
parallel processing; program diagnostics; SPEC2006 benchmarks; code blocks; multicore processors; offline data dependence analysis; register read dependence; register write dependence; runtime environment simulation; runtime execution; runtime parallelism extraction; trace driven simulator; Clocks; Educational institutions; Parallel processing; Registers; Runtime; Schedules; Synchronization; automatic parallelization; multi-core; offline analysis; speculative multithreading;
Conference_Titel :
Computational Science and Engineering (CSE), 2014 IEEE 17th International Conference on
Conference_Location :
Chengdu
Print_ISBN :
978-1-4799-7980-6
DOI :
10.1109/CSE.2014.147