TAMER: Taming Write Amplification and Wear to Extend High-Bandwidth Flash Lifetime for LLM Serving

Yi Sun, Weikai Xu, Shuzhang Zhong, Xin Fan, Qi Liu, Tongbin Zhao, Meng Li, Yuan XiearXiv 2026

TL;DR

Replacing pricey GPU memory with High-Bandwidth Flash (HBF) solves the capacity wall for massive AI models, except for one catch: flash wears out, and if it is soldered directly onto the GPU package, one dead block bricks the entire chip. This paper introduces TAMER, a lightweight software runtime that manages flash wear without needing dedicated hardware controllers. By smartly grouping AI chat data and periodically rotating static model weights with dynamic cache data, TAMER extends HBF hardware lifespan from mere months to decades.

What Problem Does This Paper Address?

Large Language Models (LLMs) are hitting a memory wall. Storing both model weights and the dynamic Key-Value (KV) cache—the "short-term memory" of ongoing conversations—for long-context requests requires immense capacity. High-Bandwidth Memory (HBM) is fast enough, but too small and expensive.

Enter High-Bandwidth Flash (HBF): 3D-stacked NAND flash wired next to the GPU in an advanced package, operating thousands of flash planes in parallel to match HBM read speeds at terabyte capacities.

Fig. 1. Wear management in (a) an SSD, (b) existing HBF designs, and (c) TAMER. Existing designs lack wear leveling, and the flash cannot be replaced. TAMER lowers write amplification and levels wear in the serving runtime.

However, flash memory physically degrades—each block survives only about 100,000 program/erase cycles. Worse, because HBF is integrated straight into the processor package, you cannot simply unplug a worn-out drive like a standard SSD. Conventional SSDs hide this fragility behind a hardware Flash Translation Layer (FTL) that spreads wear evenly. HBF strips out the hardware FTL to maximize bandwidth, exposing raw physical flash blocks directly to the software.

Without wear management, full-HBF systems suffer three fatal flaws:

  1. Write Amplification: Flash reads/writes happen in small pages (4 KiB), but erases happen in whole blocks (2 MiB). Mixing pages from different user requests in one block means evicting a finished request requires copying out all the surviving neighbors before erasing—multiplying flash writes up to 65$\times$–84$\times$.
  2. Uneven Wear: Allocating blocks via simple queues means some blocks get hammered by chance while others sit idle.
  3. Lazy Weight Blocks: Static LLM weights are written once and read forever. Their blocks absorb zero erases, wasting 7% to 24% of the chip's total endurance budget while KV cache blocks burn out.

Methods

Instead of adding complex hardware controllers, TAMER builds wear-leveling directly into the LLM serving runtime on the host CPU. Because the serving software already knows which requests own which pages and what data is static versus dynamic, it can outsmart blind hardware controllers using three mechanisms:

  • Session Packing & Deferred Garbage Collection: Instead of writing incoming requests into blocks in arrival order, TAMER gives multi-turn sessions dedicated blocks striped across planes (preserving parallel read speed). Leftover space at the end of a session goes into a shared "tail block." When a session finishes, TAMER doesn't erase the block immediately; it simply marks the pages invalid and waits until free blocks run low, giving shared tail blocks time to expire naturally so almost zero valid pages ever need copying.
  • Wear-Aware Block Selection: Within each flash plane, TAMER tracks erase counts using min-heaps. Both new allocations and garbage collection pick the least-erased blocks first, letting heavily worn blocks rest until others catch up.
  • Weight–KV Rotation: Every 24 hours during low load, each plane takes four of its pristine, zero-wear model weight blocks and swaps their data onto the most heavily worn, resting KV blocks. Those fresh blocks enter the KV pool, unlocking the entire chip's endurance budget.

Datasets

Rather than training models, the authors evaluate system endurance using a custom trace-driven simulator replaying four real-world production traces from a cloud LLM provider (published by Wang et al., USENIX ATC 2025): To-C (consumer chat), To-B (business API), Thinking (reasoning), and Coding.

These workloads were tested across four large open-weight LLMs spanning two orders of magnitude in KV cache footprint per token: DeepSeek-V4-Pro, DeepSeek-V3, Qwen3-235B, and Hunyuan3. No new benchmarks were introduced.

Key Insights and Ideas

  • Raw write volume isn't killing flash—write amplification is. Under naive management, up to 98.5% of a block's pages belong to other active requests at eviction time, burning erase cycles just shuffling data around.
  • Software has semantic superpowers hardware lacks. Traditional SSD controllers guess which data is "hot" or "cold" from blind logical addresses. An LLM runtime inherently knows that model weights are permanently cold and chat sessions die together, making runtime-level flash management remarkably clean.
  • Sharing "tail blocks" prevents capacity starvation. Giving small chat sessions completely private 2 MiB blocks wastes massive space, forcing premature evictions. Grouping only the trailing partial blocks of concurrently active sessions neatly solves space utilization without reintroducing write amplification.

Key Results

Evaluated on a simulated 3 TiB full-HBF GPU across all 16 model-trace combinations:

  • Near-Zero Write Amplification: TAMER slashes the Write Amplification Factor (WAF) from a baseline of 7.5–84.0 down to 1.00–1.01 (copying $\le$0.4% of newly written pages).
  • Massive Lifetime Extension: Device time-to-first-block-failure improves by 8.5$\times$ to 123.1$\times$. Where the baseline system wears out in under a year in 9 of 16 scenarios (as fast as two months), TAMER pushes lifetimes to 2–12 years for Qwen3/Hunyuan3, 18–52 years for DeepSeek-V3, and over 100 years for DeepSeek-V4-Pro.
  • Tiny Overhead: Periodic weight rotation adds at most 0.6% extra erases while capturing 97%–99% of the theoretical endurance locked in weight blocks. Host RAM metadata overhead added by TAMER is just 7 to 9 MB per 3 TiB device.

Limitations and Future Work

While the authors do not include a dedicated limitations section, an apparent constraint in their methodology is that multi-year hardware lifetimes are extrapolated via trace-driven simulation rather than measured on physical silicon (as HBF is an emerging specification). Additionally, TAMER specifically targets full-HBF architectures (flash-only memory) rather than hybrid HBM+HBF tiered systems, leaving cross-tier wear management as a natural avenue for adjacent exploration.

Summary updated

BibTeX
@misc{sun2026tamer,
  author = {Yi Sun and Weikai Xu and Shuzhang Zhong and Xin Fan and Qi Liu and Tongbin Zhao and Meng Li and Yuan Xie},
  title = {{TAMER: Taming Write Amplification and Wear to Extend High-Bandwidth Flash Lifetime for LLM Serving}},
  year = {2026},
  eprint = {2611.40457},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.40457},
}
Figure