• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2006, Vol. 28 ›› Issue (12): 124-128.

• 论文 • Previous Articles     Next Articles

  

  • Online:2006-12-01 Published:2010-05-20

Abstract:

This paper presents the design and implementation of an OpenMP runtime optimization system based on valueprofiling, called CCRG OpenMP, where the para  llel regions of OpenMP programs can be well optimized based on the common combinations of values. Moreover, only the code within the parallel regions ne eds to be re-compiled and managed at runtime. A distinguished feature of CCRG OpenMP is that a dynamic re-compile technique is adopted to overcome the s  hortcomings of the static muhi-versional approach. A separate dynamic optimizer is developed to collect and analyze value-profiles for reducing the overhead introduced by re-compile. The SPEC OpenMP benchmarks show the presented value-profile based optimization for OpenMP can improve the performance sig nificantly.

Key words: OpenMP, value-profile, runtime optimization