Manuscript Offprint

arXiv:2609.40093

Efficient Expert-Parallel Communication on PCIe-Connected Consumer GPUs

Jaehwan Lee, Sangmin Lee, Chaewon Kim, Junsik Shin, Jaejin Lee

Jaehwan Lee

Dept. of Computer Science and

Engineering

Seoul National University

jaehwan@aces.snu.ac.kr

Sangmin Lee

Dept. of Computer Science and

Engineering

Seoul National University

sangmin.lee@snu.ac.kr

Chaewon Kim

Dept. of Computer Science and

Engineering

Seoul National University

chaewon@aces.snu.ac.kr

Junsik Shin

Dept. of Computer Science and

Engineering

Seoul National University

junsik@aces.snu.ac.kr

Abstract

Expert parallelism (EP) enables inference of large Mixture-of-Experts (MoE) models by placing their experts across multiple GPUs, but requires substantial communication between GPUs at every MoE layer. As contemporary MoE models activate more experts per token, this communication accounts for a growing fraction of inference time. The cost becomes particularly pronounced on PCIe-based consumer GPU systems, where all inter-GPU transfers traverse CPU memory. However, existing MoE-specialized EP communication libraries assume that direct GPU-to-GPU access is available, largely overlooking consumer GPUs. Therefore, most LLM frameworks instead rely on NCCL, whose CPU-staged communication incurs redundant PCIe transfers and competes with expert computation for GPU resources, limiting their overlap. We present ThunderEP, a novel communication design for such systems that removes the relay hops of traditional ring algorithm, moves data through DMA engines to avoid compute resource contention, and minimizes synchronization latency by reducing the polling overhead of completion flags in CPU memory. We integrate the proposed design into vLLM and evaluate it on three widely used MoE models. Experiments on two PCIe systems equipped with RTX 4090 and RTX 5090 GPUs show that ThunderEP achieves average speedups of 2.00×2.00\times and 1.53×1.53\times over NCCL for dispatch and combine, respectively, and up to 1.66×1.66\times end-to-end speedup over state-of-the-art MoE inference frameworks.

1 Introduction

Mixture-of-Experts (MoE) [19] has become a standard architecture for scaling frontier large language models (LLMs) [55, 57, 61]. The expert parameters of modern MoE-based LLMs, however, are often too large to reside on a single GPU [30]. Serving these models therefore commonly relies on expert parallelism (EP) [6, 21, 52, 63], which partitions experts

Jaejin Lee

Dept. of Computer Science and

Engineering

Graduate School of Data Science

Seoul National University

jaejin@snu.ac.kr

across GPUs and routes each input token to the GPUs hosting its selected experts.

EP introduces communication on both sides of every expert computation. Before the computation, token activations must be dispatched to the GPUs holding their selected experts. The resulting expert outputs must then be returned to and combined on the GPUs that own the tokens. These operations occur at every MoE layer in a Transformer layer and directly lie on the critical path of inference [63]. Moreover, recent MoE-based LLMs increasingly employ fine-grained experts and activate more experts per token [25]. Although this design improves model capacity and quality without proportionally increasing computation [30], it increases the number of destinations reached by each token and makes communication a growing fraction of MoE inference [12].

A number of EP communication systems have been developed to reduce this overhead, including DeepEP [2], Hybrid-EP [35], pplx-kernels [3], NCCL EP [11], and NIXL [40]. These libraries provide routing-aware data movement and employ techniques such as device-initiated communication, fine-grained synchronization, and operation overlapping. Their designs, however, assume that GPUs can directly access one another through NVLink [42], GPUDirect Peer-to-Peer (P2P) or RDMA [41]. This assumption is fundamental to both their data transfer and synchronization mechanisms [31].

Such direct GPU access is unavailable on latest consumer GPUs (e.g., RTX 40 and 50 series) which lack NVLink and have PCIe P2P access disabled by the driver. Every inter-GPU transfer must instead be staged through a bounce buffer in CPU memory [16]. Consequently, existing EP communication libraries [2, 11, 32] cannot operate on these systems. Nevertheless, cost-efficient PCIe-based systems equipped with consumer-grade GPUs are widely used for LLM inference by researchers and moderate-scale institutions [5, 10, 24, 49, 54]. To our knowledge, all major LLM frameworks [26, 29, 46, 58, 65] thus fall back to NCCL [39], NVIDIA's GPU communication library, that can run without P2P support. Notably,

NCCL’s newly introduced device API [36] also requires P2P connectivity and is therefore unavailable on consumer GPUs.

However, the conventional NCCL path available on these systems has several key limitations for MoE inference on consumer GPUs. A traditional ring algorithm [14] implemented in NCCL repeatedly relays data through host memory, causing the same data to traverse PCIe multiple times. In addition, NCCL communication kernels executed on streaming multiprocessors (SMs) compete with expert computation for execution resources [62], limiting their opportunity to overlap with computation [63]. In addition, inter-GPU synchronization must use completion flags placed in the CPU memory, making every poll a PCIe transaction.

In this paper, we present a novel EP communication design for MoE inference on PCIe-based consumer GPU systems. Our design treats host memory as a shared communication medium rather than merely as a bounce buffer between pairs of GPUs. It replaces multi-step data forwarding of conventional ring with single-step collective algorithm that reduce repeated PCIe transfers, executes bulk data movement on dedicated DMA engines to leave the SMs available for expert computation overlap, and employs lightweight synchronization that limits host memory polling and allows each transfer to proceed as soon as its dependency is satisfied. We integrate the proposed system into vLLM, a state-of-the-art LLM serving engine, and demonstrate that optimizing EP communication effectively translates into end-to-end inference gains on consumer GPU systems.

The key contributions of this paper are as follows:

  • We characterize the inference of MoE models on consumer GPUs and identify the key communication bottlenecks caused by the lack of P2P access, including PCIe link contention, SM competition, and long-latency synchronization through host memory.

  • We propose a novel single-step collective communication algorithm for dispatch and combine operations, which reduces redundant PCIe transfers incurred when conventional collective algorithms repeatedly relay data via a bounce buffer in CPU memory.

  • We develop an efficient DMA engine-based transfer design and a lightweight synchronization scheme that reduce SM competition, exploit bidirectional PCIe bandwidth, and reduce synchronization overhead.

  • We integrate the proposed design into vLLM and evaluate its performance at both the collective-operation level and in end-to-end inference on two PCIe-based systems equipped with NVIDIA RTX 4090 and RTX 5090 GPUs, respectively.

References (32)