arXiv cs.AI· Wen Huang, Jack Liu·· 10 小时前AI 评分31
按每层预取截止时间放置 LLM 查找表:SlackTier 让 DeepSeek-V4.1 的 Engram 表降至 NVMe
Placing LLM Lookup Tables by Per-Layer Prefetch Deadlines
AI 导读
针对 DeepSeek-V4.1 的 203 GB Engram n-gram 表占用 4-GPU 服务进程 223 GiB 中 190 GiB 主机 DRAM 的问题,研究者提出 SlackTier——在 SGLang 中于每步开始发起全部查找、优先读取短窗口层并按层切分 GPU 行缓存的表分层方案。
正文 · 原文
Abstract: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.
| Comments: | 15 pages, 5 figures, 10 tables |
| Subjects: | Distributed, Parallel, and Cluster Computing (cs.DC); Artificial Intelligence (cs.AI); Machine Learning (cs.LG) |
| Cite as: | arXiv:2611.13413 [cs.DC] |
| (or arXiv:2611.13413v1 [cs.DC] for this version) | |
| https://doi.org/10.48550/arXiv.2611.13413 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Wen Huang [view email]
[v1]
Tue, 10 Nov 2026 00:47:42 UTC (137 KB)
来源:arXiv cs.AI · arxiv.org