Decoupled Direct Memory Access: Isolating CPU and IO Traffic by Leveraging a Dual-Data-Port DRAM
Authors:
- Donghyuk LeeDLDonghyuk Lee
- Lavanya SubramanianLSLavanya Subramanian
- Rachata AusavarungnirunRARachata Ausavarungnirun
- Jongmoo ChoiJCJongmoo Choi
- Onur MutluOMOnur Mutlu
- 1 October 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 1089795X,p. 174-187
Abstract
Memory channel contention is a critical performance bottleneck in modern systems that have highly parallelized processing units operating on large data sets. The memory channel is contended not only by requests from different user applications (CPU access) but also by system requests for peripheral data (IO access), usually controlled by Direct Memory Access (DMA) engines. Our goal, in this work, is to improve system performance byeliminating memory channel contention between CPU accesses and IO accesses. To this end, we propose a hardware-software cooperative data transfer mechanism, Decoupled DMA (DDMA) that provides a specialized low-cost memory channel for IO accesses. In our DDMA design, main memoryhas two independent data channels, of which one is connected to the processor (CPU channel) and the other to the IO devices (IO channel), enabling CPU and IO accesses to be served on different channels. Systemsoftware or the compiler identifies which requests should be handled on the IO channel and communicates this to the DDMA engine, which then initiates the transfers on the IO channel. By doing so, our proposal increasesthe effective memory channel bandwidth, thereby either accelerating data transfers between system components, or providing opportunities to employ IO performance enhancement techniques (e.g., aggressive IO prefetching)without interfering with CPU accessesWe demonstrate the effectiveness of our DDMA framework in two scenarios: (i) CPU-GPU communication and (ii) in-memory communication (bulk datacopy/initialization within the main memory). By effectively decoupling accesses for CPU-GPU communication and in-memory communication from CPU accesses, our DDMA-based design achieves significant performanceimprovement across a wide variety of system configurations (e.g., 20% average performance improvement on a typical 2-channel 2-rank memory system).Keywords
This publication has 48 references indexed in Scilit:
- Page overlays2015
- Ramulator: A Fast and Extensible DRAM SimulatorIEEE Computer Architecture Letters, 2015
- Going vertical in memory managementACM SIGARCH Computer Architecture News, 2014
- MISE: Providing performance predictability and improving fairness in shared main memory systems2013
- RAIDRACM SIGARCH Computer Architecture News, 2012
- Reducing memory interference in multicore systems via application-aware memory channel partitioning2011
- Self-Optimizing Memory ControllersACM SIGARCH Computer Architecture News, 2008
- Parallelism-Aware Batch SchedulingACM SIGARCH Computer Architecture News, 2008
- Microarchitecture Optimizations for Exploiting Memory-Level ParallelismACM SIGARCH Computer Architecture News, 2004
- The AMD opteron processor for multiprocessor serversIEEE Micro, 2003