[Paper Review] RowClone: Accelerating Data Movement and Initialization Using DRAM
RowClone proposes a low-cost, in-DRAM mechanism to accelerate bulk data copy and initialization by exploiting DRAM's internal architecture. Using Fast Parallel Mode (back-to-back activate commands within the same subarray) and Pipelined Serial Mode (inter-bank data transfer via shared bus), RowClone reduces latency and energy by up to two orders of magnitude compared to conventional CPU-driven transfers.
In existing systems, to perform any bulk data movement operation (copy or initialization), the data has to first be read into the on-chip processor, all the way into the L1 cache, and the result of the operation must be written back to main memory. This is despite the fact that these operations do not involve any actual computation. RowClone exploits the organization and operation of commodity DRAM to perform these operations completely inside DRAM using two mechanisms. The first mechanism, Fast Parallel Mode, copies data between two rows inside the same DRAM subarray by issuing back-to-back activate commands to the source and the destination row. The second mechanism, Pipelined Serial Mode, transfers cache lines between two banks using the shared internal bus. RowClone significantly reduces the raw latency and energy consumption of bulk data copy and initialization. This reduction directly translates to improvement in performance and energy efficiency of systems running copy or initialization-intensive workloads
Motivation & Objective
- Address the growing performance and energy bottleneck caused by memory bandwidth limitations in modern systems.
- Reduce the high latency and energy cost of bulk data movement operations—specifically copy and initialization—by offloading them from the CPU to DRAM.
- Enable significant performance and energy efficiency improvements without requiring changes to the DRAM cell array.
- Demonstrate that commodity DRAM's internal organization can be leveraged for efficient in-memory data movement.
- Inspire future research into in-memory computation and data movement optimization for emerging memory technologies.
Proposed method
- Leverages Fast Parallel Mode (FPM) to copy data between two rows in the same DRAM subarray using two back-to-back ACTIVATE commands.
- Employs Pipelined Serial Mode (PSM) to transfer data between rows in different banks using the shared internal DRAM bus.
- Uses existing DRAM peripheral logic with minimal modifications to support back-to-back ACTIVATEs for FPM and pipelined access for PSM.
- Performs bulk data copy and initialization entirely within DRAM, eliminating the need for CPU and memory bus involvement.
- Exploits row buffer and subarray architecture to achieve high internal bandwidth for data movement operations.
- Relies on commodity DRAM's existing command interface and timing constraints to implement low-overhead in-DRAM operations.
Experimental results
Research questions
- RQ1Can bulk data copy and initialization operations be accelerated by performing them entirely within DRAM instead of relying on the CPU and memory bus?
- RQ2What mechanisms can exploit the internal structure of DRAM to enable high-bandwidth, low-latency data movement without modifying the DRAM cell array?
- RQ3How much performance and energy improvement can be achieved by offloading bulk data movement to DRAM using minimal hardware changes?
- RQ4Can the principles of RowClone be extended to other memory technologies such as PCM, STT-MRAM, or NAND flash?
- RQ5What broader class of memory-intensive operations can be similarly accelerated through in-memory execution?
Key findings
- RowClone reduces the latency of bulk data copy and initialization by up to two orders of magnitude compared to traditional CPU-driven methods.
- Energy consumption for bulk data movement is reduced by up to 90% due to elimination of high-speed bus transfers.
- Fast Parallel Mode enables data copying between rows in the same subarray with minimal overhead using only back-to-back ACTIVATE commands.
- Pipelined Serial Mode enables efficient inter-bank data transfer by leveraging the shared internal DRAM bus, reducing contention and latency.
- RowClone's mechanisms are compatible with commodity DRAM and require only minor modifications to peripheral control logic.
- The technique has inspired follow-up research on in-DRAM bitwise operations, Boolean algebra, and arithmetic, demonstrating broader applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.