Accurate prediction of the behavior of multithreaded applications in shared caches

  • Authors:
  • Diego Andrade;Basilio B. Fraguela;RamóN Doallo

  • Affiliations:
  • Dept. of Electronics and Systems, University of A Coruña, Spain;Dept. of Electronics and Systems, University of A Coruña, Spain;Dept. of Electronics and Systems, University of A Coruña, Spain

  • Venue:
  • Parallel Computing
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Multicores are the norm nowadays and in many of them there are cores that share one or several levels of cache. The theoretical performance gain expected when several cores cooperate in the parallel execution of an application can be reduced in some cases by a cache access bottleneck, as the data accessed by them can interfere in the shared cache levels. In other cases the performance gain can be increased due to a greater reuse of the data loaded in the cache. This paper presents an analytical model that can predict the behavior of shared caches when executing applications parallelized at loop level. To the best of our knowledge, this is the first analytical model that tackles the behavior of multithreaded applications on realistic shared caches without requiring profiling. The experimental results show that the model predictions are precise and very fast and that the model can help a compiler or programmer choose the best parallelization strategy.