NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

RowClone: Accelerating Data Movement and Initialization Using DRAM

Vivek Seshadri, Yoongu Kim, Chris Fallin, Donghyuk Lee, Rachata Ausavarungnirun, Gennady Pekhimenko, Yixin Luo, Onur Mutlu, Phillip B. Gibbons, Michael A. Kozuch, Todd C. MowryarXiv 2018

Modern computing systems are increasingly bottlenecked by the cost of moving data between the processor and memory. This paper presents RowClone, a mechanism that performs bulk data movement and initialization entirely within DRAM, bypassing the energy-intensive and congested memory bus.

The Data Movement Bottleneck

In traditional architectures, simple operations like copying a memory page (e.g., during a fork() system call) or zeroing out memory for a new process require data to travel from DRAM, across the memory bus, into the CPU's cache, and back again. This "long-distance" travel wastes CPU cycles, pollutes caches, and consumes significant energy—up to 42% of memory system energy is spent simply driving the bus. As core counts increase, this bottleneck becomes more severe, as multiple cores compete for limited bus bandwidth.

RowClone Mechanisms

RowClone introduces two primary modes to handle data movement internally, leveraging the existing structure of DRAM chips:

  1. Fast Parallel Mode (FPM): This mode operates when the source and destination rows reside within the same subarray. It leverages the subarray's row buffer to copy data by issuing two consecutive ACTIVATE commands. The first loads the source row into the buffer, and the second drives that data into the destination row. This requires minimal hardware changes—just a small tweak to the peripheral logic.
  2. Pipelined Serial Mode (PSM): For movement between different banks, RowClone utilizes the internal shared data bus of the DRAM chip, pipelining the transfer to avoid the external memory bus entirely.
Internal DRAM architecture showing banks, subarrays, and row buffers.

System Integration and RowClone-ZI

To expose these capabilities to software, the authors propose new ISA instructions (memcopy, meminit) and a topology-aware operating system that prioritizes intra-subarray allocations to maximize the use of FPM. Furthermore, RowClone-ZI addresses cache coherence, ensuring that the DRAM-based copy does not use stale data if the CPU has modified the source in its local cache.

Key Results

Evaluation using cycle-accurate simulation demonstrates that RowClone provides transformative improvements in both performance and efficiency.

Latency and energy improvements of RowClone mechanisms compared to baseline.

As shown in the table above, the Fast Parallel Mode (FPM) reduces the latency of a 4KB copy by 11.6x and energy consumption by 74.4x. Bulk zeroing, treated as a copy from a reserved "zero row," sees a 6x latency reduction and a 41.5x energy reduction. At the system level, these micro-benchmarks translate to an IPC improvement of up to 43% for single-core workloads and an average 20% speedup for multi-core configurations.

Conclusion and Future Work

RowClone requires minimal hardware changes (approximately 0.2% area overhead) but offers substantial gains by treating DRAM as more than a passive storage medium. While limited by subarray constraints and the need for industry-wide DDR standard updates, this work paved the way for "In-Memory Computing," leading to subsequent research into performing bitwise logic directly within memory.

Summary updated

BibTeX
@misc{seshadri2018rowclone,
  author = {Vivek Seshadri and Yoongu Kim and Chris Fallin and Donghyuk Lee and Rachata Ausavarungnirun and Gennady Pekhimenko and Yixin Luo and Onur Mutlu and Phillip B. Gibbons and Michael A. Kozuch and Todd C. Mowry},
  title = {{RowClone: Accelerating Data Movement and Initialization Using DRAM}},
  year = {2018},
  eprint = {1805.03502},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1805.03502},
}
Figure