LaFlash: Capacity-Driven Acceleration for Coding Agent Workflows via QLC-HBF
Yuseon Choi, Eunjong Lee, Sanghyeon Park, Seongyon Hong, Sangjin Kim, Thierry Tambe
Abstract
As large language models (LLMs) evolve toward agentic AI, coding agents are emerging as memory-intensive workloads that repeatedly reuse persistent states, including contexts and KV caches. Emerging agentic workflows, including Loop/Graph Engineering, cause state amplification through frequent active/dormant transitions, increasing memory pressure. Evicted states incur costly recomputation upon reactivation, particularly under long-context, short-decode workloads. This motivates Capacity-Driven Acceleration (CDA), which explicitly accounts for state amplification to allocate memory capacity between active concurrency and dormant-state retention, replacing recomputation with memory access. In this work, we propose LaFlash, a High-Bandwidth Flash (HBF) architecture that exploits the large capacity of Quad-Level Cell (QLC)-based flash to realize CDA. However, QLC's long read latency demands massive read parallelism under irregular state reactivation and varying context lengths, while limited write endurance constrains placement. LaFlash introduces Session Grouping to balance active request counts and aggregate context lengths across groups, sustaining read parallelism and block utilization through request-exclusive allocation. Furthermore, Fast-Page Allocation exploits QLC's read-latency heterogeneity to mitigate residual inter-group imbalance and sustain bandwidth utilization. On end-to-end coding agent workloads, LaFlash achieves 7.04× higher throughput and 10.96× higher energy efficiency over SLC-HBF with batch expansion, and 2.36× higher throughput over QLC-HBF with CDA. HBM buffering further reduces unnecessary NAND writes, improving QLC write endurance. These results demonstrate the benefits of jointly optimizing state retention and physical data placement for capacity-driven acceleration.
Create a lesson
Related papers
Inference-Time Scaling in Agentic Hardware Verification Workflows: A Multi-Strategy Characterization Across Protocol Complexity
Shared title terminology · Vikash Kumar
PVTSizing 2.0: A Fast and Reliable Analog Circuit Sizing Operator for Agentic EDA Workflows
Shared title terminology · Zichen Kong, Minghuan Song, Xiyuan Tang et al.
NEMESIS2.0: LLM-Aided Netlist-Driven Performance Equation Modeling for Accelerated Analog Circuit Sizing
Shared title terminology · Subhadip Ghosh, Ramesh Harjani, Sachin S. Sapatnekar
OpenLayout: An Open and Agentic-Driven Platform for Holistic VLSI Physical Design and Benchmarking
Shared title terminology · Qiufeng Li, Sizhe Tang, Quan Cheng et al.
An Agentic Python Framework for LLM-Driven UVM Testbench Synthesis with Closed-Loop Compiler Feedback
Shared title terminology · Vikash Kumar
AMARA: Compiler-Driven Accelerator Architecture Design for Graphical Probabilistic Sampling
Shared title terminology · Zhan Chen, Yihan Fu, Wenshuo Yue et al.