arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.17864cs.ARcs.ET
收藏

CXL 分层内存的架构与系统影响

Architectural and System Implications of CXL-enabled Tiered Memory

Yujie Yang, Lingfeng Xiang, Peiran Du, Zhen Lin, Weishu Deng, Ren Wang, Andrey Kudryavtsev, Louis Ko, Hui Lu, Jia Rao

AI总结:

针对CXL分层内存的延迟和性能异构问题,提出动态内存请求控制机制MIKU,优先DDR请求并尽力服务CXL请求,实验表明可显著提升系统效率。

摘要:

内存分解是一种新兴技术,它将内存从传统内存总线中解耦,使得计算和内存能够独立扩展。Compute Express Link(CXL)是一种开放标准互连技术,通过允许处理器通过 PCIe 总线访问远程内存,同时保持共享内存编程模型,从而促进内存分解。这一创新创造了一种结合本地 DDR 和远程 CXL 内存的分层内存架构,具有不同的性能特征。在本文中,我们研究了 CXL 内存的架构影响,重点关注其增加的延迟和性能异构性,这可能削弱现有针对(相对)统一内存延迟优化的处理器设计的效率。通过精心设计的微基准测试,我们识别了诸如 CXL 内存中硬件级并行性有限、内存请求处理中的不公平排队及其对 DDR 内存性能和核间同步的影响等瓶颈。我们的发现表明,在重负载下,内存层并行性的差异可将 DDR 内存带宽降低高达 81%。为了解决这些挑战,我们提出了一种动态内存请求控制机制 MIKU,它优先处理 DDR 内存请求,同时以尽力而为的方式服务 CXL 内存请求。通过基于服务时间估计动态调整 CXL 请求速率,MIKU 在保持 CXL 内存高性能的同时,实现了接近峰值的 DDR 吞吐量。我们使用微基准测试和代表性工作负载进行的评估展示了 MIKU 在提升分层内存系统效率方面的潜力。

英文摘要:

Memory disaggregation is an emerging technology that decouples memory from traditional memory buses, enabling independent scaling of compute and memory. Compute Express Link (CXL), an open-standard interconnect technology, facilitates memory disaggregation by allowing processors to access remote memory through the PCIe bus while preserving the shared-memory programming model. This innovation creates a tiered memory architecture combining local DDR and remote CXL memory with distinct performance characteristics. In this paper, we investigate the architectural implications of CXL memory, focusing on its increased latency and performance heterogeneity, which can undermine the efficiency of existing processor designs optimized for (relatively) uniform memory latency. Using carefully designed micro-benchmarks, we identify bottlenecks such as limited hardware-level parallelism in CXL memory, unfair queuing in memory request handling, and its impact on DDR memory performance and inter-core synchronization. Our findings reveal that the disparity in memory tier parallelism can reduce DDR memory bandwidth by up to 81% under heavy loads. To address these challenges, we propose a Dynamic Memory Request Control mechanism, MIKU, that prioritizes DDR memory requests while serving CXL memory requests on a best-effort basis. By dynamically adjusting CXL request rates based on service time estimates, MIKU achieves near-peak DDR throughput while maintaining high performance for CXL memory. Our evaluation with micro-benchmarks and representative workloads demonstrates the potential of MIKU to enhance tiered memory system efficiency.

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

↑