Search arXiv⌕ Search

arXiv subjects

Tongbin Zhao

Publications and source records attributed to Tongbin Zhao.

3 recordsLinked to original sources

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

High-bandwidth flash (HBF) offers read bandwidth comparable to that of high-bandwidth memory at a much higher capacity, enough to hold the weights and the key-value (KV) cache of large language models (LLMs). However, flash wears out after a limited number of program/erase cycles, and HBF is integrated into the package and cannot be replaced, so wear leveling is essential for HBF-based LLM serving systems. Yet no existing HBF design provides it, and the device fails far earlier than its erase budget allows, because per-request KV eviction amplifies writes, block selection ignores erase counts, and the blocks that hold weights are never erased. To address these challenges, we propose TAMER, the first runtime-level wear-leveling framework for HBF without hardware flash translation layer, which requires no hardware modification, removes almost all write amplification with session packing and garbage collection, and evens out wear with wear-aware block selection. Moreover, TAMER introduces periodic weight-KV rotation to migrate static weights onto heavily worn blocks, allowing all blocks to evenly share the erase budget. Evaluations across four LLMs and four production traces show that TAMER reduces write amplification to at most 1.01 and extends HBF lifetime by 8.5$\times$ to 123.1$\times$ with negligible overhead, demonstrating the strong potential of durable HBF-based next-generation AI infrastructure.

cs.AR↗

HBFWeave: Coordinating DRAM and High Bandwidth Flash for Sparse LLM Inference

Long-context sparse attention reduces computation and read traffic, but the full KV cache must still be stored. High-bandwidth Flash (HBF) provides the needed capacity, but irregular sparse KV accesses can waste data in Flash page reads and cause plane imbalance. Continuous KV writes can stall reads during Flash program and stress endurance. To address these challenges, we present HBFWeave, a mixed DRAM-HBF system. It replaces a few Flash dies with DRAM to cache frequently reused KV pages while retaining most Flash capacity and read bandwidth. HBFWeave uses reuse-aware admission to reduce Flash reads within this cache budget and ready-plane scheduling to serve residual misses without waiting behind busy planes. Read-prioritized program waves and request-grouped blocks further limit write interference and garbage-collection (GC) copying. Across four sparse models and 16 workloads, HBFWeave achieves an average throughput speedup of 2.65$\times$ and P50/P90 TPOT speedups of 2.55$\times$/3.81$\times$ over HBF-only.

cs.AR↗

HBFlex: A Flexible Memory System for Bridging Fine-Grained LLM States and Coarse-Grained HBF Parallel Execution

Large language models (LLMs) require increasing memory capacity to accommodate growing model weights and KV caches. High-Bandwidth Flash (HBF) offers high memory density and aggregate read bandwidth through massive plane-level parallelism, making it an attractive option for LLM serving. However, serving LLMs entirely from HBF introduces three challenges: fine-grained KV reads create placement and access imbalance, incremental writes interfere with foreground reads, and mixed KV lifetimes amplify garbage collection. Hybrid HBM/HBF designs retain HBM to support dynamic KV management, but this allocation reduces the HBF resources available under a fixed packaging budget, limiting aggregate HBF bandwidth. We present HBFlex, a full-HBF memory system with coordinated optimizations for KV reads, writes, and reclamation. HBFlex balances KV placement and attention accesses to improve plane utilization. It aggregates incremental updates and schedules writeback within sufficiently long compute windows to reduce write--read interference. It also combines lifetime-guided block packing with deferred reclamation to reduce valid-page migration. We evaluate HBFlex through trace-driven simulation across different configurations. HBFlex achieves average throughput speedups of up to 1.58$\times$ over FlashAccel and 3.30$\times$ over H3, benefiting from higher HBF bandwidth and more efficient management of dynamic KV-cache reads, writes, and erases.

cs.AR↗