CXL-DMSim:一个全面的CXL解耦内存模拟器与综合硅验证
CXL-DMSim: A Full-System CXL Disaggregated Memory Simulator With Comprehensive Silicon Validation
AI总结:
CXL-DMSim是一个开源的全系统模拟器,用于高保真模拟CXL解耦内存系统,通过综合硅验证验证其在内存密集型应用中的性能提升。
摘要:
计算高速链接(CXL)已成为未来异构计算系统中内存解耦的关键使能器,用于按需扩展内存并提高资源利用率。然而,CXL仍处于初级阶段,市场上缺乏商用产品,因此需要一个可靠的系统级模拟工具进行研究和开发。在本文中,我们提出了CXL-DMSim,一个开源的全系统模拟器,能够以与gem5相当的模拟速度高保真地模拟CXL解耦内存系统。CXL-DMSim集成了灵活的CXL内存扩展器模型及其相关设备驱动程序,并支持CXL协议中的CXL.io和CXL.mem。该模拟器可以以应用程序管理模式和内核管理模式运行,后者使用专用的NUMA兼容机制。该模拟器已严格验证过真实硬件测试平台,使用基于FPGA和ASIC的CXL内存设备,这证明了CXL-DMSim在模拟各种CXL内存设备特性方面的资格,其平均模拟误差为3.4%。使用LMbench和STREAM基准测试的实验结果表明,CXL-FPGA内存的延迟比本地DDR高约2.88倍,而CXL-ASIC的延迟约为2.18倍;CXL-FPGA实现了本地DDR内存带宽的45-69%,而CXL-ASIC的数值为82-83%。此外,该研究还揭示了CXL内存可以显著提升内存密集型应用的性能,最多在本地内存有限的情况下,Viper键值数据库的性能提升了23倍,在内存带宽敏感的场景如MERCI中提高了约60%。此外,模拟器的可观测性和可扩展性通过详细的案例研究展示出来,突显了其在研究未来CXL互联混合内存池方面的巨大潜力。
英文摘要:
Compute eXpress Link (CXL) has emerged as a key enabler of memory disaggregation for future heterogeneous computing systems to expand memory on-demand and improve resource utilization. However, CXL is still in its infancy stage and lacks commodity products on the market, thus necessitating a reliable system-level simulation tool for research and development. In this paper, we propose CXL-DMSim, an open-source full-system simulator to simulate CXL disaggregated memory systems with high fidelity at a gem5-comparable simulation speed. CXL-DMSim incorporates a flexible CXL memory expander model along with its associated device driver, and CXL protocol support with CXL.io and CXL.mem. It can operate in both app-managed mode and kernel-managed mode, with the latter using a dedicated NUMA-compatible mechanism. The simulator has been rigorously verified against a real hardware testbed with both FPGAand ASIC-based CXL memory devices, which demonstrates the qualification of CXL-DMSim in simulating the characteristics of various CXL memory devices at an average simulation error of 3.4%. The experimental results using LMbench and STREAM benchmarks suggest that the CXL-FPGA memory exhibits a ~2.88x higher latency than local DDR while the CXL-ASIC latency is ~2.18x; CXL-FPGA achieves 45-69% of local DDR memory bandwidth, whereas the number for CXLASIC is 82-83%. The study also reveals that CXL memory can significantly enhance the performance of memory-intensive applications, improved by 23x at most with limited local memory for Viper key-value database and approximately 60% in memorybandwidth-sensitive scenarios such as MERCI. Moreover, the simulator's observability and expandability are showcased with detailed case-studies, highlighting its great potential for research on future CXL-interconnected hybrid memory pool.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。