[Paper Review] Quiver: Supporting GPUs for Low-Latency, High-Throughput GNN Serving with Workload Awareness
Quiver is a workload-aware, GPU-accelerated GNN serving system that dynamically schedules graph sampling and feature aggregation using predictive metrics—probabilistic sampled graph size (PSGS) for sampling and feature access probability for placement—achieving up to 35× lower latency and 8× higher throughput than state-of-the-art systems like DGL and PyG.
Systems for serving inference requests on graph neural networks (GNN) must combine low latency with high throughout, but they face irregular computation due to skew in the number of sampled graph nodes and aggregated GNN features. This makes it challenging to exploit GPUs effectively: using GPUs to sample only a few graph nodes yields lower performance than CPU-based sampling; and aggregating many features exhibits high data movement costs between GPUs and CPUs. Therefore, current GNN serving systems use CPUs for graph sampling and feature aggregation, limiting throughput. We describe Quiver, a distributed GPU-based GNN serving system with low-latency and high-throughput. Quiver's key idea is to exploit workload metrics for predicting the irregular computation of GNN requests, and governing the use of GPUs for graph sampling and feature aggregation: (1) for graph sampling, Quiver calculates the probabilistic sampled graph size, a metric that predicts the degree of parallelism in graph sampling. Quiver uses this metric to assign sampling tasks to GPUs only when the performance gains surpass CPU-based sampling; and (2) for feature aggregation, Quiver relies on the feature access probability to decide which features to partition and replicate across a distributed GPU NUMA topology. We show that Quiver achieves up to 35 times lower latency with an 8 times higher throughput compared to state-of-the-art GNN approaches (DGL and PyG).
Motivation & Objective
- Address the challenge of irregular computation in GNN serving, where skewed node degrees lead to variable sampling and aggregation workloads.
- Overcome the limitations of current systems that rely on CPUs for sampling and aggregation due to unpredictable GPU performance and high data movement costs.
- Design a GPU-based GNN serving system that achieves low latency and high throughput by adapting GPU usage based on workload characteristics.
- Enable efficient, scalable GNN inference in production environments with high request rates (e.g., 100K+ requests/sec) by minimizing CPU-GPU data movement and communication bottlenecks.
Proposed method
- Introduce probabilistic sampled graph size (PSGS) as a runtime metric to predict the computational load of graph sampling tasks and guide GPU vs. CPU scheduling.
- Dynamically assign sampling tasks to GPUs only when PSGS indicates performance gains over CPU-based sampling, avoiding latency spikes on small workloads.
- Use feature access probability to guide data placement and replication across a distributed GPU NUMA topology, minimizing cross-GPU communication.
- Leverage one-sided memory access and GPU bypassing to accelerate feature collection, reducing CPU involvement and improving throughput.
- Implement a streaming pipeline that integrates workload-aware sampling, optimized feature aggregation, and DNN inference across distributed GPUs and CPUs.
- Utilize NVLink and InfiniBand for high-bandwidth, low-latency data movement between GPUs and servers, avoiding CPU bottlenecks in data transfer.
Experimental results
Research questions
- RQ1How can GPU utilization in GNN serving be optimized despite highly irregular workloads caused by skewed graph structures?
- RQ2What workload-aware metrics can predict when GPU-based sampling outperforms CPU-based sampling in GNN inference?
- RQ3How can feature placement and replication strategies minimize communication overhead in distributed GPU-based GNN systems?
- RQ4To what extent can GPU-accelerated feature aggregation outperform CPU-coordinated communication in high-throughput GNN serving?
- RQ5What is the impact of low-level communication optimizations (e.g., NVLink, one-sided reads) on end-to-end GNN inference latency and throughput?
Key findings
- Quiver achieves up to 35× lower latency and 8× higher throughput compared to state-of-the-art systems like DGL and PyG under the same latency target of 30 ms.
- On the Reddit dataset, Quiver reduces serving latency to 4.9 ms on 2 servers and 7.0 ms on 8 servers, outperforming DGL (8.5 ms and 12.2 ms) and AliGraph (6.7 ms and 9.7 ms).
- Feature collection in Quiver reaches up to 40 GB/s throughput using NVLink and InfiniBand, which is 13× higher than the RPC library used in DGL (3 GB/s).
- Disabling InfiniBand increases latency by 1.6× on mag240m, and disabling NVLink increases latency by 1.5× on paper100m, demonstrating the critical role of high-speed interconnects.
- Quiver’s workload-aware feature placement reduces communication overhead and sustains low latency even as the number of servers increases from 2 to 8.
- The system’s dynamic scheduling based on PSGS ensures that GPU usage is only enabled when beneficial, avoiding performance degradation on small or low-complexity requests.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.