Sorry, you need to enable JavaScript to visit this website.

Cylon: Fast and Accurate Full-System Emulation of CXL-SSDs

San Tomas + Lawrence

Mon Sep 28 | 2:10pm

Abstract

CXL-SSDs promise to collapse the boundary between memory and storage by attaching SSDs behind CXL.mem, with a small DRAM cache serving sub-microsecond hits and NAND providing terabyte-scale capacity at tens-of-microseconds miss latency. Yet the tools to evaluate them have not kept up. Commercial prototypes such as Samsung's CMM-H are largely opaque, with firmware-controlled cache management and no policy knobs. FPGA platforms abstract away NAND behavior. Trace-driven and cycle-accurate simulators are orders of magnitude too slow to run real workloads. QEMU's upstream CXL support inflates every access to roughly 15 μs through MMIO and VM-exits, misrepresenting the sub-µs hit path that defines a CXL-SSD.

We present Cylon, to our knowledge, the first full-system emulator that combines speed, fidelity, and extensibility for CXL-SSD research. Built on FEMU, Cylon introduces a hybrid execution path: Dynamic EPT Remapping eliminates VM-exit overhead on cache hits so loads and stores complete with hit-path latency bounded by remote-NUMA access, while misses are trapped into FEMU for faithful NAND timing modeling. Shared EPT Memory removes the syscall and page-walk overhead of cache residency updates, reducing miss-path latency from 23 μs to 16 μs. On top of these mechanisms, Cylon provides a pluggable caching framework, including FIFO, LIFO, CLOCK, S3FIFO eviction, and next-line prefetching, and an application-level hint API for hardware-software co-design.

We validate Cylon against a Samsung CMM-H prototype across microbenchmarks, Redis, and the GAP Benchmark Suite. Cylon captures the qualitative bimodal latency behavior and bandwidth-cliff characteristics of real hardware, runs unmodified operating systems and applications at near bare-metal speed, and provides an idealized baseline that isolates cache-policy effects from prototype-specific artifacts.

The talk will cover (1) why faithful CXL-SSD emulation is harder than it looks, the latency floor QEMU-CXL hits and why; (2) the KVM/EPT mechanisms behind Cylon's hybrid path; (3) what eviction and prefetching policy sweeps reveal about cache management under realistic workloads; and (4) the design space Cylon opens up beyond CMM-H for next-generation CXL-storage architectures.