arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.07842cs.DC
收藏

重放时钟

Replay Clocks

Ishaan Lagwankar, Sandeep S Kulkarni

AI总结:

本文提出重放时钟(RepCL)以支持分布式计算重放,在保证因果顺序的同时不强制无关事件顺序,并以少于四个整数实现,开销与时钟大小成正比。

摘要:

在这项工作中,我们关注重放时钟(RepCL)问题。重放时钟的需求源于这样的观察:在在线环境中,对分布式计算的所有感兴趣属性进行分析可能不可行。这些属性可以通过重放计算来分析。然而,为了有益,这种重放必须考虑到分布式计算中所有可能的不确定性。具体来说,如果事件'e'必须在'f'之前发生,那么重放时钟必须确保'e'在'f'之前被重放。另一方面,如果'e'和'f'可以以任何顺序发生,那么重放不应强制它们之间的顺序。在识别了现有时钟在提供重放原语方面的局限性之后,我们提出了RepCL并为其确定了高效表示。我们证明,如果时钟在1毫秒内同步,对于64个进程,在各种系统参数下,RepCL可以用少于四个整数实现。此外,RepCL的开销(用于计算/比较时间戳和消息大小)与时钟的大小成正比。通过模拟,我们根据给定的系统设置确定了RepCL的预期开销。我们还确定了用户如何识别RepCL的可行性区域。具体来说,给定所需的RepCL开销,它识别出可以进行完整重放的区域。

英文摘要:

In this work, we focus on the problem of replay clocks (RepCL). The need for replay clocks arises from the observation that analyzing distributed computation for all desired properties of interest may not be feasible in an online environment. These properties can be analyzed by replaying the computation. However, to be beneficial, such replay must account for all the uncertainty that is possible in a distributed computation. Specifically, if event 'e' must occur before 'f' then the replay clock must ensure that 'e' is replayed before 'f'. On the other hand, if 'e' and 'f' could occur in any order then replay should not force an order between them. After identifying the limitations of existing clocks to provide the replay primitive, we present RepCL and identify an efficient representation for the same. We demonstrate that RepCL can be implemented with less than four integers for 64 processes for various system parameters if clocks are synchronized within 1 ms. Furthermore, the overhead of RepCL (for computing/comparing timestamps and message size) is proportional to the size of the clock. Using simulations, we identify the expected overhead of RepCL based on the given system settings. We also identify how a user can the identify feasibility region for RepCL. Specifically, given the desired overhead of RepCL, it identifies the region where unabridged replay is possible.

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

↑