Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)

Modeling queuing delays and resource contention in GPU API remoting performance

Develop a remoting cost model for GPU API remoting that explicitly incorporates queuing delays and resource contention, enabling the model to account for and accurately predict deviations between theoretical/emulation results and real hardware measurements of AI applications using RDMA or SHM backends.

Background

The paper derives a GPU-centric cost model for API remoting that expresses overhead as a function of network round-trip time and bandwidth, separating synchronous and asynchronous APIs and incorporating optimizations such as outstanding requests and shadow descriptors. The model is validated via emulation and real hardware experiments.

However, when comparing with real hardware, the authors note deviations attributed to factors not captured by their current model—specifically queuing delays and resource contention—as well as fluctuations in profiled constants. They explicitly state they are unable to model these effects, indicating a gap for more comprehensive modeling that incorporates these system-level dynamics.

References

Note that the results on real hardware may deviate from our theoretical (and emulation) model. This is due to the fact that we are unable to model the queuing delays and resource contentions, as well as the fact that the profile of several constants (e.g., $Start$ and $Time(api)$ in {eq:cost}) may have fluctuations.

— Characterizing Network Requirements for GPU API Remoting in AI Applications  (2401.13354 - Wang et al., 2024) in Section 5.2, When requirements meet real hardware

Each relaxation is a genuine open problem, not a minor extension: (i) Bandwidth-limited communication. When multiple micro-batches share a link, the per-transfer time grows with concurrency, producing a (M − 1)dmax-scale term that the constant-dj model of Theorems 2–3 does not cover. This is the regime of high-contention Ethernet backbones, and it is the single most important open extension.

— Exact Makespan Bounds and the GPipe Homogeneity Bias for Heterogeneous LLM Inference Pipelines  (2610.21815 - Wenbo, 15 Oct 2026) in Section 10(i), Limitations and Honest Boundaries, p. 10