Moka: Model-based Concurrent Kernel Analysis

被引:0
作者
Yu, Leiming [1 ]
Gong, Xun [1 ]
Sun, Yifan [1 ]
Fang, Qianqian [1 ]
Rubin, Norm [2 ]
Kaeli, David [1 ]
机构
[1] Northeastern Univ, Boston, MA 02115 USA
[2] NVIDIA Res, Santa Clara, CA USA
来源
PROCEEDINGS OF THE 2017 IEEE INTERNATIONAL SYMPOSIUM ON WORKLOAD CHARACTERIZATION (IISWC) | 2017年
关键词
GPU; Concurrent Kernel Execution; Empirical Model; GRAPHICS;
D O I
暂无
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Today's GPUs continue to increase the number of compute resources with each new generation. Many data-parallel applications have been re-engineered to leverage the thousands of cores on the GPU. But not every kernel can fully utilize all the resources available. Many applications contain multiple kernels that could potentially be run concurrently. To better utilize the massive resources on the GPU, device vendors have started to support Concurrent Kernel Execution (CKE). However, the application throughput provided by CKE is subject to a number of factors, including the kernel configuration attributes, the dynamic behavior of each kernel (e.g., compute-intentive vs. memory-intensive), the kernel launch order and inter-kernel dependencies. Minor changes in any of theses factors can have a large impact on the effectiveness of CKE. In this paper, we present Moka, an empirical model for tuning concurrent kernel performance. Moka allows us to accurately predict the resulting performance and scalability of multi-kernel applications when using CKE. We consider both static and dynamic workload characteristics that impact the utility of CKE, and leverage these metrics to drive kernel scheduling decisions on NVIDIA GPUs. The underlying data transfer pattern and GPU resource contention are analyzed in detail. Our model is able to accurately predict the performance ceiling of concurrent kernel execution. We validate our model using several real-world applications that have multiple kernels that can run concurrently, and evaluate CKE performance on a NVIDIA Maxwell GPU. Our model is able to predict the performance of CKE applications accurately, providing estimates that differ by less than 12% as compared to actual runtime performance. Using our estimates, we can quickly find the best CKE strategy for our applications to achieve improved application throughput. We believe we have developed a useful tool to aid application programmers to accelerate their applications using CKE.
引用
收藏
页码:197 / 206
页数:10
相关论文
共 50 条
[1]   Model-Based Loop Perforation [J].
Maier, Daniel ;
Juurlink, Ben .
EURO-PAR 2021: PARALLEL PROCESSING WORKSHOPS, 2022, 13098 :549-554
[2]   A Hybrid Piece-Wise Slowdown Model for Concurrent Kernel Execution on GPU [J].
Lopez-Albelda, Bernabe ;
Castro, Francisco M. ;
Gonzalez-Linares, Jose M. ;
Guil, Nicolas .
EURO-PAR 2022: PARALLEL PROCESSING, 2022, 13440 :369-384
[3]   Concurrent kernel execution and interference analysis on GPUs using deep learning approaches [J].
Ayub, Mohammed ;
Helmy, Tarek .
JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2022, 34 (10) :10193-10204
[4]   A Quantitative Analysis of State Space Model-Based Large Language Model: Study of Hungry Hungry Hippos [J].
Yoon, Dongho ;
Kim, Taehun ;
Lee, Jae W. ;
Rhu, Minsoo .
IEEE COMPUTER ARCHITECTURE LETTERS, 2024, 23 (02) :154-157
[5]   Multi-Objective Concurrent Kernel Scheduling for Multi-GPU Systems [J].
Alizadeh, Negar Baradar ;
Momtazpour, Mahmoud .
2024 32ND INTERNATIONAL CONFERENCE ON ELECTRICAL ENGINEERING, ICEE 2024, 2024, :859-864
[6]   Reconstruction and visualization of model-based volume representations [J].
Zheng, Ziyi ;
Mueller, Klaus .
MEDICAL IMAGING 2010: VISUALIZATION, IMAGE-GUIDED PROCEDURES, AND MODELING, 2010, 7625
[7]   Model-Based Design and Optimization of Blood Oxygenators [J].
He, Ge ;
Zhang, Tao ;
Zhang, Jiafeng ;
Griffith, Bartley P. ;
Wu, Zhongjun J. .
JOURNAL OF MEDICAL DEVICES-TRANSACTIONS OF THE ASME, 2020, 14 (04)
[8]   On Improving the Performance of Multi-threaded CUDA Applications with Concurrent Kernel Execution by Kernel Reordering [J].
Wende, Florian ;
Cordes, Frank ;
Steinke, Thomas .
2012 SYMPOSIUM ON APPLICATION ACCELERATORS IN HIGH PERFORMANCE COMPUTING (SAAHPC), 2012, :74-83
[9]   FlexSched: Efficient scheduling techniques for concurrent kernel execution on GPUs [J].
Bernabé López-Albelda ;
Francisco M. Castro ;
José M. González-Linares ;
Nicolás Guil .
The Journal of Supercomputing, 2022, 78 :43-71
[10]   FlexSched: Efficient scheduling techniques for concurrent kernel execution on GPUs [J].
Lopez-Albelda, Bernabe ;
Castro, Francisco M. ;
Gonzalez-Linares, Jose M. ;
Guil, Nicolas .
JOURNAL OF SUPERCOMPUTING, 2022, 78 (01) :43-71