arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.07433cs.DCcs.FL
收藏

逻辑同步网络:一种用于确定性分布的形式化模型

Logical Synchrony Networks: A formal model for deterministic distribution

Logan Kenwright, Partha Roop, Nathan Allen, Sanjay Lall, Calin Cascaval, Tammo Spalink, Martin Izzard

AI总结:

本文提出了一种名为逻辑同步网络(LSNs)的确定性计算形式化模型,通过将进程同步与执行解耦,证明了FFPs和bittide均能实现确定性分布式系统,且后者具有更高性能。

摘要:

Kahn Process Networks (KPNs) 是一种用于分布式系统的确定性 Model of Computation (MoC)。KPNs 支持非阻塞写入和阻塞读取,随之产生的假设是进程间具有无界缓冲区。诸如 Finite FIFO Platforms (FFP) 等变体已被开发出来,它们强制执行有界性。现有模型的一个问题是,它们将进程同步与进程执行混合在一起。在本文中,我们探讨了如何将这两个方面解耦。\n本文探索了一种名为 bittide 的近期替代方案,它将进程的执行与进程同步所需的控制解耦,从而在确保流水线执行以获得更好吞吐量的同时,保持了确定性和有界性。我们的直觉是,这种方法不仅可以利用确定性和缓冲区有界性,还可能提供更好的整体吞吐量。\n为了理解这些系统的行为,我们定义了一个形式化模型——一种称为 Logical Synchrony Networks (LSNs) 的确定性 MoC。LSNs 描述了一个建模为图的进程网络,其边表示生产者进程与相应消费者进程之间不变逻辑延迟。我们证明了 KPNs 满足这一抽象。随后,我们证明了 FFPs 和 bittide 都忠实地实现了这一抽象。因此,我们首次表明 FFPs 和 bittide 提供了实现确定性分布式系统的两种替代方法,其中后者性能更高。

英文摘要:

Kahn Process Networks (KPNs) are a deterministic Model of Computation (MoC) for distributed systems. KPNs supports non-blocking writes and blocking reads, with the consequent assumption of unbounded buffers between processes. Variants such as Finite FIFO Platforms (FFP) have been developed, which enforce boundedness. One issue with existing models is that they mix process synchronisation with process execution. In this paper we address how these two facets may be decoupled. This paper explores a recent alternative called bittide, which decouples the execution of a process from the control needed for process synchronisation, and thus preserves determinism and boundedness while ensuring pipelined execution for better throughput. Our intuition is that such an approach could leverage not only determinism and buffer boundedness but may potentially offer better overall throughput. To understand the behavior of these systems we define a formal model -- a deterministic MoC called Logical Synchrony Networks (LSNs). LSNs describes a network of processes modelled as a graph, with edges representing invariant logical delays between a producer process and the corresponding consumer process. We show that this abstraction is satisfied by KPNs. Subsequently, we show that both FFPs and bittide faithfully implement this abstraction. Thus, we show for the first time that FFPs and bittide offer two alternative ways of implementing deterministic distributed systems with the latter being more performant.

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

↑