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

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

• 论文 • 上一篇    下一篇

基于值-剖面的OpenMP运行时优化系统

黄春 杨学军   

  • 出版日期:2006-12-01 发布日期:2010-05-20

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

摘要:

本文设计并实现了一个基于值一剖面的OpenMP运行时优化系统CCRG OpenMP。它能够根据常见的值的组合优化并行区域,并且在运行时只有并行区代码需要重编译和管理。CCR G OpenMP基于动态重编译技术,避免了目前静态多版本技术的不足。同时,值-剖面的收集和分析由独立的动态优化器线程完成,降低了动态重编译引入的开销。SPEC OMP2001基准测试表明,我们基于值一剖面的Open MP优化系统能够较大地提高程序性能。

关键词: OpenMP 值-剖面 运行时优化

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