无修改并发系统的轨迹验证与OmniLink
OmniLink: Specification-Based Trace Validation of Concurrent Systems with Substep Linearizability
AI总结:
OmniLink通过灵活的规范语言和模型检查技术,提升并发系统验证效率,发现已知和未知错误。
摘要:
并发系统验证极具挑战性:微妙的错误可能只在罕见的线程交错下才显现,而现有工具往往需要侵入性仪器化或不现实的执行模型。我们提出了OmniLink,一种新的方法,用于将并发实现与TLA+的高级规范进行验证。不同于先前基于TLA+的方法,这些方法使用一种称为轨迹验证的技术,OmniLink将系统事件视为黑箱,带有发生时间框和TLA+中的意义,求解动作的逻辑总顺序。不同于基于线性可验证性检查的方法,这些方法已经解决了带有时间框的动作总顺序,OmniLink使用灵活的规范语言,并基于现成的模型检查提供不同的线性可验证性检查方法。OmniLink相比现有线性可验证性检查工具具有不同的功能,我们证明它在大规模验证任务上优于现有技术。我们的评估验证了WiredTiger,一种最先进的工业数据库存储层,以及Balanced Augmented Tree (BAT),一种来自研究社区的最先进的无锁数据结构,以及ConcurrentQueue,一个流行的无锁队列,具有激进的性能优化。我们使用OmniLink来改进WiredTiger现有的TLA+模型,以及开发新的TLA+模型,这些模型与被测系统的行为紧密匹配,包括非线性可验证的行为。OmniLink能够发现注入到系统中的已知错误,以及帮助发现两个之前未知的错误(1个在BAT中,1个在ConcurrentQueue中),我们已与这些系统的作者确认。
英文摘要:
Concurrent systems are notoriously difficult to validate. We present OmniLink, a methodology for validating traces of concurrent implementations against high-level specifications in TLA+. Unlike prior TLA+ based approaches, OmniLink treats system events as black boxes with a timebox in which they occurred and a meaning in TLA+, solving for a logical total order of actions. Unlike prior approaches based on linearizability checking, OmniLink implements substep linearizability semantics, relies on a flexible specification language, accelerates checking with user-customizable path pruning specifications, and can detect violations due to weak memory effects between operations. Our evaluation validates WiredTiger, a state-of-the-art industrial database storage layer; Balanced Augmented Tree (BAT), a state-of-the art lock-free data structure from the research community; and, ConcurrentQueue, a popular lock-free queue featuring aggressive performance optimizations. OmniLink detects injected and previously fixed bugs in the systems under test. It also uncovers a previously unknown bug in BAT that has been confirmed by its authors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。