arXiv · 2611.38375
Synthesizing Fast and Accurate Immediate-Response DRAM Latency Models with Agents
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Haocong Luo, Nisa Bostancı, Ataberk Olgun, Harsh Songara, Jikun Wang, Konstantinos Sgouras, Konstantinos Kanellopoulos, Andreas Kosmas Kakolyris, Onur Mutlu. 2026-11-27. Synthesizing Fast and Accurate Immediate-Response DRAM Latency Models with Agents. https://arxiv.science/abs/2611.38375
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.