Skip to main content
QUICK REVIEW

[Paper Review] Kernelet: High-Throughput GPU Kernel Executions with Dynamic Slicing and Scheduling

Jianlong Zhong, Bingsheng He|arXiv (Cornell University)|Mar 21, 2013
Parallel Computing and Optimization TechniquesComputer Science31 references5 citations
TL;DR

Kernelet is a GPU runtime system that improves throughput in shared GPU environments by dynamically slicing kernels into low-occupancy sub-kernels and co-scheduling them using a Markov chain-based performance model. It achieves up to 31.1% and 23.4% performance gains on NVIDIA Tesla C2050 and GTX680 GPUs by enabling better resource utilization through dynamic slicing and intelligent scheduling.

ABSTRACT

Graphics processors, or GPUs, have recently been widely used as accelerators in the shared environments such as clusters and clouds. In such shared environments, many kernels are submitted to GPUs from different users, and throughput is an important metric for performance and total ownership cost. Despite the recently improved runtime support for concurrent GPU kernel executions, the GPU can be severely underutilized, resulting in suboptimal throughput. In this paper, we propose Kernelet, a runtime system with dynamic slicing and scheduling techniques to improve the throughput of concurrent kernel executions on the GPU. With slicing, Kernelet divides a GPU kernel into multiple sub-kernels (namely slices). Each slice has tunable occupancy to allow co-scheduling with other slices and to fully utilize the GPU resources. We develop a novel and effective Markov chain based performance model to guide the scheduling decision. Our experimental results demonstrate up to 31.1% and 23.4% performance improvement on NVIDIA Tesla C2050 and GTX680 GPUs, respectively.

Motivation & Objective

  • To address the low GPU utilization caused by single-kernel executions with high occupancy but poor resource utilization in shared GPU environments.
  • To improve throughput in GPU clusters and clouds where multiple kernels from different users compete for GPU resources.
  • To enable effective concurrent execution of GPU kernels by dynamically slicing them into smaller, co-schedulable units with tunable occupancy.
  • To develop a lightweight, accurate performance model that predicts concurrent kernel execution performance without extensive profiling.
  • To design a runtime system that transparently manages kernel slicing and scheduling to maximize GPU utilization.

Proposed method

  • Dynamically slices GPU kernels into sub-kernels (slices) at the thread block level, enabling co-scheduling with slices from other kernels.
  • Tunes slice occupancy to allow complementary resource usage across multiple kernels, avoiding resource contention.
  • Employs a novel Markov chain-based performance model that predicts execution time of concurrent slices using key kernel characteristics like occupancy and memory access patterns.
  • Uses the performance model to guide scheduling decisions, selecting slice combinations that maximize GPU utilization and minimize idle time.
  • Integrates with existing GPU runtimes and operates transparently without requiring source code or kernel modifications.
  • Avoids runtime overhead by limiting slice granularity to thread blocks while preventing excessive submission of small slices.

Experimental results

Research questions

  • RQ1Can dynamic slicing of GPU kernels improve throughput in shared GPU environments by enabling better resource sharing?
  • RQ2How can slice size and occupancy be tuned to maximize GPU utilization during concurrent kernel execution?
  • RQ3Can a lightweight performance model accurately predict the behavior of concurrent kernel executions without extensive profiling?
  • RQ4What scheduling strategy maximizes GPU utilization when multiple kernels are co-scheduled in a shared GPU environment?
  • RQ5How does dynamic slicing compare to static kernel consolidation or monolithic kernel execution in terms of throughput and efficiency?

Key findings

  • Kernelet improves GPU throughput by up to 31.1% on NVIDIA Tesla C2050 (Fermi) and 23.4% on GTX680 (Kepler) across diverse workloads.
  • The Markov chain-based performance model accurately predicts concurrent execution performance with minimal input, relying only on key kernel metrics like occupancy and memory access patterns.
  • Dynamic slicing enables effective time-sharing of GPU resources even when individual kernels have high occupancy, overcoming the limitations of traditional kernel consolidation.
  • The system achieves significant performance gains without requiring source code access or runtime modifications to kernels, making it suitable for shared and cloud environments.
  • Scheduling decisions guided by the performance model lead to better resource utilization, reducing idle time and improving overall GPU efficiency.
  • The approach outperforms existing methods like kernel consolidation and static scheduling by creating more scheduling opportunities through fine-grained slicing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.