An online profile guided optimization approach for speculative parallel threading

  • Authors:
  • Yuan Liu;Hong An;Bo Liang;Li Wang

  • Affiliations:
  • Department of Computer Science and Technology, University of Science and Technology of China, Hefei, Anhui, China and Key Laboratory of Computer System and Architecture, Chinese Academy of Science ...;Department of Computer Science and Technology, University of Science and Technology of China, Hefei, Anhui, China and Key Laboratory of Computer System and Architecture, Chinese Academy of Science ...;Department of Computer Science and Technology, University of Science and Technology of China, Hefei, Anhui, China and Key Laboratory of Computer System and Architecture, Chinese Academy of Science ...;Department of Computer Science and Technology, University of Science and Technology of China, Hefei, Anhui, China and Key Laboratory of Computer System and Architecture, Chinese Academy of Science ...

  • Venue:
  • ACSAC'07 Proceedings of the 12th Asia-Pacific conference on Advances in Computer Systems Architecture
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Speculative parallel threading technique has been proposed to speed up hard-to-parallelize applications running on multi-core chips. Traditionally offline profiling approach provides necessary information for the optimizations used in speculative parallelization. However, the offline profiling can't address the applications without appropriate training input. We propose an online profile guided optimization approach to address this problem, which performs profiling and optimizing at runtime and doesn't need an individual profiling pass as well as good training inputs. In our design, programs run in a manner of two continuous phases which are profiling phase and optimized execution phase respectively. Furthermore, our approach can also detect at runtime the behavior change of programs parallelized speculatively. Next the execution flow will be transferred to a new optimized version more suitable to this change. The evaluation shows that the ability of this approach is comparable to the traditional offline implementation. So we believe that this approach is able to serve as an individual guide to speculatively parallelize the applications when traditional offline profiling is unavailable.