DRackSim: Simulator for Rack-scale Memory Disaggregation

Amit Puri, John Jose, Tamarapalli Venkatesh, Vijaykrishnan Narayanan · DOI

Abstract

Memory disaggregation is a promising architectural shift for modern data centers, aiming to eliminate "memory stranding" and improve resource utilization. However, evaluating hardware-level disaggregation at rack scale requires specialized tools that balance simulation speed with architectural accuracy. This paper presents DRackSim, a flexible simulation framework that supports both fast trace-based and detailed cycle-level modeling of disaggregated memory systems. DRackSim enables researchers to study interconnect contention, memory management policies, and the performance impact of cache-block-level remote memory access in emerging technologies like CXL and GenZ.

Introduction

In contemporary data center environments, memory often represents the most significant capital expenditure and remains frequently underutilized. Traditional server-centric architectures lead to memory stranding, where unused RAM in one server cannot be accessed by a neighboring server that has exhausted its local capacity. Memory disaggregation addresses this by pooling memory into a separate, network-accessible resource.

While software-based disaggregation via RDMA exists, its page-level granularity often incurs high latency overheads. Hardware-level disaggregation, operating at the cache-block level, offers significantly lower latency but lacks scalable simulation tools. DRackSim fills this gap by providing a multi-node simulation environment capable of modeling dozens of compute nodes and memory pools over a rack-scale interconnect.

System Architecture and Methodology

DRackSim employs a two-phase simulation infrastructure to balance the trade-off between simulation throughput and cycle-level detail.

The two-phase simulation flow of DRackSim, showing the Front-End instrumentation and Back-End multi-node simulation engine.

Simulation Phases

  1. Front-End (Instrumentation): Utilizing Intel’s PIN tool, DRackSim captures instruction streams or memory traces from real-world applications. This allows for application analysis independent of the host OS.
  2. Back-End (Multi-Node Simulation): A multi-threaded engine simulates the rack-scale environment. It supports a fast trace-based mode for long-running workloads and a detailed cycle-level mode that models an out-of-order x86 pipeline.

Architectural Components

The framework models the intricate interactions between compute nodes and the disaggregated memory pool through several specialized components.

Detailed architecture of DRackSim components, including compute nodes with local memory and remote memory controllers, the interconnect, and memory nodes.
  • Compute Nodes: Each node includes an out-of-order x86 pipeline model, a multi-level cache hierarchy, and a Remote Memory Controller (RMC) for handling off-node requests.
  • Global Memory Manager: A centralized component manages address translation and allocation across the disaggregated pool.
  • Interconnect Model: A queue-based crossbar switch simulation accounts for packetization, transmission, and propagation delays, mimicking the behavior of CXL or GenZ.
  • DRAM Simulation: Integration with DRAMSim2 ensures cycle-accurate DDR4 timing for both local and remote memory accesses.

Evaluation and Key Insights

The researchers validated DRackSim against gem5, achieving a mean absolute error of approximately 15% in IPC and within 3-11% for LLC miss predictions—a standard margin for high-level architectural simulators. The framework was tested using a diverse suite of workloads, including SPLASH-3, Rodinia, NASA Parallel Benchmarks, and various HPC mini-apps.

Key Findings

  • Granularity Matters: Hardware-level (64B block) access significantly outperforms software-level (4KB page) access by reducing network stalls and TLB shootdowns.
  • Interconnect Bottlenecks: At rack scale, network switch contention becomes a primary performance limiter. Multiple nodes competing for the same memory pool can lead to significant tail latency spikes.
  • Hybrid Memory Benefits: Maintaining a small portion of local memory (20-40% of the footprint) can effectively hide remote access penalties, provided the memory manager prioritizes "hot" data for local placement.
  • Scalability: Increasing the number of memory pools can improve performance by up to 25% by mitigating network contention, even without increasing total capacity.

Conclusion and Future Work

DRackSim provides a vital tool for exploring the design space of rack-scale disaggregated memory. By bridging the gap between single-node architectural simulators and high-level network models, it allows for the evaluation of hardware-level disaggregation before large-scale deployment. Future development will focus on modeling cache coherence across shared memory pools and supporting emerging technologies like DDR5, HBM, and disaggregated accelerators (GPUs/FPGAs).

Summary updated

BibTeX
@inproceedings{puri2024dracksim,
  author = {Amit Puri and John Jose and Tamarapalli Venkatesh and Vijaykrishnan Narayanan},
  title = {{DRackSim: Simulator for Rack-scale Memory Disaggregation}},
  booktitle = {SIGSIM-PADS},
  year = {2024},
  url = {https://openreview.net/forum?id=X8LUxfiyig},
}
Figure