arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.07683cs.ARcs.DCcs.LGcs.OS
收藏

通过机器学习驱动和数据感知的微架构技术缓解内存瓶颈

Mitigating the Memory Bottleneck with Machine Learning-Driven and Data-Aware Microarchitectural Techniques

ETH Zürich(苏黎世联邦理工学院)

Rahul Bera

AI总结:

本研究通过机器学习驱动和数据感知的微架构技术,提升内存性能与能效。

摘要:

现代应用处理大量数据,这超出了内存系统的存储和检索能力,使内存成为计算系统性能和能效的主要瓶颈。尽管许多微架构技术试图隐藏或容忍长内存访问延迟,但快速增长的数据足迹仍然赶不上技术进步,需要更有效的解决方案。本论文表明,现代处理器在执行过程中观察到大量应用程序和系统数据,但许多微架构机制在决策时大多独立于这些信息。通过四个案例研究,我们证明这种数据无关的设计导致了改进性能和能效的巨大机会。为了解决这一限制,本论文倡导将微架构设计从数据无关转向数据驱动。我们提出了机制(1)从观察到的执行行为中学习策略(数据驱动设计)和(2)利用应用程序数据的语义特征(数据感知设计)。我们应用轻量级机器学习技术和之前未充分利用的数据特征,在四个处理器组件中:基于强化学习的硬件数据预取器,该预取器在线学习内存访问模式;一个感知机预测器,识别可能访问芯片外内存的内存请求;一个强化学习机制协调数据预取和芯片外预测;以及一个机制利用内存地址和加载值的可重复性以消除可预测的加载指令。我们的广泛评估显示,所提出的技术在性能和能效方面显著优于先前的最先进方法。

英文摘要:

Modern applications process massive data volumes that overwhelm the storage and retrieval capabilities of memory systems, making memory the primary performance and energy-efficiency bottleneck of computing systems. Although many microarchitectural techniques attempt to hide or tolerate long memory access latency, rapidly growing data footprints continue to outpace technology scaling, requiring more effective solutions. This dissertation shows that modern processors observe large amounts of application and system data during execution, yet many microarchitectural mechanisms make decisions largely independent of this information. Through four case studies, we demonstrate that such data-agnostic design leads to substantial missed opportunities for improving performance and energy efficiency. To address this limitation, this dissertation advocates shifting microarchitecture design from data-agnostic to data-informed. We propose mechanisms that (1) learn policies from observed execution behavior (data-driven design) and (2) exploit semantic characteristics of application data (data-aware design). We apply lightweight machine learning techniques and previously underexplored data characteristics across four processor components: a reinforcement learning-based hardware data prefetcher that learns memory access patterns online; a perceptron predictor that identifies memory requests likely to access off-chip memory; a reinforcement learning mechanism that coordinates data prefetching and off-chip prediction; and a mechanism that exploits repeatability in memory addresses and loaded values to eliminate predictable load instructions. Our extensive evaluation shows that the proposed techniques significantly improve performance and energy efficiency compared to prior state-of-the-art approaches.

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

↑