Synthesizing Fast and Accurate Immediate-Response DRAM Latency Models with Agents
Haocong Luo, Nisa Bostancı, Ataberk Olgun, Harsh Songara, Jikun Wang, Konstantinos Sgouras, Konstantinos Kanellopoulos, Andreas Kosmas Kakolyris, Onur Mutlu
Abstract
Cycle-level DRAM simulators are accurate but slow and hard to integrate into fast, parallel simulators, which instead use immediate-response models predicting each request's latency once at admission. Existing immediate-response models rely on simplified formulas that abstract away row-buffer locality, request reordering, and write draining, and manually designing accurate models across DRAM standards is laborious. Our goal is an agentic methodology where large language model (LLM) agents autonomously synthesize fast, accurate, white-box (readable and explainable) immediate-response DRAM models. We build a harness around Ramulator 2 and ChampSim where an agent iteratively proposes a model, evaluates it against a cycle-level oracle on core-cycle count and per-request latency, diagnoses errors with request traces and synthetic traffic, and refines it. We run ten-iteration synthesis with four LLMs. On 24 test workloads, Opus 5.5 (most accurate) achieves 0.15% mean core-cycle error and 0.063 normalized per-request error (56.5x and 7.4x lower than the best baseline per metric: Mess at 8.57% and queued FixedLat at 0.465) at 6.4x standalone DRAM speedup. GPT-6 Astra (fastest) achieves 1.54% core-cycle error and 0.201 per-request error (5.6x and 2.3x lower) at 31.6x speedup. The models are accurate on reads below saturation, while writes remain a major error source: models cannot predict when buffered writes issue, and three of four account for writes upon arrival. Unmodified, they retain accuracy in gem5 O3CPU (0.30-1.12% vs. 2.99-4.43% elapsed-time error) and, for three models, across nine DRAM/controller configurations, accelerating four-core zsim multiprogram simulation by 3.6-7.3x. On LPDDR6 and HBM4, new runs reach 0.04-0.58% error and unmodified DDR5 models maintain 0.65-1.07%, vs. at least 14.03% for baselines. We will open-source our harness and models.
Create a lesson
Metadata
- Categories
- cs.AR, cs.AI, cs.DC, cs.LG, cs.PF
Related papers
PVTSizing 2.0: A Fast and Reliable Analog Circuit Sizing Operator for Agentic EDA Workflows
Shared title terminologycs.ARZichen Kong, Minghuan Song, Xiyuan Tang et al.
Beyond Equivalence: Task-Level Verification Unlocks Architectural Optimizations by LLM Agents
Shared title terminologycs.ARFelix Arnold, Ryan Amaudruz, Renzo Andri et al.
EchoChat: An Intelligent Audio SoC Featuring an Ultra-Low Latency, Low-Power Keyword Spotting Accelerator
Shared title terminologycs.ARHuihong Liang, Longtao Huang, Zhiyi Zeng et al.
VeriPower: A Spiral Approach to Agentic Chip Design and Verification
Shared title terminologycs.ARHaocheng Ma, Guanyuan Chen, Yier Jin
ABLE: Anchor-Based Linear Equivalence for Reconstructing DRAM Address Mappings
Shared title terminologycs.ARJiajie Wen, Xin Xin, Hengyue Kang et al.
SparseWafer: Fast Dynamic Sparse Prefill on a Wafer-Scale Accelerator
Shared title terminologycs.ARJianchang Su, Yifan Zhang, Wei Zhang