CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Bostanci, F. Nisa, Yuksel, Ismail Emir, Olgun, Ataberk, Kanellopoulos, Konstantinos, Tugrul, Yahya Can, Yaglikci, A. Giray, Sadrosadati, Mohammad, Mutlu, Onur
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913247710412800
author Bostanci, F. Nisa
Yuksel, Ismail Emir
Olgun, Ataberk
Kanellopoulos, Konstantinos
Tugrul, Yahya Can
Yaglikci, A. Giray
Sadrosadati, Mohammad
Mutlu, Onur
author_facet Bostanci, F. Nisa
Yuksel, Ismail Emir
Olgun, Ataberk
Kanellopoulos, Konstantinos
Tugrul, Yahya Can
Yaglikci, A. Giray
Sadrosadati, Mohammad
Mutlu, Onur
contents We propose a new RowHammer mitigation mechanism, CoMeT, that prevents RowHammer bitflips with low area, performance, and energy costs in DRAM-based systems at very low RowHammer thresholds. The key idea of CoMeT is to use low-cost and scalable hash-based counters to track DRAM row activations. CoMeT uses the Count-Min Sketch technique that maps each DRAM row to a group of counters, as uniquely as possible, using multiple hash functions. When a DRAM row is activated, CoMeT increments the counters mapped to that DRAM row. Because the mapping from DRAM rows to counters is not completely unique, activating one row can increment one or more counters mapped to another row. Thus, CoMeT may overestimate, but never underestimates, a DRAM row's activation count. This property of CoMeT allows it to securely prevent RowHammer bitflips while properly configuring its hash functions reduces overestimations. As a result, CoMeT 1) implements substantially fewer counters than the number of DRAM rows in a DRAM bank and 2) does not significantly overestimate a DRAM row's activation count. Our comprehensive evaluations show that CoMeT prevents RowHammer bitflips with an average performance overhead of only 4.01% across 61 benign single-core workloads for a very low RowHammer threshold of 125, normalized to a system with no RowHammer mitigation. CoMeT achieves a good trade-off between performance, energy, and area overheads. Compared to the best-performing state-of-the-art mitigation, CoMeT requires 74.2x less area overhead at the RowHammer threshold 125 and incurs a small performance overhead on average for all RowHammer thresholds. Compared to the best-performing low-area-cost mechanism, at a very low RowHammer threshold of 125, CoMeT improves performance by up to 39.1% while incurring a similar area overhead. CoMeT is openly and freely available at https://github.com/CMU-SAFARI/CoMeT.
format Preprint
id arxiv_https___arxiv_org_abs_2402_18769
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost
Bostanci, F. Nisa
Yuksel, Ismail Emir
Olgun, Ataberk
Kanellopoulos, Konstantinos
Tugrul, Yahya Can
Yaglikci, A. Giray
Sadrosadati, Mohammad
Mutlu, Onur
Cryptography and Security
Hardware Architecture
We propose a new RowHammer mitigation mechanism, CoMeT, that prevents RowHammer bitflips with low area, performance, and energy costs in DRAM-based systems at very low RowHammer thresholds. The key idea of CoMeT is to use low-cost and scalable hash-based counters to track DRAM row activations. CoMeT uses the Count-Min Sketch technique that maps each DRAM row to a group of counters, as uniquely as possible, using multiple hash functions. When a DRAM row is activated, CoMeT increments the counters mapped to that DRAM row. Because the mapping from DRAM rows to counters is not completely unique, activating one row can increment one or more counters mapped to another row. Thus, CoMeT may overestimate, but never underestimates, a DRAM row's activation count. This property of CoMeT allows it to securely prevent RowHammer bitflips while properly configuring its hash functions reduces overestimations. As a result, CoMeT 1) implements substantially fewer counters than the number of DRAM rows in a DRAM bank and 2) does not significantly overestimate a DRAM row's activation count. Our comprehensive evaluations show that CoMeT prevents RowHammer bitflips with an average performance overhead of only 4.01% across 61 benign single-core workloads for a very low RowHammer threshold of 125, normalized to a system with no RowHammer mitigation. CoMeT achieves a good trade-off between performance, energy, and area overheads. Compared to the best-performing state-of-the-art mitigation, CoMeT requires 74.2x less area overhead at the RowHammer threshold 125 and incurs a small performance overhead on average for all RowHammer thresholds. Compared to the best-performing low-area-cost mechanism, at a very low RowHammer threshold of 125, CoMeT improves performance by up to 39.1% while incurring a similar area overhead. CoMeT is openly and freely available at https://github.com/CMU-SAFARI/CoMeT.
title CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost
topic Cryptography and Security
Hardware Architecture
url https://arxiv.org/abs/2402.18769