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 条
[41]   Scan Stack: A Search-based Concurrent Stack for GPU [J].
South, Noah ;
Jang, Byunghyun .
PROCEEDINGS OF THE 2023 ACM SOUTHEAST CONFERENCE, ACMSE 2023, 2023, :10-19
[42]   SEER: A Time Prediction Model for CNNs from GPU Kernel's View [J].
Liu, Guodong ;
Wang, Sa ;
Bao, Yungang .
30TH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT 2021), 2021, :173-185
[43]   Principal Kernel Analysis: A Tractable Methodology to Simulate Scaled GPU Workloads [J].
Baddouh, Cesar A. ;
Khairy, Mahmoud ;
Green, Roland ;
Payer, Mathias ;
Rogers, Timothy G. .
PROCEEDINGS OF 54TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, MICRO 2021, 2021, :724-737
[44]   GPU Code Optimization using Abstract Kernel Emulation and Sensitivity Analysis [J].
Hong, Changwan ;
Sukumaran-Rajam, Aravind ;
Kim, Jinsung ;
Rawat, Prashant Singh ;
Krishnamoorthy, Sriram ;
Pouchet, Louis-Noel ;
Rastello, Fabrice ;
Sadayappan, P. .
PROCEEDINGS OF THE 39TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, PLDI 2018, 2018, :736-751
[45]   RDMKE: Applying Reuse Distance Analysis to Multiple GPU Kernel Executions [J].
Kiani, Mohsen ;
Rajabzadeh, Amir .
JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2019, 28 (14)
[46]   GPU Code Optimization using Abstract Kernel Emulation and Sensitivity Analysis [J].
Hong, Changwan ;
Sukumaran-Rajam, Aravind ;
Kim, Jinsung ;
Rawat, Prashant Singh ;
Krishnamoorthy, Sriram ;
Pouchet, Louis-Noel ;
Rastello, Fabrice ;
Sadayappan, P. .
ACM SIGPLAN NOTICES, 2018, 53 (04) :736-751
[47]   Global model of zenith tropospheric delay proposed based on EOF analysis [J].
Sun, Langlang ;
Chen, Peng ;
Wei, Erhu ;
Li, Qinzheng .
ADVANCES IN SPACE RESEARCH, 2017, 60 (01) :187-198
[48]   Experimental analysis on creep mechanics of unsaturated soil based on empirical model [J].
Qiao, Zhang .
OPEN GEOSCIENCES, 2022, 14 (01) :785-793
[49]   EGraph: Efficient Concurrent GPU-Based Dynamic Graph Processing [J].
Zhang, Yu ;
Liang, Yuxuan ;
Zhao, Jin ;
Mao, Fubing ;
Gu, Lin ;
Liao, Xiaofei ;
Jin, Hai ;
Liu, Haikun ;
Guo, Song ;
Zeng, Yangqing ;
Hu, Hang ;
Li, Chen ;
Zhang, Ji ;
Wang, Biao .
IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2023, 35 (06) :5823-5836
[50]   A load balance multi-scheduling model for OpenCL kernel tasks in an integrated cluster [J].
Ahmed, Usman ;
Lin, Jerry Chun-Wei ;
Srivastava, Gautam ;
Aleem, Muhammad .
SOFT COMPUTING, 2021, 25 (01) :407-420