基於快閃記憶體之 CXL 固態硬碟的記憶體存取延遲最佳化設計
Optimizing Memory Reference Latency for Flash-Based CXL SSDs
摘要
Emerging memory-intensive applications demand substantial memory resources. The conventional memory system architecture often leads to suboptimal memory utilization rates, with significant portions of memory resources left idle, leading to high Total Cost of Ownership (TCO) for cloud service providers. The advent of Compute Express Link (CXL) technology presents a promising solution through memory disaggregation, offering scalable, flexible, and cost-effective memory resource management. Among CXL memory devices, CXL SSDs provide superior data density and higher throughput, making them promising candidates for memory pools. This paper proposes an efficient prefetching design for NAND-flash-based CXL SSDs to minimize read latency. The proposed Evict Correlation Prefetch policy leverages data correlations in memory-intensive workloads to predict and prefetch data accurately, thereby improving read latency by up to 20\% compared to existing methods. Additionally, a dynamic cache partition adjustment mechanism is introduced to enhance Quality of Service (QoS) under concurrent workloads. Experimental results demonstrate the efficacy of the proposed methods in optimizing performance and reducing latency in realistic memory-intensive applications.
新興的記憶體密集型應用程式需要大量的記憶體資源,傳統的記憶體系統架構常導致記憶體使用率不佳,大量的記憶體資源處於閒置狀態,造成記憶體資源浪費,從而導致雲端服務提供商的總體擁有成本(TCO)過高。CXL技術的出現,並藉由記憶體解耦提供了一個良好的解決方案,透過此方法可以提供了可擴展、靈活且具有成本效益的記憶體資源管理。在CXL記憶體裝置中,CXL 固態硬碟提供了更高的資料密度和更高的吞吐量,使其成為記憶體池的有力候選者。本研究提出了一種針對基於NAND快閃記憶體的CXL SSD的高效預取設計,來優化讀取延遲。本研究所提出的逐出相關(Evict Correlation)預取策略利用了資料相關性,在記憶體密集型工作負載中能準確預測並預取資料,相較於現有方法,能將讀取延遲改善多達20\%。此外,在本研究還設計了一種動態緩衝區分區調整機制,以在並發工作負載下提高服務品質(QoS)。實驗結果證明了所提出的方法在現實記憶體密集型應用中,能優化記憶體延遲方面並改善服務品質(QoS)。