DRAM latency remains a significant bottleneck in modern computing systems despite advancements in CPU performance and memory capacity. This paper introduces ChargeCache, a low-cost memory controller mechanism that exploits the physical property of DRAM cells where recently accessed rows retain more charge. By tracking these "highly-charged" rows and applying faster timing parameters, ChargeCache achieves significant performance improvements and energy savings without requiring modifications to standard DRAM chips.
The Problem: Stagnant DRAM Latency
While CPU speeds and DRAM capacities have scaled dramatically, DRAM access latency has remained stubbornly stagnant. Commodity DRAM is optimized for cost-per-bit density, utilizing long bitlines that introduce high resistance and capacitance, inherently slowing data access. While caches and prefetching mitigate this, they do not address the root cause. Specialized low-latency DRAM exists but is cost-prohibitive for general-purpose use. ChargeCache addresses this by reducing latency in standard DRAM with minimal hardware overhead.
The ChargeCache Mechanism
ChargeCache is built on two primary observations:
- Charge Variation: DRAM cells lose charge over time due to leakage but are replenished during access or refresh. Highly-charged cells can be sensed faster than partially-charged ones.
- Row-Level Temporal Locality (RLTL): In multi-core systems, bank conflicts often cause a row to be closed (precharged) and immediately reopened. Many activations thus occur while cells are still highly charged.
The core of the mechanism is the Highly-Charged Row Address Cache (HCRAC), a small table added to the memory controller.
When a row is precharged, its address is stored in the HCRAC. Upon a subsequent activation command, the controller checks the HCRAC. A "hit" indicates the row is highly charged, allowing the use of reduced timing parameters ($t_{RCD}$ and $t_{RAS}$). Entries are invalidated after a set duration (e.g., 1ms) to ensure the row hasn't leaked too much charge for the fast-path.
Key Insights
ChargeCache leverages physics-aware scheduling. The memory controller makes performance decisions based on the physical state (charge level) of DRAM cells without explicit communication from the DRAM chip. It effectively turns a common performance detriment—bank conflicts—into an advantage by exploiting the temporal locality they create. Crucially, it requires zero modifications to existing DRAM hardware, making it compatible with current commodity chips.
Evaluation and Results
The researchers evaluated ChargeCache using SPICE simulations for circuit-level timing and the Ramulator simulator for system-level performance across 22 benchmarks, including SPEC CPU2006, TPC, and STREAM.
Performance and Latency
SPICE simulations demonstrated that for highly-charged rows, $t_{RCD}$ (row-to-column delay) can be reduced by 44% (from 11ns to 6.5ns) and $t_{RAS}$ by 34%.
System-level results showed:
- 8-Core Systems: Average speedup of 8.6% (up to 11.3%).
- Single-Core Systems: Average speedup of 2.1% (up to 9.3%).
Efficiency and Overhead
ChargeCache reduced DRAM energy consumption by an average of 7.9% in 8-core systems, primarily due to reduced execution time. The hardware overhead is minimal; the HCRAC table is approximately 672 bytes per core, representing only 0.24% of the area of a standard 4MB Last-Level Cache (LLC).
Conclusion
ChargeCache provides a practical, low-cost path to reducing DRAM latency by exploiting existing row-level temporal locality. Future directions include developing reuse-aware cache management policies and exploring temperature-aware dynamic caching durations, as leakage rates are highly temperature-dependent.
Summary updated