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:
- 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
ACTIVATEcommands. 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. - 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.
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.
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