GPCPlace:缓解SM分区GPU上crossbar端口争用的运行时系统
A Runtime System for Mitigating Crossbar Port Contention on SM-Partitioned GPUs
GPCPlace 是一个运行时系统,通过分析目标 GPU 上的工作负载来估算 spread 与 pack 两种放置方式的减速,并在 CUDA 驱动中 hook kernel 启动以设置 SM mask,无需修改应用。在 14 款 GPU、112 个工作负载用例中,相比 CUDA Green Contexts,它将延迟敏感型工作负载平均加速最高 1.15x、最大 2.38x,且不降低吞吐量。
arXiv:2611.24458v1 Announce Type: cross 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.
来源:arXiv (Robotics + Hardware + Signal) · arxiv.org