Published August 28, 2017 | Version v1
Conference paper Open

Efficient Dynamic Pinning of Parallelized Applications by Reinforcement Learning with Applications

  • 1. Software Competence Center Hagenberg GmbH
  • 2. University of St. Andrews

Description

This paper describes a dynamic framework for mapping the threads of parallel applications to the computation cores of  parallel systems. We propose a feedback-based mechanism where the performance of each thread is collected and used to drive the reinforcement-learning policy of assigning affinities of threads to CPU cores. The proposed framework is flexible enough to address different optimization criteria, such as maximum processing speed and minimum speed  variance among threads.We evaluate the framework on the Ant Colony optimization parallel benchmark from the heuristic optimization application domain, and demonstrate that we can achieve an improvement of 12% in the execution time compared to the default operating system scheduling/mapping of threads under varying availability of resources (e.g. when multiple applications are running on the same system).

Files

2017_EuroPar17_DynamicScheduler.pdf

Files (470.0 kB)

Name Size Download all
md5:2495046691afbe02c887802f531a7511
470.0 kB Preview Download

Additional details

Funding

European Commission
RePhrase - REfactoring Parallel Heterogeneous Resource-Aware Applications - a Software Engineering Approach 644235