Skip to main navigation Skip to search Skip to main content

EA-PLRU: Enclave-aware cache replacement

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

4 Scopus citations

Abstract

In SGX-based systems, cache lines belonging to enclaves must be encrypted when they are evicted from the last-level cache, and decrypted on a cache miss before they are brought into the cache from memory. Because encryption and decryption introduce overheads in terms of performance, memory pressure and power consumption, it is important to reduce the frequency of LLC misses and replacements of enclave lines. We consider a system where enclave and non-enclave applications co-exist in the system and share the last-level cache. To decrease the frequency of encrypt/decrypt operations, we introduce a new cache replacement policy that slightly favors enclave lines over non-enclave lines. Specifically, we modify the last level of pseudo-LRU replacement logic, so that it favors an enclave line over a non-enclave line regardless of how recently each line has been accessed. We also add a probabilistic component to this new policy to balance performance and make replacement policy non-deterministic and therefore resilient to side-channel attacks that exploit predictable patterns of cache line replacement.

Original languageEnglish
Title of host publicationProceedings of the 8th International Workshop on Hardware and Architectural Support for Security and Privacy, HASP 2019
PublisherAssociation for Computing Machinery
ISBN (Electronic)9781450372268
DOIs
StatePublished - Jun 23 2019
Event8th International Workshop on Hardware and Architectural Support for Security and Privacy, HASP 2019 - Phoenix, United States
Duration: Jun 23 2019 → …

Publication series

NameACM International Conference Proceeding Series

Conference

Conference8th International Workshop on Hardware and Architectural Support for Security and Privacy, HASP 2019
Country/TerritoryUnited States
CityPhoenix
Period06/23/19 → …

Keywords

  • Cache
  • Cache replacement
  • Ea-plru
  • Enclave
  • Intel sgx
  • Plru

Fingerprint

Dive into the research topics of 'EA-PLRU: Enclave-aware cache replacement'. Together they form a unique fingerprint.

Cite this