RoMe:面向大语言模型的行粒度访问内存系统
RoMe: Row Granularity Access Memory System for Large Language Models
AI总结:
RoMe通过行粒度访问DRAM并移除冗余结构,简化内存调度并提升带宽,适用于大语言模型的高效内存系统。
摘要:
现代基于HBM的内存系统在数代进化中保留了缓存行粒度访问。保持这种细粒度需要引入银行组和伪通道。这些结构扩展了定时参数和控制开销,显著增加了内存控制器调度的复杂性。大语言模型(LLMs)现在主导了深度学习工作负载,流式传输连续数据块,每个操作的数据量从几KB到几MB不等。在传统HBM内存系统中,这些传输被分割成数百个32B缓存行事务。这迫使内存控制器采用不必要的复杂调度,导致效率逐渐下降。为了解决这个问题,我们提出了RoMe。RoMe以行粒度访问DRAM,并从内存接口中移除了列、银行组和伪通道。这种设计简化了内存调度,从而每个通道所需的引脚更少。释放的引脚被汇总成额外的通道,通过最少的额外引脚增加了整体带宽12.5%。RoMe展示了如何为代表性LLM工作负载显著简化内存调度逻辑,并提出了下一代HBM内存系统的一种替代方法,实现了带宽增加的同时硬件开销最小。
英文摘要:
Modern HBM-based memory systems have evolved over generations while retaining cache line granularity accesses. Preserving this fine granularity necessitated the introduction of bank groups and pseudo channels. These structures expand timing parameters and control overhead, significantly increasing memory controller scheduling complexity. Large language models (LLMs) now dominate deep learning workloads, streaming contiguous data blocks ranging from several kilobytes to megabytes per operation. In a conventional HBM-based memory system, these transfers are fragmented into hundreds of 32B cache line transactions. This forces the memory controller to employ unnecessarily intricate scheduling, leading to growing inefficiency. To address this problem, we propose RoMe. RoMe accesses DRAM at row granularity and removes columns, bank groups, and pseudo channels from the memory interface. This design simplifies memory scheduling, thereby requiring fewer pins per channel. The freed pins are aggregated to form additional channels, increasing overall bandwidth by 12.5% with minimal extra pins. RoMe demonstrates how memory scheduling logic can be significantly simplified for representative LLM workloads, and presents an alternative approach for next-generation HBM-based memory systems achieving increased bandwidth with minimal hardware overhead.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。