Tacker: Tensor-CUDA Core Kernel Fusion for Improving the GPU Utilization while Ensuring QoS
Authors:
- 1 April 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 800-813
Abstract
The proliferation of machine learning applications has promoted both CUDA Cores and Tensor Cores’ integration to meet their acceleration demands. While studies have shown that co-locating multiple tasks on the same GPU can effectively improve system throughput and resource utilization, existing schemes focus on scheduling the resources of traditional CUDA Cores and thus lack the ability to exploit the parallelism between Tensor Cores and CUDA Cores.In this paper, we propose Tacker, a static kernel fusion and scheduling approach to improve GPU utilization of both types of cores while ensuring the QoS (Quality-of-Service) of co-located tasks. Tacker consists of a Tensor-CUDA Core kernel fuser, a duration predictor for fused kernels, and a runtime QoS-aware kernel manager. The kernel fuser enables the flexible fusion of kernels that use Tensor Cores and CUDA Cores, respectively. The duration predictor precisely predicts the duration of the fused kernels. Finally, the kernel manager invokes the fused kernel or the original kernel based on the QoS headroom of latency-critical tasks to improve the system throughput. Our experimental results show that Tacker improves the throughput of best-effort applications compared with state-of-the-art solutions by 18.6% on average, while ensuring the QoS of latency-critical tasks.Keywords
Funding Information
- National Natural Science Foundation of China
This publication has 40 references indexed in Scilit:
- The application slowdown model2015
- Anatomy of GPU Memory System for Multi-Application Execution2015
- Phase Aware Warp Scheduling: Mitigating Effects of Phase Behavior in GPGPU Applications2015
- DjiNN and Tonic2015
- Heracles2015
- Caffe2014
- Improving GPGPU resource utilization through alternative thread block scheduling2014
- GPUSync: A Framework for Real-Time GPU Management2013
- Bubble-fluxACM SIGARCH Computer Architecture News, 2013
- CAP2013