Back to search

University of Waterloo

Predictable Cache Subsystem Design for Real-time Multicores

Abstract

dc:description.abstract

This thesis focuses on the design of the cache subsystem for multicore real-time systems. Specifically, it looks at the two common contention sources in the cache subsystem that undermine the system's timing predictability: temporal contention (queuing delays resulting from simultaneous shared resource accesses) and spatial contention (conflicts in cache line allocations). Accordingly, this thesis proposes two solutions to address the two problems. First, to address temporal contention induced by the shared last-level cache (LLC), we propose PECC, a predictable exclusive cache coherence mechanism. Unlike the common choice of inclusive cache hierarchies, PECC incorporates an exclusive LLC free of back invalidation, which is a significant contributor to the per-request worst-case latency (PR-WCL) in inclusive hierarchies. As a result, PECC reduces the bound of PR-WCL by 6% and improves the average performance by 2.33 times over the predictable solution with an inclusive LLC. Second, to address spatial contention in the shared LLC, we propose ParRP, a novel cache partitioning scheme that provides cache space isolation for shared data. Conventionally, achieving cache space isolation for shared data is challenging due to its intrinsic sharing nature, which violates the resource isolation principle. ParRP overcomes this by partitioning the replacement policy instead of cache entries. Consequently, ParRP guarantees isolation property even with shared data, enabling isolated worst-case execution time (WCET) analysis without interference from other cores. Our evaluation shows that this leads to a 2.4 times reduction in the WCET of multi-threaded tasks with shared data at the cost of a 16.5% decrease in average performance.

Degree

thesis:*
Grantor dc:publisher
University of Waterloo
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Wang, Xinzhe
Advisors dc:contributor.advisor
  • Patel, Hiren
  • Rodolfo, Pellizzoni

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10012/20865

Chain of custody

source
Harvested from
University of Waterloo
Base URL
dspacemainprd01.lib.uwaterloo.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Wang, Xinzhe. Predictable Cache Subsystem Design for Real-time Multicores. University of Waterloo, 2024. https://hdl.handle.net/10012/20865