autopin: automated optimization of thread-to-core pinning on multicore systems

  • Authors:
  • Tobias Klug;Michael Ott;Josef Weidendorfer;Carsten Trinitis

  • Affiliations:
  • Technische Universität München, Lehrstuhl für Rechnertechnik und Rechnerorganisation, Parallelrechnerarchitektur, Garching bei München;Technische Universität München, Lehrstuhl für Rechnertechnik und Rechnerorganisation, Parallelrechnerarchitektur, Garching bei München;Technische Universität München, Lehrstuhl für Rechnertechnik und Rechnerorganisation, Parallelrechnerarchitektur, Garching bei München;Technische Universität München, Lehrstuhl für Rechnertechnik und Rechnerorganisation, Parallelrechnerarchitektur, Garching bei München

  • Venue:
  • Transactions on high-performance embedded architectures and compilers III
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we present a framework for automatic detection and application of the best binding between threads of a running parallel application and processor cores in a shared memory system, by making use of hardware performance counters. This is especially important within the scope of multicore architectures with shared cache levels. We demonstrate that many applications from the SPEC OMP benchmark show quite sensitive runtime behavior depending on the thread/core binding used. In our tests, the proposed framework is able to find the best binding in nearly all cases. The proposed framework is intended to supplement job scheduling systems for better automatic exploitation of systems with multicore processors, as well as making programmers aware of this issue by providing measurement logs.