Performance Improvement of Stencil Computations for Multi-core Architectures based on Machine Learning - BRGM - Bureau de recherches géologiques et minières Accéder directement au contenu
Article Dans Une Revue Procedia Computer Science Année : 2017

Performance Improvement of Stencil Computations for Multi-core Architectures based on Machine Learning

Résumé

Stencil computations are the basis to solve many problems related to Partial Differential Equations (PDEs). Obtaining the best performance with such numerical kernels is a major issue as many critical parameters (architectural features, compiler flags, memory policies, multithreading strategies) must be finely tuned. In this context, auto-tuning methods have been extensively used to improve the overall performance. However, the complexity of current architectures and the large number of optimizations to consider reduce the efficiency of this approach. This paper focuses on the use of Machine Learning to predict the performance of stencil kernels on multi-core architectures. Low-level hardware counters (e.g. cache-misses and TLB misses) on a limited number of executions are used to build our predictive model. We have considered two different kernels (7-point Jacobi and seismic wave modelling) to demonstrate the effectiveness of our approach. Our results show that performance can be predicted and that the best input configuration for stencil problems can be obtained by simulations of hardware counters and performance measurements.
Fichier principal
Vignette du fichier
1-s2.0-S1877050917307408-main.pdf (707.2 Ko) Télécharger le fichier
Origine : Publication financée par une institution

Dates et versions

hal-01849636 , version 1 (06-12-2022)

Identifiants

Citer

Víctor Martínez, Fabrice Dupros, Márcio Castro, Philippe O.A. Navaux. Performance Improvement of Stencil Computations for Multi-core Architectures based on Machine Learning. Procedia Computer Science, 2017, 108, pp.305 - 314. ⟨10.1016/j.procs.2017.05.164⟩. ⟨hal-01849636⟩

Collections

BRGM
35 Consultations
14 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More