Search papers, labs, and topics across Lattice.
CXLRAMSim is introduced as a novel full-system simulator integrated with gem5, designed for high-fidelity modeling of CXL-based memory expansion in LLM-driven scale-up systems. Unlike existing tools, CXLRAMSim models CXL devices accurately on the I/O bus, enabling the use of unmodified Linux kernels and realistic latency-bandwidth behavior. This allows for detailed characterization of CXL.mem and the identification of challenges like cache pollution during CXL memory access.
Finally, a simulator that lets you realistically model CXL memory expansion for LLMs, capturing nuances like cache pollution that simpler models miss.
The growing demands in the training and inference of Large Language Models (LLMs) are accelerating the adoption of scale-up systems that extend server shared memory through the use of Compute Express Link (CXL)-based load/store interconnects. Accurate full-system simulation of such architectures remains challenging, as existing tools (all very recent) rely on simplified or non-compliant architectural models, impacting accuracy and usability. We present CXLRAMSim, the first gem5-integrated, full-system simulator that models CXL devices at their correct position on the I/O bus, enabling the use of unmodified Linux kernels and software stack, realistic latency-bandwidth behavior and true interleaving with system DRAM. Our approach provides high-fidelity CXL.mem characterization and captures key challenges such as cache pollution when accessing CXL memory.