📣 Help Shape the Future of UKRI's Gateway to Research (GtR)

We're improving UKRI's Gateway to Research and are seeking your input! If you would be interested in being interviewed about the improvements we're making and to have your say about how we can make GtR more user-friendly, impactful, and effective for the Research and Innovation community, please email gateway@ukri.org.

C6: Correct-by-Construction Heterogeneous Coherence

Lead Research Organisation: University of Edinburgh
Department Name: Sch of Informatics

Abstract

About 55 years ago, Gordon Moore speculated that transistors will become smaller and more energy efficient every year. Since then, we have enjoyed exponentially increasing computer performance owing to what has been called the Moore's law.

However, Moore's law is coming to an end and has already begun to disrupt the semiconductor industry. Absent the exponential performance and energy gains due to device scaling, industry has pivoted to hardware specialisation: targeting hardware to a specific computation class generally leads to orders of magnitude improvement in energy and performance.

We are well and truly in the age of heterogeneous computing. A modern smartphone today has dozens of devices within a single chip, including CPUs, GPUs, and other accelerators. But efficiency hinges on reducing data movement between these devices; otherwise, it can seriously jeopardise the benefits of heterogeneous computing. Sadly, an analysis of Google workloads on a mobile device reveals that, on average, more than 60% of the overall energy is spent on moving around data.

One promising approach to reducing data movement is called cache coherence. The cache coherence protocol, which automatically replicates data consistently, enables data to be accessed locally when it is safe to do so. Thus, it not only minimises data movement but it also does so in a programmer-transparent fashion.

However, cache coherence protocols are notoriously hard to design and verify even for homogeneous multicores, where they have been deployed today. To make matters worse, we do not know how to keep the devices of a heterogeneous computer coherent correctly, in part because we do not yet understand what it means to be correct.

In this project, we propose an entirely new way of designing coherence protocols. Instead of manually designing them and verifying them later, we propose an automatic method to generate them correctly. Our method is based on a new foundation of heterogeneous coherence called compound consistency models, which formally answers the question of how distinct coherence protocols should compose.

If successful, the project will not only lift the major roadblock to efficient heterogeneous computing (data movements costs), it will also catalyse the burgeoning open hardware movement by democratising one of its trickiest components: cache coherence protocols.
 
Title Stramash-Linux and Stramash-QEMU 
Description Two open source software that enable research in the field of heterogeneous cache coherence platforms. Stramash-QEMU is a configurable simulator of cache hierarchies, that supports heterogeneous caching algorithms. Stramash-Linux is an operating system that runs atop Stramash-QEMU and can execute real applications using the Popcorn-Linux compiler. 
Type Of Material Technology assay or reagent 
Year Produced 2025 
Provided To Others? Yes  
Impact at the moment is just a paper but we believe this can be adopted by industry 
URL https://github.com/systems-nuts/Stramash-AE
 
Description School visit (Duke) 
Form Of Engagement Activity A talk or presentation
Part Of Official Scheme? No
Geographic Reach International
Primary Audience Postgraduate students
Results and Impact About 20 people attended my talk which sparked questions and discussions afterwards and the group hired a Phd student in the area who is collaborating with us.
Year(s) Of Engagement Activity 2022
 
Description School visit (EPFL) 
Form Of Engagement Activity A talk or presentation
Part Of Official Scheme? No
Geographic Reach International
Primary Audience Postgraduate students
Results and Impact About 20 people attended my talk which sparked questions and discussions afterwards.
Year(s) Of Engagement Activity 2021