Cargando…

L2C2: Last-level compressed-contents non-volatile cache and a procedure to forecast performance and lifetime

Several emerging non-volatile (NV) memory technologies are rising as interesting alternatives to build the Last-Level Cache (LLC). Their advantages, compared to SRAM memory, are higher density and lower static power, but write operations wear out the bitcells to the point of eventually losing their...

Descripción completa

Detalles Bibliográficos
Autores principales: Escuin, Carlos, Ibáñez, Pablo, Navarro, Denis, Monreal, Teresa, Llabería, José M., Viñals, Víctor
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9904472/
https://www.ncbi.nlm.nih.gov/pubmed/36749765
http://dx.doi.org/10.1371/journal.pone.0278346
_version_ 1784883621153210368
author Escuin, Carlos
Ibáñez, Pablo
Navarro, Denis
Monreal, Teresa
Llabería, José M.
Viñals, Víctor
author_facet Escuin, Carlos
Ibáñez, Pablo
Navarro, Denis
Monreal, Teresa
Llabería, José M.
Viñals, Víctor
author_sort Escuin, Carlos
collection PubMed
description Several emerging non-volatile (NV) memory technologies are rising as interesting alternatives to build the Last-Level Cache (LLC). Their advantages, compared to SRAM memory, are higher density and lower static power, but write operations wear out the bitcells to the point of eventually losing their storage capacity. In this context, this paper presents a novel LLC organization designed to extend the lifetime of the NV data array and a procedure to forecast in detail the capacity and performance of such an NV-LLC over its lifetime. From a methodological point of view, although different approaches are used in the literature to analyze the degradation of an NV-LLC, none of them allows to study in detail its temporal evolution. In this sense, this work proposes a forecasting procedure that combines detailed simulation and prediction, allowing an accurate analysis of the impact of different cache control policies and mechanisms (replacement, wear-leveling, compression, etc.) on the temporal evolution of the indices of interest, such as the effective capacity of the NV-LLC or the system IPC. We also introduce L2C2, a LLC design intended for implementation in NV memory technology that combines fault tolerance, compression, and internal write wear leveling for the first time. Compression is not used to store more blocks and increase the hit rate, but to reduce the write rate and increase the lifetime during which the cache supports near-peak performance. In addition, to support byte loss without performance drop, L2C2 inherently allows N redundant bytes to be added to each cache entry. Thus, L2C2+N, the endurance-scaled version of L2C2, allows balancing the cost of redundant capacity with the benefit of longer lifetime. For instance, as a use case, we have implemented the L2C2 cache with STT-RAM technology. It has affordable hardware overheads compared to that of a baseline NV-LLC without compression in terms of area, latency and energy consumption, and increases up to 6-37 times the time in which 50% of the effective capacity is degraded, depending on the variability in the manufacturing process. Compared to L2C2, L2C2+6 which adds 6 bytes of redundant capacity per entry, that means 9.1% of storage overhead, can increase up to 1.4-4.3 times the time in which the system gets its initial peak performance degraded.
format Online
Article
Text
id pubmed-9904472
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-99044722023-02-08 L2C2: Last-level compressed-contents non-volatile cache and a procedure to forecast performance and lifetime Escuin, Carlos Ibáñez, Pablo Navarro, Denis Monreal, Teresa Llabería, José M. Viñals, Víctor PLoS One Research Article Several emerging non-volatile (NV) memory technologies are rising as interesting alternatives to build the Last-Level Cache (LLC). Their advantages, compared to SRAM memory, are higher density and lower static power, but write operations wear out the bitcells to the point of eventually losing their storage capacity. In this context, this paper presents a novel LLC organization designed to extend the lifetime of the NV data array and a procedure to forecast in detail the capacity and performance of such an NV-LLC over its lifetime. From a methodological point of view, although different approaches are used in the literature to analyze the degradation of an NV-LLC, none of them allows to study in detail its temporal evolution. In this sense, this work proposes a forecasting procedure that combines detailed simulation and prediction, allowing an accurate analysis of the impact of different cache control policies and mechanisms (replacement, wear-leveling, compression, etc.) on the temporal evolution of the indices of interest, such as the effective capacity of the NV-LLC or the system IPC. We also introduce L2C2, a LLC design intended for implementation in NV memory technology that combines fault tolerance, compression, and internal write wear leveling for the first time. Compression is not used to store more blocks and increase the hit rate, but to reduce the write rate and increase the lifetime during which the cache supports near-peak performance. In addition, to support byte loss without performance drop, L2C2 inherently allows N redundant bytes to be added to each cache entry. Thus, L2C2+N, the endurance-scaled version of L2C2, allows balancing the cost of redundant capacity with the benefit of longer lifetime. For instance, as a use case, we have implemented the L2C2 cache with STT-RAM technology. It has affordable hardware overheads compared to that of a baseline NV-LLC without compression in terms of area, latency and energy consumption, and increases up to 6-37 times the time in which 50% of the effective capacity is degraded, depending on the variability in the manufacturing process. Compared to L2C2, L2C2+6 which adds 6 bytes of redundant capacity per entry, that means 9.1% of storage overhead, can increase up to 1.4-4.3 times the time in which the system gets its initial peak performance degraded. Public Library of Science 2023-02-07 /pmc/articles/PMC9904472/ /pubmed/36749765 http://dx.doi.org/10.1371/journal.pone.0278346 Text en © 2023 Escuin et al https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
spellingShingle Research Article
Escuin, Carlos
Ibáñez, Pablo
Navarro, Denis
Monreal, Teresa
Llabería, José M.
Viñals, Víctor
L2C2: Last-level compressed-contents non-volatile cache and a procedure to forecast performance and lifetime
title L2C2: Last-level compressed-contents non-volatile cache and a procedure to forecast performance and lifetime
title_full L2C2: Last-level compressed-contents non-volatile cache and a procedure to forecast performance and lifetime
title_fullStr L2C2: Last-level compressed-contents non-volatile cache and a procedure to forecast performance and lifetime
title_full_unstemmed L2C2: Last-level compressed-contents non-volatile cache and a procedure to forecast performance and lifetime
title_short L2C2: Last-level compressed-contents non-volatile cache and a procedure to forecast performance and lifetime
title_sort l2c2: last-level compressed-contents non-volatile cache and a procedure to forecast performance and lifetime
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9904472/
https://www.ncbi.nlm.nih.gov/pubmed/36749765
http://dx.doi.org/10.1371/journal.pone.0278346
work_keys_str_mv AT escuincarlos l2c2lastlevelcompressedcontentsnonvolatilecacheandaproceduretoforecastperformanceandlifetime
AT ibanezpablo l2c2lastlevelcompressedcontentsnonvolatilecacheandaproceduretoforecastperformanceandlifetime
AT navarrodenis l2c2lastlevelcompressedcontentsnonvolatilecacheandaproceduretoforecastperformanceandlifetime
AT monrealteresa l2c2lastlevelcompressedcontentsnonvolatilecacheandaproceduretoforecastperformanceandlifetime
AT llaberiajosem l2c2lastlevelcompressedcontentsnonvolatilecacheandaproceduretoforecastperformanceandlifetime
AT vinalsvictor l2c2lastlevelcompressedcontentsnonvolatilecacheandaproceduretoforecastperformanceandlifetime