TL;DR
This paper introduces the Hard Error Recover (HER) cache, a novel L1 data cache design that combines SRAM and eDRAM technologies to achieve 100% fault coverage for hard errors in low-power modes. By leveraging eDRAM replicas, the HER cache significantly reduces leakage and dynamic energy consumption while maintaining performance, addressing a critical challenge for future nanoscale processors.
What Problem Does This Paper Address?
Modern microprocessors are increasingly relying on low-power modes, achieved by reducing voltage and frequency, to save energy. However, this aggressive scaling, coupled with manufacturing variations, makes SRAM cells unreliable at low voltages, leading to hard errors. Existing fault-tolerant cache designs struggle to provide adequate fault coverage without incurring prohibitive overheads in area, delay, or power. This paper tackles the challenge of ensuring cache reliability in low-power modes, where SRAM cells are most susceptible to failure, while meeting the stringent demands of future technology nodes where such failures are expected to be more prevalent.
Methods
The core innovation is the HER cache architecture, which strategically combines SRAM and eDRAM technologies within the L1 data cache. The cache is divided into multiple banks, with a portion implemented using fast SRAM and the remainder using denser, more reliable eDRAM.
- Hybrid Architecture: The cache uses an n-way set-associative design where some ways are SRAM and others are eDRAM.
- High-Performance Mode: In this mode, the HER cache functions like a conventional cache, utilizing the full capacity. The MRU (Most Recently Used) way is always stored in an SRAM bank for speed. eDRAM banks are used to save area and energy.
- Low-Power Mode: Here, the eDRAM banks act as replicas of the SRAM banks. This redundancy allows the cache to recover from any SRAM bit failures. The design incorporates a "SRAM-faulty bit" to track faulty SRAM lines and avoid unnecessary comparisons.
- Mode Switching: The paper details mechanisms for seamless transitions between high-performance and low-power modes, including replicating SRAM data into eDRAM and vice-versa.
- No Refresh Circuitry: A key advantage is the elimination of refresh circuitry for eDRAM, which is costly in terms of area and energy. This is achieved by ensuring the eDRAM capacitors have sufficient retention time to outlast the data's presence in the cache.
Datasets
Not discussed in the paper. The evaluation uses simulation frameworks (SimpleScalar) and a cache modeling tool (CACTI 5.3) with SPEC 2000 benchmarks.
Key Insights and Ideas
- eDRAM as a "Hard Error" Savior: The paper highlights eDRAM's inherent robustness against the specific types of hard errors caused by process variations in SRAM cells at low voltages. This makes it an ideal partner for SRAM in fault-tolerant designs.
- 100% Fault Coverage is Achievable: By using eDRAM replicas, the HER cache achieves complete fault coverage for SRAM hard errors, a significant improvement over prior approaches.
- Minimal Performance Impact: Despite the use of slower eDRAM, the HER cache maintains performance close to conventional caches, especially in high-performance mode, by strategically placing frequently accessed data in SRAM.
- Significant Energy Savings: The combination of eDRAM's lower leakage and the architectural design leads to substantial reductions in both leakage and dynamic energy consumption, particularly in low-power modes.
- Trade-offs are Manageable: The increased area of eDRAM cells is offset by the overall reduction in cache area due to higher density, and the performance impact is mitigated by architectural choices.
Key Results
- Performance: In high-performance mode, the HER cache shows an average IPC loss of 1.88% for integer benchmarks and 0.38% for floating-point benchmarks compared to a conventional cache. In low-power mode, performance degradation is kept below 2.6%.
- Leakage Power: Leakage savings are as high as 62% in high-performance mode and 85% in low-power mode (lp2, 50% failure probability) compared to a conventional SRAM cache.
- Dynamic Energy: Dynamic energy is reduced by 40% in high-performance mode and up to 62% for integer benchmarks in the most defective low-power mode (lp2).
- Area: The HER cache reduces the total cache area by 31% compared to a conventional SRAM cache, despite using larger eDRAM cells.
Limitations and Future Work
- Area of eDRAM: While eDRAM offers higher density, its cells are larger than conventional SRAM cells. The paper compensates for this by using eDRAM for a portion of the cache and by using larger, but error-free, SRAM cells for tags and control bits.
- Retention Time: The design relies on eDRAM capacitors having sufficient retention time. The paper discusses the required retention times for different scenarios and notes that trench capacitors can support these requirements for most cases.
- Future Work: The paper suggests that the HER cache architecture can accommodate various technological alternatives for eDRAM and SRAM, as long as they meet the derived timing and retention values. Further exploration of different ECC schemes and adaptive cache resizing could also be beneficial.
Summary updated