arXiv Science⌕ Search

arXiv subjects

Yuanwu Zhu

Publications and source records attributed to Yuanwu Zhu.

2 recordsLinked to original sources

HBFresh: Selective Refresh Management for LLM Inference on High-Bandwidth Flash

High-bandwidth flash (HBF) is an emerging NAND-based memory technology that expands memory capacity next to the GPU for LLM inference. HBF holds model weights, which are written once and read many times, yet repeated reads accumulate read disturb and force refresh writes that consume program/erase endurance. Whole-block refresh rewrites still-healthy pages. Selective refresh rewrites fewer pages but leaves partially valid blocks that complicate later garbage collection (GC). Our simulation of single-level-cell (SLC) read disturb with real model weights shows that a block serves a median of 4.2x the one-million-read interval of baseline whole-block refresh before its first page needs refresh. Therefore, the refresh of healthy pages can be deferred. We present HBFresh, which uses a Markov model of per-page placement and read-disturb history to forecast future free-space demand, and jointly decides where refreshed data is placed and when GC is triggered. Simulations driven by LLM inference workloads show that HBFresh uses 18.75%-60.6% fewer page programs than the best static GC threshold at each occupancy and, at the lowest tested occupancy, lowers the worst-case inference latency from 73 ms to 17 ms.

cs.AI↗

HBFSim: Fast and Faithful Simulation of High-Bandwidth Flash Under Real GPU Execution

High-Bandwidth Flash (HBF) places high-capacity NAND beside HBM to relieve the memory-capacity bottleneck of LLM inference, yet its system-level behavior cannot be evaluated before hardware becomes available. Cycle-level GPU simulators are too slow for production-scale models. Trace replay has a further shortcoming: it cannot capture the allocation, migration, and execution changes induced by different HBM-HBF configurations. Our key insight is that HBF need not be evaluated by simulating the GPU: only the program-visible effects of HBF need to be modeled. And only a real LLM workload running on real hardware can answer the arguments about HBF. Hence the modeled service has to be injected into that running program, and the injection must not destroy the GPU concurrency that would hide the original I/O latency. We present HBFSim, an open-source HBF simulator that executes LLM workloads on a real GPU while modeling HBF timing, thermal, and other behaviors online. HBFSim rewrites the PTX of the workload's kernels and routes accesses inside a registered address range into the HBF simulator. It supports asynchronous TMA transfers and capacities beyond physical GPU memory. HBFSim leaves the model's run unaffected across ordinary-memory, TMA, and capacity-mode tests. The delay it injects matches the delay requested to within 0.152%. We also design a coupled thermal module that puts HBF, HBM, and the GPU in one advanced package, which is important for answering how severe the hot throttling problem becomes after HBF runs for a long time. Experiments with Qwen3-30B show how package heating, HBM-HBF allocation, and shared MoE demand jointly constrain the design space of future HBF accelerators. The source code of HBFSim is available at https://github.com/SlugLab/hbfsim/.

cs.AR↗