Modelling Performance Loss due to Thread Imbalance in Stochastic Variable-Length SIMT Workloads

Open Access
Authors
Publication date 2022
Book title 2022 30th International Symposium on the Modeling, Analysis, and Simulation of Computer and Telecommunication Systems
Book subtitle MASCOTS 2022 : Nice, France, 18-20 October 2022 : proceedings
ISBN
  • 9781665455817
ISBN (electronic)
  • 9781665455800
Event 30th International Symposium on the Modeling, Analysis, and Simulation of Computer and Telecommunication Systems
Pages (from-to) 137-144
Number of pages 8
Publisher Piscataway, NJ: IEEE
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
Abstract
When designing algorithms for single-instruction multiple-thread (SIMT) devices such as general purpose graphics processing units (GPGPUs), thread imbalance is an important performance consideration. Thread imbalance can emerge in iterative applications where workloads are of variable length, because threads processing larger amounts of work will cause threads with less work to idle. This form of thread imbalance influences the design space of algorithms-particularly in terms of processing granularity-but we lack models to quantify its impact on application performance. In this paper, we present a statistical model for quantifying the performance loss due to thread imbalance for iterative SIMT applications with stochastic, variable-length workloads. Our model is designed to operate with minimal knowledge of the implementation details of the algorithm, relying solely on an understanding of the probability distribution of the lengths of the workloads. We validate our model against a synthetic benchmark based on a Monte Carlo simulation of matrix exponentiation, and show that our model achieves nearly perfect accuracy. Compared to empirical data extracted from real hardware, our model maintains a high degree of accuracy, predicting mean performance loss within a margin of 2%.
Document type Conference contribution
Language English
Published at https://doi.org/10.1109/MASCOTS56607.2022.00026
Other links https://www.proceedings.com/68119.html
Downloads
Permalink to this page
Back