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

面向内存池化的DRAM缓存预取技术探究

Exploring DRAM Cache Prefetching for Pooled Memory

Chandrahas Tirumalasetty, Narasimha Annapreddy

AI总结:

针对内存池化带来的访问延迟升高问题,提出将FAM子页块预取到本地DRAM缓存的系统,结合两种优化方案缓解带宽争用,经多基准测试验证可有效提升IPC。

摘要:

由CXL这类互连标准支撑的硬件内存池化方案正受到云服务商与系统集成商的广泛青睐。尽管内存资源池化具备成本优势,但也会带来内存访问延迟升高的代价。随着内存层级中新增这一层级,本地DRAM可潜在用作架构附加内存(FAM)的块缓存(DRAM Cache),同时可借助数据预取技术掩盖FAM的访问延迟。本文提出一种将FAM中的子页块预取到DRAM缓存的系统,旨在改善数据访问延迟与应用性能。我们进一步优化了DRAM缓存预取机制,通过增强设计缓解FAM侧带宽争用导致的性能下降。我们探索了在CXL内存节点提供额外功能的可能性,即对按需请求与预取请求采用加权公平队列调度。我们将这种内存节点层面的方案,与在计算节点根据观测到的延迟调整预取速率的方案进行了对比。我们在单节点与多节点配置下,采用SPEC、PARSEC、Splash和GAP基准测试套件中的应用对所提系统进行了评估。评估结果表明,DRAM缓存预取可带来7%的IPC提升,而两种提出的优化方案可进一步将IPC提升7%-10%。

英文摘要:

Hardware based memory pooling enabled by interconnect standards like CXL have been gaining popularity amongst cloud providers and system integrators. While pooling memory resources has cost benefits, it comes at a penalty of increased memory access latency. With yet another addition to the memory hierarchy, local DRAM can be potentially used as a block cache(DRAM Cache) for fabric attached memory(FAM) and data prefetching techniques can be used to hide the FAM access latency. This paper proposes a system for prefetching sub-page blocks from FAM into DRAM cache for improving the data access latency and application performance. We further optimize our DRAM cache prefetch mechanism through enhancements that mitigate the performance degradation due to bandwidth contention at FAM. We consider the potential for providing additional functionality at the CXL-memory node through weighted fair queuing of demand and prefetch requests. We compare such a memory-node level approach to adapting prefetch rate at the compute-node based on observed latencies. We evaluate the proposed system in single node and multi-node configurations with applications from SPEC, PARSEC, Splash and GAP benchmark suites. Our evaluation suggests DRAM cache prefetching result in 7% IPC improvement and both of proposed optimizations can further increment IPC by 7-10%.

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

↑