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 Kernel for Efficient Time Series Analysis
    Chen, Huanhuan
    Tang, Fengzhen
    Tino, Peter
    Yao, Xin
    19TH ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING (KDD'13), 2013, : 392 - 400
  • [2] Kernel model-based diagnosis
    Ouyang, DT
    PROGRESS IN NATURAL SCIENCE-MATERIALS INTERNATIONAL, 2002, 12 (02) : 141 - 145
  • [3] Kernel model-based diagnosis
    Ouyang, Dantong
    Progress in Natural Science, 2002, 12 (02)
  • [4] Kernel model-based diagnosis
    OUYANG Dantong(Department of Computer Science
    Progress in Natural Science, 2002, (02) : 63 - 67
  • [5] Model-based design of concurrent programs
    Magee, J
    Kramer, J
    COMMUNICATING SEQUENTIAL PROCESSES: THE FIRST 25 YEARS, 2005, 3525 : 211 - 219
  • [6] Model-based transductive learning of the kernel matrix
    Zhihua Zhang
    James T. Kwok
    Dit-Yan Yeung
    Machine Learning, 2006, 63 : 69 - 101
  • [7] Model-based transductive learning of the kernel matrix
    Zhang, ZH
    Kwok, JT
    Yeung, DY
    MACHINE LEARNING, 2006, 63 (01) : 69 - 101
  • [8] Model-based concurrent systems design for safety
    Park, JY
    Park, YW
    CONCURRENT ENGINEERING-RESEARCH AND APPLICATIONS, 2004, 12 (04): : 287 - 294
  • [9] Model-based Approaches to Managing Concurrent Engineering
    Eppinger, Steven D.
    JOURNAL OF ENGINEERING DESIGN, 1991, 2 (04) : 283 - 290
  • [10] Logistic model-based genetic analysis for kernel filling in a maize RIL population
    Yin, Shuangyi
    Li, Pengcheng
    Xu, Yang
    Xue, Lin
    Hao, Derong
    Liu, Jun
    Yang, Tiantian
    Yang, Zefeng
    Xu, Chenwu
    EUPHYTICA, 2018, 214 (05)