Predictable Cache Coherence

Ditty system model, from the DATE 2023 paper.
Ditty system model, from the DATE 2023 paper.

Tasks on a multicore often need to share data, for example readings from the same sensors. Hardware cache coherence lets cores cache shared data privately and keeps the copies consistent, which gives high performance. For real-time and safety-critical systems, though, the coherence protocol has to come with a worst-case latency (WCL) bound for every memory request. Many earlier real-time approaches avoided the problem by not caching shared data, or by not running tasks that share data in parallel.

This project designs coherence protocols and hardware that allow simultaneous, predictable access to shared data, and analyzes their WCL.

Coherence also shapes the design of the shared last-level cache; see Predictable Shared Last-level Caches.

Publications

RTAS
Consistency-aware and Predictable Memory Processing for Safety-critical Out-of-order Multicores
Zhuanhao Wu and Hiren Patel
In proceedings of IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), pp. 1–11, May, 2025
DATE
Ditty: Directory-based Cache Coherence for Multicore Safety-critical Systems
Zhuanhao Wu, Marat Bekmyrza, Nachiket Kapre and Hiren Patel
In proceedings of IEEE Design Automation and Test in Europe (DATE), pp. 1–6, April, 2023
Nominated for best paper award
TCRTS
PASoC: A Predictable Accelerator-Rich SoC
Susmita Tadepalli, Zhuanhao Wu and Hiren Patel
In Proceedings of Cyber-Physical Systems and Internet of Things Week 2023, pp. 325–330, 2023
TCAD
Automatic Construction of Predictable and High-Performance Cache Coherence Protocols for Multi-Core Real-Time Systems
Anirudh M. Kaushik and Hiren Patel
IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (TCAD), pp. 14, October, 2022
RTAS
A Hardware Platform for Exploring Predictable Cache Coherence Protocols for Real-time Multicores
Zhuanhao Wu, Anirudh M. Kaushik and Hiren Patel
In proceedings of the IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), pp. 1–12, May, 2021
RTAS
A Systematic Approach to Achieving Tight Worst-Case Latency and High-Performance Under Predictable Cache Coherence
Anirudh M. Kaushik and Hiren Patel
In proceedings of the IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), pp. 1–12, May, 2021
DATE
Automated Synthesis of Predictable and High-Performance Cache Coherence Protocols
Anirudh M. Kaushik and Hiren Patel
In proceedings of IEEE Design Automation and Test in Europe (DATE), pp. 1–6, March, 2021
TCOMP
Designing Predictable Cache Coherence for Multi-core Real-Time Systems
Anirudh M. Kaushik, Mohamed Hassan and Hiren Patel
IEEE Transactions on Computers (TCOMP), pp. 1–16, November, 2020
RTSS
CARP: A Data Communication Mechanism for Multi-Core Mixed-Criticality Systems
Anirudh M. Kaushik, Paulos Tegegn, Zhuanhao Wu and Hiren Patel
In proceedings of IEEE Real-Time Systems Symposium (RTSS), pp. 1–11, December, 2019
CAESR-TR-2019-01
Technical Report: PENDULUM: A Cache Coherence Protocol for Mixed Criticality Systems
Nivedita Sritharan, Anirudh M. Kaushik, Mohamed Hassan and Hiren Patel
Electrical and Computer Engineering, University of Waterloo, pp. 1–11, December, 2019
RTSS
Enabling Predictable, Simultaneous and Coherent Data Sharing in Mixed Criticality Systems
Nivedita Sritharan, Anirudh M. Kaushik, Mohamed Hassan and Hiren Patel
In proceedings of IEEE Real-Time Systems Symposium (RTSS), pp. 1–11, December, 2019
CAESR-TR-2017-01
Technical Report for HourGlass: Predictable Time-based Cache Coherence Protocol for Mixed-Time Critical Multi-Cores
Nividita Sritharan, Anirudh Kaushik, Mohamed Hassan and Hiren Patel
pp. 1–8, December, 2017
RTAS
Predictable cache coherence for multi-core real time systems
Mohamed Hassan, Anirudh M. Kaushik and Hiren Patel
In proceedings of the IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), pp. 235–246, April, 2017