Sunday 02 March 2025
The Compute Express Link (CXL) has been touted as a game-changer for memory expansion, allowing devices like solid-state drives (SSDs) to be integrated into memory systems. But despite its potential, CXL-based SSDs have faced challenges in terms of latency and bandwidth. A new simulator, dubbed CXL-SSD-Sim, aims to address these issues by providing a comprehensive platform for researchers to test and optimize CXL-based SSDs.
The problem with current CXL-based SSDs is that they often struggle with high access latencies due to the distance between the CPU and the storage device. This can lead to significant delays in data transfer, making it difficult to achieve optimal performance. To mitigate this issue, CXL-SSD-Sim introduces a DRAM cache layer, which acts as a buffer between the CPU and the SSD. By caching frequently accessed data, the simulator reduces the need for the CPU to access the slower SSD directly, resulting in lower latencies and improved overall performance.
But that’s not all – CXL-SSD-Sim also includes a range of caching strategies, each designed to optimize performance under different scenarios. These strategies can be used to adapt to changing workloads, allowing researchers to fine-tune their simulations for specific use cases. For example, the LRU (Least Recently Used) strategy is particularly effective in scenarios where data access patterns are consistent, while the 2Q (Two Queues) strategy performs better in situations where data access is more random.
The simulator’s architecture is based on gem5, a widely used full-system simulator that provides a comprehensive platform for testing and optimizing computer systems. By leveraging this existing infrastructure, CXL-SSD-Sim can simulate complex system-level scenarios, including multiple CPU cores, memory controllers, and storage devices. This allows researchers to test and optimize their CXL-based SSDs in realistic environments, without the need for expensive hardware prototypes.
But what does this mean for the average user? For one, it means that future generations of CXL-based SSDs may be able to provide even faster performance and lower latency than current devices. It also means that researchers will have a powerful tool at their disposal, allowing them to explore new use cases and optimize their simulations for specific applications.
In terms of practical implications, the CXL-SSD-Sim simulator has already been used to evaluate the performance of various caching strategies and system configurations.
Cite this article: “Optimizing Compute Express Link (CXL)-Based SSDs with CXL-SSD-Sim Simulator”, The Science Archive, 2025.
Compute Express Link, Cxl-Based Ssds, Latency, Bandwidth, Dram Cache Layer, Caching Strategies, Lru, Two Queues, Gem5, Full-System Simulator, System-Level Scenarios.







