通过负载不平衡对英特尔至强融核上的MPDATA进行基于模型的优化
Model-based optimization of MPDATA on Intel Xeon Phi through load imbalancing
摘要:
负载均衡是一种被广泛接受的并行架构上的科学应用程序的性能优化技术。事实上,平衡的应用程序不会在等待同步和数据交换点上浪费处理器周期,从而最大限度地利用处理器。在本文中,我们挑战的普遍性的负载平衡方法,以优化并行应用程序的性能。首先,我们制定了应用程序的性能配置文件应满足的条件,以便应用程序通过负载均衡实现其最佳性能。然后,我们使用一个现实生活中的科学应用程序,MPDATA,以证明其性能配置文件的现代并行架构,英特尔至强融核,显着偏离这些条件。基于这一观察,我们提出了一种方法,通过负载不平衡的科学应用程序的性能优化。我们还提出了一个算法,找到最佳的,可能是不平衡的,一组同构处理器上的数据并行应用程序的配置。该算法使用应用程序的功能性能模型来找到最小化其计算时间但不一定平衡处理器负载的分区。我们展示了如何将此算法应用于英特尔至强融核上的MPDATA优化。实验结果表明,采用本文提出的负载不平衡优化方法,经过精心优化的负载平衡应用程序的性能可进一步提高15%.
英文摘要:
Load balancing is a widely accepted technique for performance optimization of scientific applications on parallel architectures. Indeed, balanced applications do not waste processor cycles on waiting at points of synchronization and data exchange, maximizing this way the utilization of processors. In this paper, we challenge the universality of the load-balancing approach to optimization of the performance of parallel applications. First, we formulate conditions that should be satisfied by the performance profile of an application in order for the application to achieve its best performance via load balancing. Then we use a real-life scientific application, MPDATA, to demonstrate that its performance profile on a modern parallel architecture, Intel Xeon Phi, significantly deviates from these conditions. Based on this observation, we propose a method of performance optimization of scientific applications through load imbalancing. We also propose an algorithm that finds the optimal, possibly imbalanced, configuration of a data parallel application on a set of homogeneous processors. This algorithm uses functional performance models of the application to find the partitioning that minimizes its computation time but not necessarily balances the load of the processors. We show how to apply this algorithm to optimization of MPDATA on Intel Xeon Phi. Experimental results demonstrate that the performance of this carefully optimized load-balanced application can be further improved by 15\% using the proposed load-imbalancing optimization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。