A Runtime System for Mitigating Crossbar Port Contention on SM-Partitioned GPUs
Ziwen Wang, Qi Luo, Kunlin Li, Changxi Liu, Dongsheng Wang, Yun Chen
Abstract
To avoid scheduling delays when running concurrent workloads on a GPU, Streaming Multiprocessor (SM) partitioning mechanisms such as CUDA Green Contexts restrict each workload to separate SMs. Despite this partitioning, concurrent workloads still significantly slow down latency-critical workloads, which recent studies attribute to shared L2 cache and memory contention. However, contention also occurs at the crossbar ports connecting each Graphics Processing Cluster (GPC) of SMs to the L2 cache, as all SMs in a GPC share one port. Green Contexts spread workloads across GPCs, placing concurrent workloads in the same GPCs and forcing latency-critical memory requests to queue behind background requests. Packing workloads into separate GPCs avoids this contention, but forces latency-critical memory requests through fewer ports, limiting memory bandwidth. Consequently, neither spreading nor packing is always faster across workloads and GPUs. Based on these observations, we present GPCPlace, a runtime system that dynamically selects between spreading and packing by profiling workloads on the target GPU to estimate both slowdowns, and hooks kernel launches in the CUDA driver to set SM masks without application modifications. Across 14 GPUs and 112 workload cases, GPCPlace speeds up latency-critical workloads by up to 1.15x on average and 2.38x maximum over Green Contexts without degrading throughput.
Create a lesson
Metadata
- Categories
- cs.DC, cs.AR
- Comments
- 7 pages, 7 figures, 1 table
Related papers
Starscream: Reimagining LLM Sharding on AMD Instinct GPUs with GPU Partitioning
Shared title terminologycs.DCSumanth Gudaparthi, Smeet Chheda, Ganesh Dasika
Mitigating SM-Level Load Imbalance in 3D Gaussian Splatting on GPUs
Shared title terminologycs.DCJunha Ryu, Hoi-Jun Yoo
Making Repeated Variational Circuit Optimization Efficient on GPUs
Shared title terminologycs.DCRunzhe Zhang, Jiaqi Liu, Anbang Wu et al.
Adaptive Warm-State Retention for Serverless Cold-Start Mitigation: Treating Keep-Alive Time as an Online Control Parameter
Shared title terminologycs.DCSanjeet Raj Pandey, Axel Küpper
Weave: Routing-Adaptive Runtime Warp Scheduling for MoE Megakernels
Shared title terminologycs.DCZiyu Huang, Yangjie Zhou, Chenhao Zhu et al.
Contexture: Runtime Context Eviction for High-Throughput Agent Serving
Shared title terminologycs.DCColin Hong, Bryan Shan, Wei Siong Pang et al.