Efficient Thread Tuning for Asymmetric Multicores
Marcelo K. Moori, Hiago Mayk G. de A. Rocha, Arthur F. Lorenzon, Antonio Carlos Schneider Beck · 2024
Asymmetric multicore processors (AMP), integrating high-performance cores with energy-efficient ones, provide enhancements to optimize energy consumption for desktop/server environments. However, their irregular microarchitecture challenges the programmer to fully explore the parallelism potential of many parallel applications. In this paper, we propose Mímir, a library for automatically finding, at runtime, the ideal number of threads for each parallel region of OpenMP applications executing on AMPs. It is transparent to the end-user, requiring no changes in the source code or recompilation. Our experiments, considering eleven parallel applications executed on an Intel Alder Lake, report that Mímir can reduce, on average, 74.79%, 72.37%, and 68.89% of the Energy-Delay Product of the applications, respectively, considering all cores, only P-Cores, and only E-Cores.