Compression-Aware and Performance-Efficient Insertion Policies for Long-Lasting Hybrid LLCs
Carlos Escuin, Asif Ali Khan, Pablo Ibáñez, Teresa Monreal, Jerónimo Castrillón, Víctor Viñals
Abstract
Emerging non-volatile memory (NVM) technologies can potentially replace large SRAM memories such as the lastlevel cache (LLC). However, despite recent advances, NVMs suffer from higher write latency and limited write endurance. Recently, NVM-SRAM hybrid LLCs are proposed to combine the best of both worlds. Several policies have been proposed to improve the performance and lifetime of hybrid LLCs by intelligently steering the incoming LLC blocks into either the SRAM or NVM part, regarding the cache behavior of the LLC blocks and the SRAM/NVM device properties. However, these policies neither consider compressing the contents of the cache block nor using partially worn-out NVM cache blocks.
This paper proposes new insertion policies for byte-level faulttolerant hybrid LLCs that collaboratively optimize for lifetime and performance. Specifically, we leverage data compression to utilize partially defective NVM cache entries, thereby improving the LLC hit rate. The key to our approach is to guide the insertion policy by both the reuse properties of the block and the size resulting from its compression. A block is inserted in NVM only if it is a read-reuse block or its compressed size is lower than a threshold. It will be inserted in SRAM if the block is a writereuse or its compressed size is greater than the threshold. We use set-dueling to tune the compression threshold at runtime. This compression threshold provides a knob to control the NVM write rate and, together with a rule-based mechanism, allows balancing performance and lifetime.
Overall, our evaluation shows that, with affordable hardware overheads, the proposed schemes can nearly reach the performance of an SRAM cache with the same associativity while improving lifetime by 17× compared to a hybrid NVM-unaware LLC. Our proposed scheme outperforms the state-of-the-art insertion policies by 9% while achieving a comparative lifetime. The rule-based mechanism shows that by compromising, for instance, 1.1% and 1.9% performance, the NVM lifetime can be further increased by 28% and 44%, respectively.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Related papers
- Stealth-Persist: Architectural Support for Persistent Applications in Hybrid Memory SystemsMazen Al-Wadi, Vamsee Reddy Kommareddy, Clayton Hughes, Simon David Hammond et al.HPCA 2021 · 9 citations
- ZENCO: Zero-bytes based ENCOding for Non-Volatile Buffers in On-Chip InterconnectsKhushboo Rani, Hemangee K. KapoorDAC 2020 · 1 citation
- OpenMem: Hardware/Software Cooperative Management for Mobile Memory SystemFei Wen, Mian Qin, Paul Gratz, A. L. Narasimha ReddyDAC 2021 · 9 citations
- MorLog: Morphable Hardware Logging for Atomic Persistence in Non-Volatile Main MemoryXueliang Wei, Dan Feng, Wei Tong, Jingning Liu et al.ISCA 2020 · 23 citations
- Predict and Write: Using K-Means Clustering to Extend the Lifetime of NVM StorageSaeed Kargar, Heiner Litz, Faisal NawabICDE 2021 · 12 citations
