Title :
A Novel Approach for Finding Optimization Opportunities in Multicore Architectures
Author :
Lin, Ching-Chi ; Liu, Pangfeng ; Wu, Jan-Jan
Author_Institution :
Inst. of Inf. Sci., Acad. Sinica, Taipei, Taiwan
Abstract :
Compiler techniques for program optimizations have been well studied for single-thread programs. With the advance of multi-core architectures, compiler optimizations for multi-threaded parallel programs have started to draw research attention in recent years. Optimizations for multi-threaded parallel programs on multi-core architectures are much more difficult because of the complicated interaction and resource competition between threads. Therefore, identifying the appropriate code segments for performing optimization becomes one of the most challenging issues. In this work, we propose a novel technique to identify the code segments that exhibit unstable performance behavior% because of resource contention between threads, and show that by applying appropriate optimizations to such code segments, the performance of the parallel program can be improved. Our technique is based on a simple and efficient sampling method that analyzes variations in the performance variance of basic blocks to classify basic blocks into "stable" and "unstable" ones. ``Stable\´\´ basic blocks have low average coefficient of variation(CoV) while "unstable" ones have CoV higher than a threshold value. Such analysis results can be used to determine the "unstable" code segments that may benefit from runtime optimizations. Our experiment results on the SPEC OMP2001 benchmark suite demonstrate that the proposed method is effective in finding "unstable" code segments.
Keywords :
benchmark testing; multi-threading; multiprocessing systems; optimising compilers; parallel architectures; performance evaluation; resource allocation; sampling methods; CoV; SPEC OMP2001 benchmark suite; appropriate optimizations; coefficient of variation; compiler optimizations; compiler techniques; multicore architectures; multithreaded parallel programs; optimization opportunity; performance variance; program optimizations; research attention; resource competition; resource contention; runtime optimizations; sampling method; single-thread programs; stable basic blocks; threshold value; unstable code segments; unstable performance behavior; Benchmark testing; Image color analysis; Multicore processing; Optimization; Phase detection; Runtime; multi-core architecture; optimization opportunities for parallel programs; parallel program behavior analysis; sampling based technique;
Conference_Titel :
Parallel and Distributed Processing with Applications (ISPA), 2011 IEEE 9th International Symposium on
Conference_Location :
Busan
Print_ISBN :
978-1-4577-0391-1
Electronic_ISBN :
978-0-7695-4428-1
DOI :
10.1109/ISPA.2011.30