arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.02251cs.FLcs.DCcs.LOcs.PL
收藏

网络系统中可串行化的判定

Deciding Serializability in Network Systems

Cornell University(康奈尔大学);DTIS, ONERA, Université de Toulouse(图卢兹大学ONERA DTIS);Jane Street Capital(简街资本)

Guy Amir, Mark Barbone, Nicolas Amat, Jules Jacobs

AI总结:

本文提出SER建模语言,用于自动验证并发程序的可串行性,并通过Petri网可达性查询实现端到端决策。

摘要:

我们提出了SER建模语言,用于自动验证并发程序的可串行性,即是否每个并发执行都等价于某个串行执行。SER程序被适当限制以使该问题可判定,同时仍允许无限数量的并发线程执行,每个可能执行无限多步骤。基于先前的理论结果,我们给出了第一个自动端到端决策过程,该过程要么通过生成可检查的证书证明可串行性,要么通过生成反例轨迹驳斥它。我们还提出了一个网络系统抽象,SER程序可以编译到该抽象上。然后,该决策过程将此设置中的可串行性减少为Petri网可达性查询。此外,为了扩展规模,我们通过多种优化来限制搜索空间,包括Petri网切片、半线性集压缩和Presburger公式操纵。我们广泛评估了我们的框架,并证明尽管该问题在理论上是困难的,它能够成功处理各种现实世界的模型,包括具有状态的防火墙、BGP路由器等。

英文摘要:

We present the SER modeling language for automatically verifying serializability of concurrent programs, i.e., whether every concurrent execution of the program is equivalent to some serial execution. SER programs are suitably restricted to make this problem decidable, while still allowing for an unbounded number of concurrent threads of execution, each potentially running for an unbounded number of steps. Building on prior theoretical results, we give the first automated end-to-end decision procedure that either proves serializability by producing a checkable certificate, or refutes it by producing a counterexample trace. We also present a network-system abstraction to which SER programs compile. Our decision procedure then reduces serializability in this setting to a Petri net reachability query. Furthermore, in order to scale, we curtail the search space via multiple optimizations, including Petri net slicing, semilinear-set compression, and Presburger-formula manipulation. We extensively evaluate our framework and show that, despite the theoretical hardness of the problem, it can successfully handle various models of real-world programs, including stateful firewalls, BGP routers, and more.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑