HyVE: A Hybrid Voting-based Eviction Policy for Caches

Akshay Srivatsa, Sebastian Nagel, Nael Fasfous, Nguyen Anh Vu Doan, Thomas Wild, Andreas Herkersdorf

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

In computer architecture, multi-level cache hierarchies are invaluable to achieve good system performance. Even multiMByte last level caches are short on capacity, therefore, set associativity, write-back strategies and cache replacement policies become important runtime management aspects. Numerous eviction policies, such as LRU, LFU, etc., have been investigated, all attempting to minimize the number of cache replacements. Such standalone policies optimize for a single attribute (recency, frequency, etc.), limiting their benefits for applications exhibiting non-uniform memory access patterns. We propose a Hybrid Voting-based Eviction Policy (HyVE), which extends multiple standalone eviction policies with a ranking system and combines them using voting theory methodologies. The goal of HyVE is to make better replacement decisions by creating a consensus among its constituent eviction policies. Analyzing HyVE, we observed its ability to take different replacement decisions compared to its standalone counterparts, making it a unique and new eviction policy. HyVE not only combines standalone policies, but can also be reduced to any of its constituents, making it flexible. We explored different variants of HyVE, and evaluated them using PARSEC and SPLASH-2 workloads on the sniper multi-core simulator. We also compared HyVE to state-of-the-art set-dueling (DRRIP) and learning-based (Hawkeye) policies. Results show that on average, compared to the LRU policy, HyVE reduces cache misses by 7.4%, DRRIP by 5.5% and Hawkeye by 9.2%. Though Hawkeye exhibits better performance on average, HyVE offers a unique advantage for certain workloads by using a votingbased approach to solve the replacement problem. HyVE has been synthesized on an FPGA prototype. We breakdown HyVE's hardware overheads and analyze its impact on timing.

Original languageEnglish
Title of host publication2020 IEEE Nordic Circuits and Systems Conference, NORCAS 2020 - Proceedings
EditorsJari Nurmi, Dag T. Wisland, Snorre Aunet, Kristian Kjelgaard
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9781728192260
DOIs
StatePublished - 27 Oct 2020
Event6th IEEE Nordic Circuits and Systems Conference, NORCAS 2020 - Virtual, Oslo, Norway
Duration: 27 Oct 202028 Oct 2020

Publication series

Name2020 IEEE Nordic Circuits and Systems Conference, NORCAS 2020 - Proceedings

Conference

Conference6th IEEE Nordic Circuits and Systems Conference, NORCAS 2020
Country/TerritoryNorway
CityVirtual, Oslo
Period27/10/2028/10/20

Fingerprint

Dive into the research topics of 'HyVE: A Hybrid Voting-based Eviction Policy for Caches'. Together they form a unique fingerprint.

Cite this