arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.07861cs.DC
收藏

PATSMA:面向共享内存算法的参数自动调优

PATSMA: Parameter Auto-tuning for Shared Memory Algorithms

Joao B. Fernandes, Felipe H. S. da Silva, Samuel Xavier-de-Souza, Italo A. S. Assis

AI总结:

针对共享内存并行算法中动态执行参数依赖上下文且逐一测试成本高昂的问题,提出 PATSMA 工具,结合 CSA 与 NM 优化实现参数自动调优和实时性能优化,并以 MIT 许可开源 C++ 库。

摘要:

具有高度复杂性的程序在调整执行参数时往往面临挑战,尤其是当这些参数会根据执行上下文而变化时。这些动态参数会显著影响程序性能,例如循环粒度,它可能因执行环境、程序输入或编译器选择等因素而变化。鉴于逐一测试每种情形的成本很高,一种可行的解决方案是利用优化方法实现参数调整自动化。本文介绍 PATSMA,这是一款参数自动调优工具,利用 Coupled Simulated Annealing(CSA,耦合模拟退火)和 Nelder-Mead(NM)优化方法来精细调整应用程序中的现有参数。我们展示了自动调优如何有助于对面向共享内存系统设计的并行算法进行实时优化。PATSMA 是一个可在 MIT 许可证下随时获取的 C++ 库。

英文摘要:

Programs with high levels of complexity often face challenges in adjusting execution parameters, particularly when these parameters vary based on the execution context. These dynamic parameters significantly impact the program's performance, such as loop granularity, which can vary depending on factors like the execution environment, program input, or the choice of compiler. Given the expensive nature of testing each case individually, one viable solution is to automate parameter adjustments using optimization methods. This article introduces PATSMA, a parameter auto-tuning tool that leverages Coupled Simulated Annealing (CSA) and Nelder-Mead (NM) optimization methods to fine-tune existing parameters in an application. We demonstrate how auto-tuning can contribute to the real-time optimization of parallel algorithms designed for shared memory systems. PATSMA is a C++ library readily available under the MIT license.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑