Skip to main content
QUICK REVIEW

[Paper Review] Contention-Aware GPU Partitioning and Task-to-Partition Allocation for Real-Time Workloads

Houssam-Eddine Zahaf, Ignacio Sanudo Olmedo|arXiv (Cornell University)|May 21, 2021
Parallel Computing and Optimization TechniquesComputer Science17 references8 citations
TL;DR

This paper proposes contention-aware GPU partitioning and task-to-partition allocation heuristics that reduce interference between real-time kernels by grouping memory-intensive and compute-intensive tasks per partition. The approach improves schedulability and efficiency over non-partitioned GPU execution, achieving up to 25 partitions with two tasks each and outperforming baseline methods in real-time workload scheduling under resource contention.

ABSTRACT

In order to satisfy timing constraints, modern real-time applications require massively parallel accelerators such as General Purpose Graphic Processing Units (GPGPUs). Generation after generation, the number of computing clusters made available in novel GPU architectures is steadily increasing, hence, investigating suitable scheduling approaches is now mandatory. Such scheduling approaches are related to mapping different and concurrent compute kernels within the GPU computing clusters, hence grouping GPU computing clusters into schedulable partitions. In this paper we propose novel techniques to define GPU partitions; this allows us to define suitable task-to-partition allocation mechanisms in which tasks are GPU compute kernels featuring different timing requirements. Such mechanisms will take into account the interference that GPU kernels experience when running in overlapping time windows. Hence, an effective and simple way to quantify the magnitude of such interference is also presented. We demonstrate the efficiency of the proposed approaches against the classical techniques that considered the GPU as a single, non-partitionable resource.

Motivation & Objective

  • Address the challenge of resource contention and unpredictability in real-time GPU workloads due to overlapping kernel execution on shared SMs and memory.
  • Improve GPU utilization and timing predictability by partitioning GPU resources into isolated, schedulable units based on task characteristics.
  • Develop heuristic-based task-to-partition allocation strategies that minimize interference between co-located kernels.
  • Demonstrate superiority over non-partitioned GPU execution and classical scheduling approaches in real-time systems.
  • Enable integration with existing GPU frameworks like NVIDIA MIG and AMD CU masking for practical deployment.

Proposed method

  • Proposes GPU partitioning heuristics that group Streaming Multiprocessors (SMs) into schedulable partitions based on kernel timing and resource requirements.
  • Introduces a contention metric to quantify interference from shared memory and compute resources between concurrent kernels.
  • Employs two task allocation heuristics: Best Fit (BF) and Smallest Memory Size (SMS), both designed to minimize interference by pairing complementary workloads.
  • Uses forbidden pair lists to prevent allocation of conflicting kernel pairs (e.g., two memory-intensive tasks) into the same partition.
  • Applies a schedulability analysis framework that evaluates total utilization and guarantees timing constraints under partitioned execution.
  • Validates the approach using synthetic workloads with varying task counts (50 and 200 tasks) and utilization levels, comparing against a non-partitioned baseline (1G).

Experimental results

Research questions

  • RQ1How can GPU partitions be defined to minimize interference between real-time kernels with diverse timing and resource requirements?
  • RQ2What task-to-partition allocation strategy best balances resource utilization and interference reduction in multi-kernel GPU workloads?
  • RQ3To what extent does contention-aware partitioning improve schedulability compared to non-partitioned GPU execution?
  • RQ4How do different heuristic strategies (BF vs. SMS) perform under varying workloads and interference conditions?
  • RQ5Can the proposed method be integrated with existing GPU virtualization features like NVIDIA MIG or AMD CU masking?

Key findings

  • The proposed heuristics achieve a schedulability rate of nearly 1.0 across all tested utilization levels, significantly outperforming the non-partitioned baseline (1G) which shows poor schedulability at high utilization.
  • Average partition count is around 25 when scheduling 50 tasks, indicating approximately two tasks per partition, which aligns with the goal of minimizing interference.
  • Best Fit (BF) heuristics achieve higher efficiency and faster analysis time than SMS due to reduced need for candidate merging operations.
  • With 200 tasks, clustering efficiency drops due to increased task density per partition (over four tasks per partition on average), leading to higher interference and performance degradation.
  • Analysis time remains largely independent of total utilization, with BF-based methods being faster than SMS-based ones due to simpler comparison logic.
  • The method demonstrates strong scalability and robustness, maintaining high schedulability even under high resource contention, proving effective for real-time GPU workloads.

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.