C3: Scalable & Verified Shared Memory via Consistency-directed Cache Coherence
C3: Scalable & Verified Shared Memory via Consistency-directed Cache Coherence
批准号:
EP/M027317/1
负责人:
Vijayanand Nagarajan
金额:
$85.23万
依托单位:
依托单位国家:
英国
项目类别:
Research Grant
财政年份:
2015
资助国家:
英国
项目状态:
已结题
起止时间:
2015 至 --
中文摘要
共享内存多核处理器无处不在,但对其进行编程仍然具有挑战性。这种多核处理器的编程模型主要依赖于“内存一致性模型”(MCM),这是硬件和程序员之间的一种契约,它基本上指定了读取可以返回什么值。在硬件方面,实现内存一致性模型的一个关键机制是“缓存一致性协议”(CCP),它本质上是处理器之间的内存操作通信。然而,CCP和MCM之间的联系仍然不清楚。尤其是对于现代CCP和MCM,CCP设计已经脱离MCM的要求。我们认为,这对CCP的可扩展性和可验证性产生了负面影响。在可扩展性方面,随着内核数量的不断增加,保持缓存一致性存在严重的问题。在验证方面,现有的验证技术的应用,不验证CCP对MCM,可以说是打破。在C3提案中,我们提出了一系列CCP,这些CCP“知道”MCM并根据MCM进行验证。我们的方法是出于这样一个事实,即硬件和编程语言都收敛到各种宽松的MCM性能为导向的原因。我们使用这种放松的MCM作为灵感来研究可以利用它们的CCP。具体来说,我们将研究“懒惰”CCP,其中内存操作是分批的,并且可以摊销内存操作的通信成本。我们还将首次正式验证硬件CCP和它们提供的面向程序员的MCM之间的关系。我们将严格调查从这些懒惰的CCP身上获得的收益。我们将通过创建我们提出的CCP的多核原型来实现这一点,利用我们在工业强度微架构及其实现的设计方面的经验。
英文摘要
Shared-memory multi-core processors are ubiquitous, but programming themremains challenging. The programming model exposed by such multi-coreprocessors depends crucially on a "memory consistency model" (MCM), a contractbetween the hardware and the programmer, which essentially specifies whatvalue a read can return. On the hardware side, one key mechanism to implementthe memory consistency model is the "cache-coherence protocol" (CCP), whichessentially communicates memory operations between processors. However, theconnection between the CCP and the MCM remains unclear. This is especiallytrue for modern CCPs and MCMs, in which CCP design has been divorced from therequirements of the MCM. We argue that this has negatively impacted thescalability and the verifiability of CCPs. On the scalability front, there are serious question marks about sustainingcache coherence as the number of cores continue to scale. On the verificationfront, the application of existing verification techniques, which do notverify the CCP against the MCM, are arguably broken. In the C3 proposal, we propose a family of CCPs that are "aware" of, andverified against the MCM. Our approach is motivated by the fact that bothhardware and programming languages are converging to various relaxed MCMs forperformance oriented reasons. We use such relaxed MCMs as inspiration toresearch CCPs that can take advantage of them. Specifically, we will research"lazy" CCPs where memory operations are batched, and the cost of communicatinga memory operation can be amortised. We will also, for the first time,formally verify the relationship between the hardware CCPs and theprogrammer-oriented MCM they provide. We will investigate rigorously thegains to be had from such lazy CCPs. We will do this by creating a multi-coresilicon prototype of our proposed CCP, leveraging our experience in the designof industrial-strength micro-architectures and their implementations.
期刊论文(10)
专著(0)
科研奖励(0)
会议论文
登录
查看更多内容
DOI:
10.1109/hpca.2019.00061
发表时间:
2019-02
期刊:
2019 IEEE International Symposium on High Performance Computer Architecture (HPCA)
影响因子:
--
作者:
[Saumay Dublish;V. Nagarajan;N. Topham]
通讯作者:
Saumay Dublish;V. Nagarajan;N. Topham
Evaluating the GPU Memory Hierarchy for General-Purpose Application
评估通用应用程序的 GPU 内存层次结构
DOI:
--
发表时间:
2017
期刊:
影响因子:
--
作者:
[Dublish S]
通讯作者:
Dublish S
VerC3: A library for explicit state synthesis of concurrent systems
VerC3:并发系统显式状态综合的库
DOI:
10.23919/date.2018.8342228
发表时间:
2018
期刊:
影响因子:
--
作者:
[Elver M]
通讯作者:
Elver M
Verification of a lazy cache coherence protocol against a weak memory model
针对弱内存模型验证惰性缓存一致性协议
DOI:
10.23919/fmcad.2017.8102242
发表时间:
2017
期刊:
影响因子:
--
作者:
[Banks C]
通讯作者:
Banks C
Farms, pipes, streams and reforestation: reasoning about structured parallel processes using types and hylomorphisms
农场、管道、溪流和重新造林:使用类型和水态推理结构化并行过程
DOI:
10.1145/2951913.2951920
发表时间:
2016
期刊:
影响因子:
--
作者:
[Castro D]
通讯作者:
Castro D
共 7 条
Dijkstra's Pipe: Timing-Secure Processors by Design
-
批准号:EP/V038699/1
-
项目类别:Research Grant
-
资助金额:$68.2万
-
财政年份:2021
-
负责人:Vijayanand Nagarajan
-
依托单位:
Error-tolerant Stream Processing System Design (ESP-SD)
-
批准号:EP/M001202/1
-
项目类别:Research Grant
-
资助金额:$44.99万
-
财政年份:2014
-
负责人:Vijayanand Nagarajan
-
依托单位:
国内基金
海外基金
Scalable Learning and Optimization: High-dimensional Models and Online Decision-Making Strategies for Big Data Analysis
-
批准号:--
-
项目类别:合作创新研究团队
-
资助金额:--
-
批准年份:2024
-
负责人:姚韬
-
依托单位: