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

基于FPGA的仿真与设备侧管理:面向CXL内存分层系统

FPGA-based Emulation and Device-Side Management for CXL-based Memory Tiering Systems

School of Computer Science, Peking University(北京大学计算机学院)

Yiqi Chen, Xiping Dong, Zhe Zhou, Zhao Wang, Jie Zhang, Guangyu Sun

AI总结:

针对CXL异构内存分层系统在评估与硬件管理上的挑战,本文提出基于FPGA的仿真平台HeteroBox及设备侧硬件管理方案HeteroMem,实现对CPU透明的数据迁移,性能提升5.1%至16.2%。

摘要:

Compute Express Link (CXL) 技术通过可字节寻址的 SerDes 链路和级联交换机扩展 CPU 内存,构建了复杂的异构内存系统,其中 CPU 访问不同端点的延迟和带宽各不相同。有效的分层内存管理对于优化此类系统的性能至关重要。然而,为 CXL 扩展的异构内存设计有效的内存分层系统面临挑战:1) 现有的评估方法(如基于 NUMA 的仿真和 GEM5 等全系统模拟器)在评估基于硬件的分层内存管理解决方案及大规模处理真实工作负载方面存在局限。2) 以往的内存分层系统难以同时实现高分辨率、低开销、高灵活性与兼容性。本研究首先提出了 HeteroBox,这是一个可配置的仿真平台,利用真实的支持 CXL 的 FPGA 来仿真各种 CXL 内存架构的性能。HeteroBox 允许配置包含多个区域的内存空间,每个区域表现出不同的 CPU 访问延迟和带宽。HeteroBox 有助于高效、高保真地评估软件管理和硬件管理的内存分层系统的性能。基于 HeteroBox,我们进一步提出了 HeteroMem,一种在设备侧运行的硬件管理内存分层系统。HeteroMem 在 CPU 和设备内存之间创建抽象层,有效监控数据使用情况并将数据迁移到更快的内存层,从而对 CPU 隐藏设备侧的异构性。真实应用评估表明,HeteroMem 在保持异构内存管理对 CPU 完全透明的同时提供了高性能,相比现有内存分层解决方案实现了 5.1% 到 16.2% 的性能提升。

英文摘要:

The Compute Express Link (CXL) technology facilitates the extension of CPU memory through byte-addressable SerDes links and cascaded switches, creating complex heterogeneous memory systems where CPU access to various endpoints differs in latency and bandwidth. Effective tiered memory management is essential for optimizing system performance in such systems. However, designing an effective memory tiering system for CXL-extended heterogeneous memory faces challenges: 1) Existing evaluation methods, such as NUMA-based emulation and full-system simulations like GEM5, are limited in assessing hardware-based tiered memory management solutions and handling real-world workloads at scale. 2) Previous memory tiering systems struggle to simultaneously achieve high resolution, low overhead, and high flexibility and compatibility. In this study, we first introduce HeteroBox, a configurable emulation platform that leverages real CXL-enabled FPGAs to emulate the performance of various CXL memory architectures. HeteroBox allows one to configure a memory space with multiple regions, each exhibiting distinct CPU-access latency and bandwidth. HeteroBox helps assess the performance of both software-managed and hardware-managed memory tiering systems with high efficiency and fidelity. Based on HeteroBox, we further propose HeteroMem, a hardware-managed memory tiering system that operates on the device side. HeteroMem creates an abstraction layer between the CPU and device memory, effectively monitoring data usage and migrating data to faster memory tiers, thus hiding device-side heterogeneity from the CPU. Evaluations with real-world applications show that HeteroMem delivers high performance while keeping heterogeneous memory management fully transparent to the CPU, achieving a 5.1\% to 16.2\% performance improvement over existing memory tiering solutions.

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

↑