多处理机系统中的全局时钟、物理时序和挂起周期分析
Global Clock, Physical Time Order and Pending Period Analysis in Multiprocessor Systems
摘要:
在多处理器系统中,使用Lamport的逻辑时钟和操作之间产生的逻辑时间顺序来处理各种问题。然而,在实践中,人们往往需要面对的逻辑时序信息的缺乏所造成的高复杂性。在本文中,我们利用\emph{global clock}注入所谓的\emph{pending period}到多处理器系统中的每个操作,其中的挂起周期是一个时间间隔,其中包含的操作的执行时间。此外,我们定义了\emph{physical time order}的任何两个操作不相交的挂起期间。多处理器系统中任何实际执行都必须遵守物理时间顺序,因为它是受全局时钟约束的真实发生的操作顺序的一部分,并证明了它与传统的逻辑时间顺序是独立和一致的。上述新颖而又基本的概念使分析多处理器系统的新的有效方法成为可能,这些方法作为一个整体被命名为\emph{pending period analysis}。作为未决期分析的结果,多处理机系统的许多重要问题可以得到有效的解决。作为一个重要的应用实例,完全存储器一致性验证,这被称为NP-难问题,可以解决与$O(n^2)$(其中$n$是操作的数量)的复杂性。此外,这两个事件排序问题分别被证明是Co-NP-Hard和NP-Hard的,如果受待定周期信息的约束,都可以以O(n)的时间复杂度求解.
英文摘要:
In multiprocessor systems, various problems are treated with Lamport's logical clock and the resultant logical time orders between operations. However, one often needs to face the high complexities caused by the lack of logical time order information in practice. In this paper, we utilize the \emph{global clock} to infuse the so-called \emph{pending period} to each operation in a multiprocessor system, where the pending period is a time interval that contains the performed time of the operation. Further, we define the \emph{physical time order} for any two operations with disjoint pending periods. The physical time order is obeyed by any real execution in multiprocessor systems due to that it is part of the truly happened operation orders restricted by global clock, and it is then proven to be independent and consistent with traditional logical time orders. The above novel yet fundamental concepts enables new effective approaches for analyzing multiprocessor systems, which are named \emph{pending period analysis} as a whole. As a consequence of pending period analysis, many important problems of multiprocessor systems can be tackled effectively. As a significant application example, complete memory consistency verification, which was known as an NP-hard problem, can be solved with the complexity of $O(n^2)$ (where $n$ is the number of operations). Moreover, the two event ordering problems, which were proven to be Co-NP-Hard and NP-hard respectively, can both be solved with the time complexity of O(n) if restricted by pending period information.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。