arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.03944cs.AR
收藏

五分钟规则四十周年后:面向现代内存层次结构的首次原理重审

Five-Minute Rule 40 Years Later: A First-Principles Revisit for Modern Memory Hierarchy

ScaleFlux(聚辰半导体);NVIDIA(英伟达);Stanford University(斯坦福大学)

Tong Zhang, Vikram Sharma Mailthody, Fei Sun, Linsen Ma, Chris J. Newburn, Teresa Zhang, Yang Liu, Jiangpeng Li, Hao Zhong, Wen-Mei Hwu

AI总结:

本文基于首次原理重审五分钟规则,整合主机成本、DRAM带宽/容量和SSD性能成本物理模型,提出考虑约束和工作负载的框架,展示现代AI平台中DRAM与闪存缓存阈值从分钟缩至几秒,揭示NAND闪存作为活跃数据层的研究空间,并引入MQSim-Next仿真器和两个案例研究。

摘要:

1987年,Jim Gray和Gianfranco Putzolu提出了五分钟规则,一个基于存储-内存-经济的简单启发式方法,用于决定数据应存于DRAM还是存储。后续对规则的回顾大多保留了仅经济视角,忽略了主机成本、可行性限制和工作负载行为。本文从首次原理重新审视该规则,整合主机成本、DRAM带宽/容量以及基于物理的SSD性能和成本模型,并将其嵌入一个考虑约束和工作负载的框架,以提供可操作的配置指导。我们证明,对于现代AI平台,尤其是以GPU为中心的主机配以超高速IOPS的SSD,DRAM↔闪存缓存阈值从分钟缩至几秒。这种转变将NAND闪存视为活跃数据层,并揭示了硬件-软件栈广泛的研究空间。我们进一步引入MQSim-Next,一个校准的SSD仿真器,支持验证和敏感性分析,并促进未来架构和系统研究。最后,我们展示了两个具体案例研究,展示了此类内存层次结构范式转变所打开的软件系统设计空间。总体而言,我们将经典启发式方法转化为可操作、可行性的分析和配置框架,并为AI时代内存层次结构的进一步研究奠定了基础。

英文摘要:

In 1987, Jim Gray and Gianfranco Putzolu introduced the five-minute rule, a simple, storage-memory-economics-based heuristic for deciding when data should live in DRAM rather than on storage. Subsequent revisits to the rule largely retained that economics-only view, leaving host costs, feasibility limits, and workload behavior out of scope. This paper revisits the rule from first principles, integrating host costs, DRAM bandwidth/capacity, and physics-grounded models of SSD performance and cost, and then embedding these elements in a constraint- and workload-aware framework that yields actionable provisioning guidance. We show that, for modern AI platforms, especially GPU-centric hosts paired with ultra-high-IOPS SSDs engineered for fine-grained random access, the DRAM$\leftrightarrow$flash caching threshold collapses from minutes to a few seconds. This shift reframes NAND flash memory as an \emph{active data tier} and exposes a broad research space across the hardware-software stack. We further introduce MQSim-Next, a calibrated SSD simulator that supports validation and sensitivity analysis and facilitates future architectural and system research. Finally, we present two concrete case studies that showcase the software system design space opened by such memory hierarchy paradigm shift. Overall, we turn a classical heuristic into an actionable, feasibility-aware analysis and provisioning framework and set the stage for further research on AI-era memory hierarchy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑