Placing LLM Lookup Tables by Per-Layer Prefetch Deadlines
Not on the map. Why?
Abstract (arXiv)
DeepSeek-V4.1's 203 GB of Engram n-gram tables sit in host DRAM today, taking 190 of the 223 GiB a 4-GPU serving process uses. Row indices depend only on input tokens, so reads can start with each step and overlap earlier layers. V4.1's two Engram layers have windows that differ by 30x (0.3 vs. 9.3 ms). We show that this deadline, together with session reuse and contention on a shared device, decides which tier each table can use and which layers need cache, and we give a model that predicts the resulting slowdown from measured read times. Agent and chat traffic reuse rows within sessions, and static hot sets transfer poorly. We build SlackTier, a table tier for SGLang that issues all lookups at step start. It reads the short-window layer first and splits a small GPU row cache across layers. The path runs inside the decode CUDA graph and is bit-exact with the original gather. Layer 14's table can go to NVMe uncached with no measurable decode cost. With both tables on four NVMe disks, mean time per output token on agent and chat replays rises at most 1.4% over unmodified SGLang, and host memory falls from 212 to 34 GiB. Both tables need no cache when read over RDMA (remote direct memory access) from another node's memory; one copy serves two instances. On a KV-constrained agent workload, using the freed memory as host KV cache at the same memory budget raises median throughput by 36% and cuts median p90 time to first token from 38 to 24 s.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 32 of its 54 references that are in the map. Submitted 10 Nov 2026.
Builds on
32 of 54 references.
References · 32
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,853
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,155
- 2024WildChat: 1M ChatGPT Interaction Logs in the Wildcited by 710
- 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 683
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 610
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 416
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 264
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 233
- 2023CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Servingcited by 223
- 2024Mooncake: A KVCache-centric Disaggregated Architecture for LLM Servingcited by 214
20 more
- 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memorycited by 189
- 2025LMCache: An Efficient KV Cache Layer for Enterprise-Scale LLM Inferencecited by 152
- 2019Large Memory Layers with Product Keyscited by 134
- 2023Pre-gated MoE: An Algorithm-System Co-Design for Fast and Scalable Mixture-of-Expert Inferencecited by 114
- 2026Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Modelscited by 102
- 2024MoE-Infinity: Efficient MoE Inference on Personal Machines with Sparsity-Aware Expert Cachecited by 61
- 2024Memory Layers at Scalecited by 55
- 2025Over-Tokenized Transformer: Vocabulary is Generally Worth Scalingcited by 52
- 2021RecSSD: Near Data Processing for Solid State Drive Based Recommendation Inferencecited by 37
- 2025Scaling Embedding Layers in Language Modelscited by 26
- 2022Merlin HugeCTR: GPU-accelerated Recommender System Training and Inferencecited by 21
- 2022N-Grammer: Augmenting Transformers with latent n-gramscited by 18
- 2022GPU-Initiated On-Demand High-Throughput Storage Access in the BaM System Architecturecited by 14
- 2022BagPipe: Accelerating Deep Recommendation Model Trainingcited by 13
- 2025Memory Offloading for Large Language Model Inference with Latency SLO Guaranteescited by 4
- 2026Pooling Engram Conditional Memory in Large Language Models using CXLcited by 4
- 2026TF-Engram: A Train-Free Engram with SSD-Backed Memory for Large Language Modelscited by 4
- 2026Low-Bit N-Gram Embeddings for Language Modelscited by 2
- 2026STAPLE: Static Sparse Upcycling of Pretrained Checkpoints via Embedding Modulescited by 1
- 2026N-Gram Memories at Two Bits: Quantizing Lookup Tables in Large Language Modelscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Where Should the KV Cache Live? Placement Policies Across GPU, CPU, and SSD for Long-Lived Sessions
- 2026CacheRoute: Planned Prefix-Affinity Routing for Large-Scale LLM Serving
- 2025TraCT: Disaggregated LLM Serving with CXL Shared Memory KV Cache at Rack-Scale
- 2026Calibrate, Then Route: A Measured Study of Learned Request Routing for Disaggregated LLM Serving
- 2026Making Preemption Productive in Long-Output LLM Serving
- 2026DualPace: Decoupled Scheduling and Cooperative GPU--CPU Decoding for LLM Serving
- 2026PersistentKV: Page-Aware Decode Scheduling for Long-Context LLM Serving on Commodity GPUs
- 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve