计算机科学 > 硬件体系结构
[提交于 2026年11月27日]
标题:Synthesizing Fast and Accurate Immediate-Response DRAM Latency Models with Agents
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Haocong Luo[v1] 2026年11月27日 星期五 23:49:45 UTC (220 KB)