Graphics Processing Units (GPUs), originally developed for computer graphics, are now commonly used to accelerate parallel applications. Given that GPUs are designed to be as efficient as possible, evaluating their performance is crucial. This problem has been tackled in the last years by researchers that started to propose solutions such as analytical models and digital simulators, which are, however, often complex to use and/or to adapt to the needs of the user. Thanks to its high flexibility, model-based analysis is widely used to evaluate systems’ properties, including performance. Researchers started working on developing GPU models that can represent both their architecture and the software in execution, but they often use strong assumptions that undermine their usability. In this work we develop a Stochastic Activity Network model to evaluate the performance of CUDA applications running on NVIDIA GPUs. The model takes as input a representation of the program’s instruction, parsed from the CUDA SASS assembly file, and a list of parameters to offer configurability to the user. We tune our model to match the architecture of two different NVIDIA GPUs and simulate the execution of a CUDA program. We then compare the results with those obtained from the execution of the program over the real GPUs.

Modeling of GPGPU architectures for performance analysis of CUDA programs / Francesco Terrosi,Francesco Mariotti,Paolo Lollini,Andrea Bondavalli. - ELETTRONICO. - (2023), pp. 0-0. (Intervento presentato al convegno 2023 IEEE 23rd International Conference on Software Quality, Reliability, and Security (QRS)) [10.1109/QRS60937.2023.00079].

Modeling of GPGPU architectures for performance analysis of CUDA programs

Francesco Terrosi
;
Francesco Mariotti;Paolo Lollini;Andrea Bondavalli
2023

Abstract

Graphics Processing Units (GPUs), originally developed for computer graphics, are now commonly used to accelerate parallel applications. Given that GPUs are designed to be as efficient as possible, evaluating their performance is crucial. This problem has been tackled in the last years by researchers that started to propose solutions such as analytical models and digital simulators, which are, however, often complex to use and/or to adapt to the needs of the user. Thanks to its high flexibility, model-based analysis is widely used to evaluate systems’ properties, including performance. Researchers started working on developing GPU models that can represent both their architecture and the software in execution, but they often use strong assumptions that undermine their usability. In this work we develop a Stochastic Activity Network model to evaluate the performance of CUDA applications running on NVIDIA GPUs. The model takes as input a representation of the program’s instruction, parsed from the CUDA SASS assembly file, and a list of parameters to offer configurability to the user. We tune our model to match the architecture of two different NVIDIA GPUs and simulate the execution of a CUDA program. We then compare the results with those obtained from the execution of the program over the real GPUs.
2023
2023 IEEE 23rd International Conference on Software Quality, Reliability, and Security (QRS)
2023 IEEE 23rd International Conference on Software Quality, Reliability, and Security (QRS)
Francesco Terrosi,Francesco Mariotti,Paolo Lollini,Andrea Bondavalli
File in questo prodotto:
File Dimensione Formato  
Modeling_of_GPGPU_architectures_for_performance_analysis_of_CUDA_programs.pdf

accesso aperto

Tipologia: Pdf editoriale (Version of record)
Licenza: Open Access
Dimensione 469.38 kB
Formato Adobe PDF
469.38 kB Adobe PDF

I documenti in FLORE sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificatore per citare o creare un link a questa risorsa: https://hdl.handle.net/2158/1344291
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact