Verifying Concurrent Lock-free Algorithms
Verifying Concurrent Lock-free Algorithms
批准号:
EP/J003727/1
负责人:
John Derrick
金额:
$48.28万
依托单位:
依托单位国家:
英国
项目类别:
Research Grant
财政年份:
2012
资助国家:
英国
项目状态:
已结题
起止时间:
2012 至 --
中文摘要
点击翻译按钮获取中文摘要
英文摘要
Software is becoming increasingly complex, and the demand for increased performance is driven by many diverse applications. As a response to this demand, concurrent software that efficiently exploits multi-core architectures is likely to be the norm in many sectors. However, developing correct concurrent algorithms is a difficult task. This is particularly true for a class of concurrent algorithms that fully exploit the potential concurrency by offering the maximum amount of interleavings of different processes working on a shared memory. There is then a real economic imperative to build techniques that can verify as correct such lock-free algorithms as they are known.Testing and simulation, while valuable and automated to a degree, are ultimately limited in the guarantees they can offer for correctness, particularly in the case of concurrent algorithms, where multiple thread interleavings act on data structures potentially unbounded in size. Formal verification of this class of algorithm is becoming tractable and there has been a surge of interest in applying such techniques, and a unique opportunity to verify a class of algorithms before their widespread adoption.This project focusses on lock-free algorithms (also called non-blocking algorithms). Lock-free algorithms have been discovered for many common data structures. Non-blocking algorithms are used extensively at the operating system and JVM level for tasks such as thread and process scheduling. While they are more complicated to implement, they have a number of advantages over lock-based alternatives -- hazards like priority inversion and deadlock are avoided, contention is less expensive, and coordination occurs at a finer level of granularity, enabling a higher degree of parallelism.This project seeks to develop techniques whereby such algorithms can be proved correct. The techniques are based on the notion of refinement which relates an abstract specification with a more detailed concrete implementation. What we will do here is show that a certain type of refinement between an abstract description and a concurrent algorithm implies that the concurrent algorithm is correct. The notion of correctness here being linearizability.Part of the novelty of what we propose to do is in the construction of the right sort of refinement relation - it has to be one that will imply linearizability, yet at the same time give rise to proof obligations that are tractable for specific algorithms, that is, actually make the verification of linearizability easier to achieve. Another part of the novelty is that we will mechanize the whole thing - both the proofs for specific algorithms, but also the proof that our technique is correct, thus giving an extra level of assurance that the techniques really are sound - the details are sufficiently complex and subtle that mechanization really is necessary to be 100% sure of correctness.In addition to these basics we want a proof method that is applicable to a wide range of algorithms, and one that is compositional. To aid applicability we develop two flavours of technique - one based on forward simulation, and another based on backward simulation, as well as specific support for unboundedness and dynamic linearization points. To aid compositionality (so that the proofs can be broken down into smaller local steps rather than undertaking one large global proof) we will develop thread modular simulation conditions, and interference freedom conditions that aid the process.Our work will be evaluated on a number of 'benchmark' algorithms, such as lock-free implementations of stacks, queues, hashtables etc. Finally, we will investigate how our proof methods can be shown to be complete, that is, every algorithm could potentially be verified by using the method. We will also investigate liveness, ie, showing that a concurrent algorithm guarantees various forms of progression.
期刊论文(10)
专著(0)
科研奖励(0)
会议论文
登录
查看更多内容
Integrated Formal Methods - 11th International Conference, IFM 2014, Bertinoro, Italy, September 9-11, 2014, Proceedings
综合形式方法 - 第 11 届国际会议,IFM 2014,意大利贝尔蒂诺罗,2014 年 9 月 9-11 日,会议记录
DOI:
10.1007/978-3-319-10181-1_21
发表时间:
2014
期刊:
影响因子:
--
作者:
[Derrick J]
通讯作者:
Derrick J
From ODP viewpoint consistency to Integrated Formal Methods
从ODP观点一致性到综合形式方法
DOI:
10.1016/j.csi.2011.10.015
发表时间:
2013
期刊:
Computer Standards & Interfaces
影响因子:
5
作者:
[Boiten E]
通讯作者:
Boiten E
Principles for Verification Tools: Separation Logic
验证工具的原则:分离逻辑
DOI:
10.48550/arxiv.1410.4439
发表时间:
2014
期刊:
影响因子:
--
作者:
[Dongol B]
通讯作者:
Dongol B
Editorial
社论
DOI:
10.1017/s135577181400003x
发表时间:
2014
期刊:
Organised Sound
影响因子:
0.6
作者:
[Blackburn M]
通讯作者:
Blackburn M
Relational concurrent refinement part III: traces, partial relations and automata
关系并发细化第三部分:痕迹、部分关系和自动机
DOI:
10.1007/s00165-012-0262-3
发表时间:
2014
期刊:
Formal Aspects of Computing
影响因子:
1
作者:
[Derrick J]
通讯作者:
Derrick J
共 7 条
Safe and secure COncurrent programming for adVancEd aRchiTectures (COVERT)
-
批准号:EP/X015114/1
-
项目类别:Research Grant
-
资助金额:$53.85万
-
财政年份:2023
-
负责人:John Derrick
-
依托单位:
Verifiably Correct Transactional Memory.
-
批准号:EP/R032351/1
-
项目类别:Research Grant
-
资助金额:$51.78万
-
财政年份:2018
-
负责人:John Derrick
-
依托单位:
Verifiably correct concurrency abstractions
-
批准号:EP/R018936/1
-
项目类别:Research Grant
-
资助金额:$2.18万
-
财政年份:2018
-
负责人:John Derrick
-
依托单位:
Verifying concurrent algorithms on Weak Memory Models
-
批准号:EP/M017044/1
-
项目类别:Research Grant
-
资助金额:$49.59万
-
财政年份:2015
-
负责人:John Derrick
-
依托单位:
Higher-order Refinement Techniques for Model Driven Architecture
-
批准号:EP/G031711/1
-
项目类别:Research Grant
-
资助金额:$40.59万
-
财政年份:2009
-
负责人:John Derrick
-
依托单位:
国内基金
海外基金
VLSI并发式(CONCURRENT)阵列声纳信号处理系统
-
批准号:68880207
-
项目类别:专项基金项目
-
资助金额:3.0万元
-
批准年份:1988
-
负责人:马远良
-
依托单位: