ICGMM:利用高斯混合模型实现智能缓存的 CXL 内存扩展
ICGMM: CXL-enabled Memory Expansion with Intelligent Caching Using Gaussian Mixture Model
AI总结:
本文提出 ICGMM,利用高斯混合模型在 FPGA 硬件上直接优化 CXL 内存扩展中的缓存与逐出策略,相比 LRU 和 LSTM 方法显著降低缓存未命中率与访问延迟,且硬件资源开销更少。
摘要:
Compute Express Link(CXL)作为一种解决方案应运而生,用于弥合主机与多个设备之间计算速度与数据通信速率之间的巨大差距。它在主机与 CXL 存储设备(例如用于内存扩展的固态硬盘 SSD)之间构建了一个统一且一致的内存空间,并以相应的 DRAM 作为设备缓存。然而,这带来了一些挑战,例如显著的缓存未命中惩罚、由于 DRAM“缓存”与 SSD“内存”之间的数据访问粒度不匹配而导致的次优缓存,以及低效的硬件缓存管理。为了解决这些问题,我们提出了一种名为 ICGMM 的新颖解决方案,该方案直接在硬件上优化缓存和逐出策略,采用基于高斯混合模型(GMM)的方法。我们在 FPGA 板上对解决方案进行了原型验证,与经典的最近最少使用(LRU)缓存策略相比,展示了显著的改进。我们观察到缓存未命中率下降了 0.32% 至 6.14%,从而使平均 SSD 访问延迟大幅降低了 16.23% 至 39.14%。此外,与最先进的基于长短期记忆(LSTM)的缓存策略相比,我们在 FPGA 上的 GMM 算法展现出超过 10,000 倍的延迟降低。值得注意的是,这一成果是在所需硬件资源少得多的情况下实现的。
英文摘要:
Compute Express Link (CXL) emerges as a solution for wide gap between computational speed and data communication rates among host and multiple devices. It fosters a unified and coherent memory space between host and CXL storage devices such as such as Solid-state drive (SSD) for memory expansion, with a corresponding DRAM implemented as the device cache. However, this introduces challenges such as substantial cache miss penalties, sub-optimal caching due to data access granularity mismatch between the DRAM "cache" and SSD "memory", and inefficient hardware cache management. To address these issues, we propose a novel solution, named ICGMM, which optimizes caching and eviction directly on hardware, employing a Gaussian Mixture Model (GMM)-based approach. We prototype our solution on an FPGA board, which demonstrates a noteworthy improvement compared to the classic Least Recently Used (LRU) cache strategy. We observe a decrease in the cache miss rate ranging from 0.32% to 6.14%, leading to a substantial 16.23% to 39.14% reduction in the average SSD access latency. Furthermore, when compared to the state-of-the-art Long Short-Term Memory (LSTM)-based cache policies, our GMM algorithm on FPGA showcases an impressive latency reduction of over 10,000 times. Remarkably, this is achieved while demanding much fewer hardware resources.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。