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

Stephen Nicholas Swatman, Ana Lucia Varbanescu, Attila Krasznahorkay, Andy Pimentel

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

35 Downloads (Pure)

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%.

Original languageEnglish
Title of host publicationProceedings - 2022 30th International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems, MASCOTS 2022
PublisherIEEE
Pages137-144
Number of pages8
ISBN (Electronic)9781665455800
DOIs
Publication statusPublished - 3 Mar 2023
Event30th International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems, MASCOTS 2022 - Nice, France
Duration: 18 Oct 202220 Oct 2022
Conference number: 30

Publication series

NameProceedings - IEEE Computer Society's Annual International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunications Systems, MASCOTS
Volume2022-October
ISSN (Print)1526-7539

Conference

Conference30th International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems, MASCOTS 2022
Abbreviated titleMASCOTS 2022
Country/TerritoryFrance
CityNice
Period18/10/2220/10/22

Keywords

  • imbalance
  • performance modelling
  • SIMT
  • 2024 OA procedure

Fingerprint

Dive into the research topics of 'Modelling Performance Loss due to Thread Imbalance in Stochastic Variable-Length SIMT Workloads'. Together they form a unique fingerprint.

Cite this