首页> 外文会议>2016 International Conference on Information Systems Engineering >Modeling Parallelization Overheads for Predicting Performance
【24h】

Modeling Parallelization Overheads for Predicting Performance

机译:建模并行化开销以预测性能

获取原文
获取原文并翻译 | 示例

摘要

Legacy codes primarily exist on a single core processor. With the proliferation of multicore processors, end users often want to migrate to new platforms to improve performance or reduce execution time of the application. Migration from a single core processor to multicore is an expensive proposition. Thus, end users often want to get some idea about possible performance benefit prior to actual migration. Parallelizing a given application often leads to overheads due to the very constructs that enable parallelization. These overheads reduce performance of the application. In this paper, we analyze the overheads caused by OpenMP parallelization constructs. We further provide guidelines to programmers on how to reduce these overheads and maximize the performance benefits of parallelization. We start our analysis by using motivational examples, create a model and then validate our model with benchmark codes. Our experiments show that the following factors affect overheads: 1) type and scope of arrays, 2) array access w.r.t. the overall data flow, 3) number of iterations, and 4) the chunk sizes during execution. Based on our experiments we propose a mathematical model for predicting the number of cycles for these overheads. We use this model to predict overheads of four benchmark codes. Our results show that the error between the number of cycles predicted and observed is on an average 8.22%.
机译:传统代码主要存在于单个核心处理器上。随着多核处理器的激增,最终用户通常希望迁移到新平台以提高性能或减少应用程序的执行时间。从单核处理器迁移到多核是一项昂贵的提议。因此,最终用户通常希望在实际迁移之前对可能的性能优势有所了解。由于启用并行化的结构非常复杂,因此给定应用程序的并行化通常会导致开销。这些开销降低了应用程序的性能。在本文中,我们分析了由OpenMP并行化构造引起的开销。我们还为程序员提供了有关如何减少这些开销并使并行化的性能优势最大化的指南。我们通过使用激励示例开始分析,创建模型,然后使用基准代码验证模型。我们的实验表明,以下因素会影响开销:1)数组的类型和范围,2)数组访问w.r.t.总体数据流,3)迭代次数和4)执行期间的块大小。根据我们的实验,我们提出了一个数学模型来预测这些间接费用的周期数。我们使用该模型来预测四个基准代码的开销。我们的结果表明,预测和观察到的循环数之间的误差平均为8.22%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号