面向内核调优器的基准测试套件
Towards a Benchmarking Suite for Kernel Tuners
摘要:
随着计算系统变得越来越复杂,程序员越来越难以在硬件更新时保持代码优化。自动调优器试图通过向用户隐藏尽可能多的基于架构的优化细节来缓解这一问题,以便代码可以在不同代的系统中有效地使用。在这篇文章中,我们介绍了一个新的基准测试套件,用于评估现代自动调谐器针对GPU使用的优化算法的性能。该套件包含可调的GPU内核,这些内核代表了现实世界的应用程序,允许在优化算法之间进行比较,并检查代码优化、搜索空间难度和性能可移植性。我们的框架通过定义一个共享的问题接口,方便了新的自动调谐器和基准测试的集成。我们的基准套件进行评估的基础上,五个特点:收敛速度,局部极小中心,最佳加速,置换功能的重要性(PFI),和性能的可移植性。结果表明,优化参数对性能影响很大,需要进行全局优化。每个参数的重要性在GPU架构中是一致的,但是,具体值需要针对每个架构进行优化。我们的可移植性研究强调了针对特定目标架构自动调优每个应用程序的至关重要性。结果表明,简单地将最佳配置从一个架构转移到另一个架构可以导致最佳性能的58.5%到99.9%,具体取决于GPU架构。这突出了自动调整在现代计算系统中的重要性,以及我们的基准套件在促进优化算法的研究及其在实现特定目标架构的最佳性能方面的有效性方面的价值。
英文摘要:
As computing system become more complex, it is becoming harder for programmers to keep their codes optimized as the hardware gets updated. Autotuners try to alleviate this by hiding as many architecture-based optimization details as possible from the user, so that the code can be used efficiently across different generations of systems. In this article we introduce a new benchmark suite for evaluating the performance of optimization algorithms used by modern autotuners targeting GPUs. The suite contains tunable GPU kernels that are representative of real-world applications, allowing for comparisons between optimization algorithms and the examination of code optimization, search space difficulty, and performance portability. Our framework facilitates easy integration of new autotuners and benchmarks by defining a shared problem interface. Our benchmark suite is evaluated based on five characteristics: convergence rate, local minima centrality, optimal speedup, Permutation Feature Importance (PFI), and performance portability. The results show that optimization parameters greatly impact performance and the need for global optimization. The importance of each parameter is consistent across GPU architectures, however, the specific values need to be optimized for each architecture. Our portability study highlights the crucial importance of autotuning each application for a specific target architecture. The results reveal that simply transferring the optimal configuration from one architecture to another can result in a performance ranging from 58.5% to 99.9% of the optimal performance, depending on the GPU architecture. This highlights the importance of autotuning in modern computing systems and the value of our benchmark suite in facilitating the study of optimization algorithms and their effectiveness in achieving optimal performance for specific target architectures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。