NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Characterizing LLM Kernel Access and Memory Interaction in Multi-Partition NUMA GPUs

Donghyeon Joo, Sooraj Puthoor, Nuwan Jayasena, Bahar AsgariarXiv 2026

TL;DR

As Large Language Models (LLMs) scale, GPU vendors are turning to multi-chiplet, multi-partition architectures to expand memory and compute capacity. However, this paper reveals that hiding these physical partitions behind a unified virtual address space creates a severe, hidden Non-Uniform Memory Access (NUMA) bottleneck. By characterizing LLM serving kernels into distinct data-sharing patterns, the authors demonstrate that locality-aware workgroup scheduling and data placement can unlock up to a 1.79× speedup.

What Problem Does This Paper Address?

To keep up with the massive memory footprints of modern LLMs (like DeepSeek, Llama, and Qwen), modern accelerators like the AMD Instinct MI300X and NVIDIA Blackwell B200 group multiple compute and memory dies into a single package. This creates an intra-chip NUMA environment: a compute unit accessing data on its local partition experiences low latency, but accessing data on a remote partition requires traversing an interconnect, causing delays and bandwidth contention.

The core issue is the abstraction gap. Current GPU Memory Management Units (MMUs) present a single, unified virtual address space to the software. While this makes programming easy, it leaves the runtime and the developer blind to where data physically resides relative to the threads consuming it. Consequently, standard LLM serving engines (like vLLM and SGLang) blindly scatter data and work, leading to massive cross-partition traffic that silently degrades performance.

Methods

The authors developed a systematic, trace-driven methodology to diagnose and quantify these intra-chip NUMA effects:

  1. Memory Trace Analysis: Using AMD Omniprobe, they captured virtual address memory traces from real LLM serving kernels. They built an analysis pipeline to process these traces at the workgroup (WG) level—the fundamental unit of GPU scheduling. The pipeline detects memory access strides, groups them into byte intervals ("chunks"), and measures data overlap between workgroups.
  2. Sharing Pattern Taxonomy: Based on the trace overlap, they categorized kernel operands into three distinct inter-workgroup sharing patterns: WG-Private, Global Shared, and Partial Sharing (illustrated in Figure 3).
  3. Cycle-Level Simulation: They extended MGPUSIM, a cycle-accurate GPU simulator, to model a 4-partition NUMA GPU topology resembling the AMD MI300X architecture (shown in Figure 1). To isolate the performance cost of NUMA, they compared a baseline round-robin page/WG scheduling policy against an "ideal" configuration where all inter-partition transfers complete in a single cycle with zero latency.
Figure 1: Multi-Partition Architecture of AMD Instinct MI300X.
Figure 3: Categorization of WG-level Data Structure Access.

Datasets

Rather than standard machine learning datasets, the paper evaluates performance-critical operators and configurations extracted from state-of-the-art serving engines (vLLM and SGLang):

  • Weight Projection: Up-projection kernels modeled after Llama-2-7B.
  • Attention Variants: Multi-Head Attention (MHA), Grouped-Query Attention (GQA) modeled after Llama-3-8B, and Multi-head Latent Attention (MLA) from DeepSeek-V2.
  • Mixture-of-Experts (MoE): Fused MoE kernels using dimensions from the DeepSeek-V3 671B model.

Key Insights and Ideas

  • Default Policies are Dismal for Locality: Under standard round-robin page interleaving and workgroup scheduling, operands are spread indiscriminately across the chip. This drops baseline memory locality to a mere ~25% on a 4-partition system, meaning 75% of accesses must cross chiplet boundaries.
  • One Size Does Not Fit All: The optimal optimization strategy depends entirely on the operand's sharing pattern:
  • WG-Private data (e.g., weight matrices) can be optimized purely via static page pinning to the local partition.
  • Global Shared data (e.g., activation vectors) requires N-way replication across partitions if the data structure is large enough to cause contention.
  • Partial Sharing (e.g., GQA grouped KV heads) requires advanced, subgroup-aware co-scheduling to ensure workgroups sharing a data slice land on the same partition.
  • Compute vs. Memory Boundness: FlashAttention prefill is highly compute-bound due to dense matrix multiplications, which masks its poor memory locality (yielding only a 1.09× sensitivity). Conversely, decode kernels are memory-bandwidth bound, making them highly sensitive to NUMA delays.
  • MoE Introduces Dynamic Chaos: In Mixture-of-Experts (MoE) kernels, token routing changes dynamically with every batch. This means static placement fails; MoE requires a two-tier strategy that combines static weight pinning with dynamic, runtime-driven activation page placement.

Key Results

By eliminating inter-partition overhead in their simulator, the authors revealed massive optimization headroom across memory-bound decode operations (summarized in Figure 4):

  • GQA Decode (1.79× potential speedup): This kernel is the most sensitive to NUMA because multiple query heads concurrently contend for the same remote KV cache lines, amplifying interconnect traffic.
  • Weight Projection (1.72× potential speedup): Highly sensitive due to the massive, memory-bound weight matrix. This sensitivity remains stable across varying batch sizes (Figure 5).
  • MHA Decode (1.64× potential speedup) and MLA Decode (1.45× potential speedup): Both show substantial sensitivity that scales with sequence length (Figure 6).
  • MoE Decode (Up to 1.32× potential speedup): Highly dependent on token routing; disjoint routing (where tokens activate entirely different experts) maximizes unique weight footprints and exacerbates NUMA penalties.
Figure 4: Achievable kernel speedup when inter-partition data transfer overhead is eliminated, normalized to default round-robin placement. Higher bars indicate greater NUMA sensitivity and larger optimization headroom.
Figure 5: NUMA sensitivity of weight projection across batch sizes. The dominant operand (2 MB WG-private weight matrix) is batch-invariant. The globally shared activation grows from 8 KB (B=1) to 256 KB (B=32) but remains negligible relative to the weight footprint.
Figure 6: NUMA sensitivity of attention decode variants across sequence lengths at batch size B=4. The sharing category of each operand is stable across all lengths , while the overhead magnitude grows with per-WG KV footprint.

Limitations and Future Work

  • Static Analysis Shortcomings: Existing static compiler-assisted frameworks (like LADM or MGvm) cannot handle the dynamic, runtime-dependent token routing inherent to MoE kernels.
  • Lack of Fine-Grained Control: Current GPU programming models do not expose physical partition layouts to developers, forcing a choice between a unified address space with poor locality or breaking the address space entirely (e.g., via AMD's CPX mode), which complicates multi-GPU coordination.
  • Future Directions: The authors call for hardware-software co-design, specifically advocating for finer data interleaving granularities (moving away from fixed 4KB pages) and hardware/runtime support for dynamic, placement-aware workgroup dispatching.

Summary updated

BibTeX
@misc{joo2026characterizing,
  author = {Donghyeon Joo and Sooraj Puthoor and Nuwan Jayasena and Bahar Asgari},
  title = {{Characterizing LLM Kernel Access and Memory Interaction in Multi-Partition NUMA GPUs}},
  year = {2026},
  eprint = {2607.28824},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.28824},
}
Figure