PACER: Accelerating Mixture-of-Experts LLM Inference on High Bandwidth Flash Memory via Resource-Aware Expert Prefetching and Caching

Geraldo F. Oliveira, Ahmet Caner Yüzügüler, Renzo Andri, Arash Tavakkol, Mohammad Sadrosadati, Onur Mutlu, Lukas CavigelliarXiv 2026

TL;DR

Frontier Mixture-of-Experts (MoE) language models are too big to fit in standard GPU memory, so hardware architects are turning to High Bandwidth Flash (HBF) to add terabytes of capacity right next to the GPU. However, naively prefetching MoE experts from flash into HBM actually slows down inference at scale and wears out the flash memory. PACER solves this with a hardware/software co-designed prefetching and caching system that is strictly "resource-aware"—using only idle HBM bandwidth, leftover HBM capacity, and flash reads saved by cache hits—boosting decode throughput by 1.46× and extending flash lifetime by 3.54× over state-of-the-art demand-driven HBF.

What Problem Does This Paper Address?

Modern MoE models (like DeepSeek-V3 and Kimi K2) pack hundreds of billions to over a trillion parameters, easily overflowing the ~192 GB of HBM on a flagship GPU. High Bandwidth Flash (HBF) bridges this gap by stacking NAND flash dies in an HBM form factor, offering 512 GB+ per stack at HBM-like peak read bandwidth.

The catch? During token generation (decode), an MoE layer’s gate (router) dynamically picks which few "experts" each token needs at runtime. Under a demand-driven HBF controller (like FLINT), the GPU sits idle waiting for flash page reads—up to 33% of a decode step.

Figure 1: One decode step of an MoE model, layer L for three tokens, and where the operands live.

A natural fix is to prefetch experts ahead of time into an HBM cache. But the authors show that naively porting MoE prefetching to an HBF-equipped GPU hits three walls:

  1. Double Flash Reads: Demand reads from the GPU overwrite prefetched experts waiting in the HBF's internal page buffer, forcing HBF to read them from flash a second time.
  2. HBM Capacity & Bandwidth Contention: As batch size and context length grow, the KV cache eats up HBM, leaving little room for an expert cache and causing severe cache thrashing. Meanwhile, writing prefetched experts into HBM competes with demand requests for HBM bandwidth.
  3. Flash Wear (Read Disturb): Reading flash cells disturbs neighboring cells, eventually requiring a costly block refresh that consumes program/erase (P/E) endurance. Useless prefetches (mispredicted or evicted before use) wear out the flash faster.

Methods

PACER (Prefetching And Caching of Experts under Read disturb) coordinates software and hardware so that prefetching never steals resources from demand requests or accelerates flash wear.

Figure 6: Overview of PACER.

In Software (PACER Runtime on the GPU): * Two-Stage Gate-Based Prefetching: Instead of training a separate predictor, PACER applies the unmodified gate of layer $L+1$ to earlier hidden states—first at the start of gate $L$, and again at the start of layer $L+1$ to refine predictions. * Hint-Protected Replacement Policy: Standard LRU caches thrash when the cache is smaller than one decode step's experts. PACER protects predicted experts from eviction and keeps every prefetched expert in HBM until its layer's expert kernels finish (protection until first read), evicting least-frequently-accessed unprotected experts first.

In Hardware (PACER Controller on HBM & HBF Base Dies): * Copy-Preserving Read Unit: Checks an HBM expert cache directory for every demand read. If the burst is already in HBM or in flight, it serves or holds the demand read rather than letting it overwrite a prefetched burst in the HBF page buffer. * HBM Write Throttling Engine: Tracks idle HBM cycles from the previous layer and caps prefetch HBM writes to that HBM write budget, preventing write-caused interference. * Lifetime Control Engine: Maintains a per-HBF-stack speculation budget credited whenever an HBM cache hit saves a flash read, and debited when a prefetch issues. Useless prefetches keep their debit, ensuring PACER never wears flash faster than a demand-driven controller.

Datasets

The authors evaluate PACER on five frontier MoE models: DeepSeek-V3, DeepSeek-V4-Pro, Qwen3-235B-A22B, Llama-4 Maverick, and Kimi K2.

  • Workload Traces: Full-model decode traces were generated using the WSE workload generator, driven by routed expert selections captured from a real GPU deployment serving MMLU.
  • Configurations: Evaluated across context lengths of 2K, 8K, 32K, and 128K tokens, and batch sizes of 1, 4, 16, and 64.

Key Insights and Ideas

  • Prefetching without resource awareness backfires at scale: At batch size 16, even a perfect predictor with zero mispredictions fails to speed up 3 of the 5 models under naive prefetching, because overwritten page buffers and HBM cache thrashing negate the latency savings.
  • Cache hits can fund flash speculation: Every expert served from HBM saves 512 flash page reads. By using those saved reads as a strict budget for speculative prefetches, PACER gets the speedups of prefetching while actually reducing total flash wear.
  • Small SRAM, big payoff: All of PACER's hardware structures add just 6.13 mm² per HBM base die and 0.14 mm² per HBF base die at 7 nm.

Key Results

  • Decode Throughput: PACER improves decode throughput by 1.46× on average over FLINT (up to 2.71×), 3.56× over H³ (up to 7.97×), and 2.82× per GPU package over an HBM-only system. It achieves 98.9% of the throughput of a theoretical perfect predictor.
  • Latency & Cost (SLO): PACER meets a 50 ms time-per-output-token (TPOT) SLO at up to 4× the batch size of FLINT, using 4× to 6× fewer GPU packages than an HBM-only system at the same batch size.
  • Flash Lifetime & Energy: PACER extends flash lifetime (in tokens served) by 3.54× over FLINT on average, and uses only 54.8% of FLINT's energy per token.

Limitations and Future Work

  • Prefill is excluded: PACER issues no prefetches during the prefill phase, because prefill already reads every expert of each layer.
  • Tight HBM budgets at extreme scale: At very large batch sizes and 128K context lengths, the KV cache alone can exceed HBM capacity on some models, leaving no room for an HBM expert cache. (In those cases, the lifetime control engine simply drops prefetches—e.g., dropping 97.6% of prefetches on DeepSeek-V3 at batch size 16, 128K context.)
  • Future directions: The authors note that PACER can be combined with architectures that move compute closer to experts or replicate and migrate experts across GPU packages.

Summary updated

BibTeX
@misc{oliveira2026pacer,
  author = {Geraldo F. Oliveira and Ahmet Caner Yüzügüler and Renzo Andri and Arash Tavakkol and Mohammad Sadrosadati and Onur Mutlu and Lukas Cavigelli},
  title = {{PACER: Accelerating Mixture-of-Experts LLM Inference on High Bandwidth Flash Memory via Resource-Aware Expert Prefetching and Caching}},
  year = {2026},
  eprint = {2612.02987},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.02987},
}
Figure