Evaluating the Performance Implications of Binding Threads to Processors

  • Authors:
  • Lars Lundberg

  • Affiliations:
  • -

  • Venue:
  • HIPC '97 Proceedings of the Fourth International Conference on High-Performance Computing
  • Year:
  • 1997

Quantified Score

Hi-index 0.00

Visualization

Abstract

The default scheduling algorithm in Solaris andother operating systems may result in frequent relocationof threads at run-time. Excessive thread relocation causepoor memory performance. This can be avoided bybinding threads to processors. However, binding threadsto processors may result in an unbalanced load.By considering a previously obtained theoreticalresult and by evaluating a set of multithreaded Solarisprograms using a multiprocessor with 8 processors, weare able to bound the maximum performance loss due tobinding threads. The theoretical result is alsorecapitulated. By evaluating another set of multithreadedprograms, we show that the gain of binding threads toprocessors may be substantial, particularly for programswith fine grained parallelism.