首页> 外文会议>IEEE International Conference on Computer Research and Development >A Synchronization Optimization Technique for OpenMP
【24h】

A Synchronization Optimization Technique for OpenMP

机译:OpenMP的同步优化技术

获取原文

摘要

In recent years, even though the chip density can still increase, it is difficult to increase the main frequency. Performance improvements for single processors may be close to their limits. So multi-core processors are coming on the scene. In order to make full use of multi-core platforms, we must find the inherent parallelism of programs and write programs that can execute in parallel. OpenMP standard is widely used in parallel programming because of its good portability and ease of use. For OpenMP programs generated by parallel compilers and OpenMP programs which only have simple parallelism, they belong to programs with insufficient optimization. In OpenMP parallel execution, synchronization control is one of the main overheads. Its unnecessary barrier synchronization reduces the performance of parallel program. This paper discusses an optimization technology of OpenMP program. Firstly, the parallel area of OpenMP program is merged and expanded to reduce the overhead of parallel and serial switching in execution, and at the same time, it is convenient for next steps to optimize the program. Then explicit the implicit synchronization in OpenMP program. Finally, data dependency analysis is carried out for the context of each synchronization, and unnecessary synchronizations are deleted. The program is tested with the program running time as an index to evaluate the performance of the test program. The experimental results show that the optimization strategy proposed in this paper correctly reconstructs the parallel regions and reduces its execution overhead; it reduces the number of redundant synchronizations and effectively improve the performance of OpenMP program.
机译:近年来,即使芯片密度仍然可以增加,难以增加主频率。单个处理器的性能改进可能接近其限制。因此,多核处理器即将到来。为了充分利用多核平台,必须找到可以并行执行的程序和编写程序的固有并行性。 OpenMP标准广泛用于并行编程,因为其良好的便携性和易用性。对于由并行编译器和仅具有简单并行性的OpenMP程序生成的OpenMP程序,它们属于未能优化不足的程序。在OpenMP并行执行中,同步控制是主要开销之一。其不必要的障碍同步可降低并行程序的性能。本文讨论了OpenMP计划的优化技术。首先,openMP程序的并行区域被合并并扩展,以减少执行并行和串行切换的开销,同时,它方便的后续步骤优化程序。然后在OpenMP程序中显式显式同步。最后,为每个同步的上下文执行数据依赖关系分析,删除不必要的同步。该程序是用程序运行时间作为索引进行测试,以评估测试程序的性能。实验结果表明,本文提出的优化策略正确地重建了平行区域并降低了其执行开销;它降低了冗余同步的数量,有效地提高了OpenMP程序的性能。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号