Back to Search Start Over

PATSMA: Parameter Auto-tuning for Shared Memory Algorithms

Authors :
Fernandes, Joao B.
da Silva, Felipe H. S.
Xavier-de-Souza, Samuel
Assis, Italo A. S.
Source :
SoftwareX, Volume 27, 2024, 101789
Publication Year :
2024

Abstract

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.

Details

Database :
arXiv
Journal :
SoftwareX, Volume 27, 2024, 101789
Publication Type :
Report
Accession number :
edsarx.2401.07861
Document Type :
Working Paper
Full Text :
https://doi.org/10.1016/j.softx.2024.101789