# Randomized Caches in Hardware: Challenges and Trade-offs

DevFeed: [Randomized Caches in Hardware: Challenges and Trade-offs](<https://devfeed.tech/articles/randomized-caches-in-hardware-challenges-and-trade-offs-114019.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.00282>)

Author: Xinrui Wang, Pascal Kosak, Christof Paar, Daniel Genkin, Yuval Yarom, Anirban Chakraborty

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [CPU Cache](<https://devfeed.tech/topics/cpu-cache.md>), [RISC-V](<https://devfeed.tech/topics/riscv.md>), [implementation](<https://devfeed.tech/topics/implementation.md>), [High-Performance Computing](<https://devfeed.tech/topics/high-performance-computing.md>)

Tags: [2017](<https://devfeed.tech/tags/2017.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [added](<https://devfeed.tech/tags/added.md>), [area](<https://devfeed.tech/tags/area.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [asic](<https://devfeed.tech/tags/asic.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [cache](<https://devfeed.tech/tags/cache.md>), [challenges](<https://devfeed.tech/tags/challenges.md>), [channel](<https://devfeed.tech/tags/channel.md>), [chip](<https://devfeed.tech/tags/chip.md>), [complete](<https://devfeed.tech/tags/complete.md>), [completion](<https://devfeed.tech/tags/completion.md>), [components](<https://devfeed.tech/tags/components.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [core](<https://devfeed.tech/tags/core.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-ar](<https://devfeed.tech/tags/cs-ar.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [randomized-caches](<https://devfeed.tech/tags/randomized-caches.md>)

## AI overview

The study implements CEASER-S, ScatterCache, SassCache, and MIRAGE as LLCs in a multi-core out-of-order RISC-V SoC and evaluates full FPGA systems on SPEC CPU 2017 rate and GAPBS workloads. Pipelining the index derivation function alone leaves other critical paths as frequency bottlenecks in three variants, lowering frequency by up to 35% versus a baseline set-associative cache. Redesigning those paths while retaining mappings, rekeying, and victim-selection policies brings the affected variants to within 10% of baseline frequency, with added latency or reduced concurrency. Increased LLC access latency, more than additional misses, drives IPC losses of up to 5% on SPEC and 11% on GAPBS. Reported overheads vary by design and technology: FPGA lookup-table use rises 10-35%, while ASIC area rises 1-14%.

## Source excerpt

arXiv:2611.00282v1 Announce Type: cross Abstract: Randomized caches protect against side-channel attacks by obfuscating the mapping of memory addresses to cache locations. Existing proposals typically describe architectural behavior, leaving practical hardware implementation challenges largely unexplored. We implement four prominent designs, CEASER-S, ScatterCache, SassCache, and MIRAGE, and integrate them as the last-level cache (LLC) of a multi-core out-of-order RISC-V system-on-chip (SoC). We identify common and design-specific implementation challenges and develop practical solutions. We evaluate complete FPGA implementations by running SPEC CPU 2017 rate and GAPBS workloads to completion, providing, to our knowledge, the first comparative evaluation of these designs on a common full-system hardware platform. Pipelining the index derivation function (IDF) alone is insufficient: in three of the four variants, other components become the frequency bottleneck, reducing frequency by up to 35% relative to the baseline set-associative cache. Redesigning the critical paths while preserving mappings, rekeying, and victim-selection policies brings the three affected variants to no more than 10% below the baseline frequency, at the cost of added latency or reduced concurrency. Increased LLC access latency, rather than additional misses, dominates IPC degradation, reducing instructions per cycle by up to 5% for SPEC and 11% for GAPBS. Hardware overhead depends on the design and implementation technology: FPGA lookup-table usage increases by 10-35%, while ASIC area increases by 1-14%.