Meta 上的简单精确时间协议

  • While deploying Precision Time Protocol (PTP) at Meta, we’ve developed a simplified version of the protocol (Simple Precision Time Protocol – SPTP), that can offer the same level of clock synchronization as unicast PTPv2 more reliably and with fewer resources.
  • 在Meta部署精密时间协议(PTP)时,我们开发了一个简化版本的协议(Simple Precision Time Protocol - SPTP),可以更可靠地以更少的资源提供与单播PTPv2相同级别的时钟同步。
  • In our own tests, SPTP boasts comparable performance to PTP, but with significant improvements in CPU, memory, and network utilization.
  • 根据我们自己的测试,SPTP在性能上与PTP相当,但在CPU、内存和网络利用方面有显著改进。
  • We’ve made the source code for the SPTP client and server available on GitHub.
  • 我们已经在GitHub上提供了SPTP客户端和服务器的源代码。

We’ve previously spoken in great detail about how Precision Time Protocol is being deployed at Meta, including the protocol itself and Meta’s precision time architecture.

我们之前详细介绍了Meta如何部署精确时间协议,包括协议本身和Meta的精确时间架构。

As we deployed PTP into one of our data centers, we were also evaluating and testing alternative PTP clients. In doing so, we soon realized that we could eliminate a lot of complexity in the PTP protocol itself that we experienced during data center deployments while still maintaining complete hardware compatibility with our existing equipment.

当我们将PTP部署到其中一个数据中心时,我们还在评估和测试替代的PTP客户端。在这个过程中,我们很快意识到,我们可以消除PTP协议本身在数据中心部署过程中遇到的许多复杂性,同时仍然与我们现有设备完全兼容。

This is how the idea of Simple Precision Time Protocol (SPTP) was born. 

这就是简单精确时间协议(SPTP)的诞生。

But before we dive under the hood of SPTP we should explore why the IEEE 1588 G8265.1 and G8275.2 unicast profiles (here, we just call them PTP) weren’t a perfect fit for our data center deployment.

但在我们深入了解SPTP之前,我们应该探讨一下为什么IEEE 1588 G8265.1G8275.2单播配置文件(我们简称为PTP)并不完全适用于我们的数据中心部署。

PTP and its limitations

PTP及其局限性

Excessive network communication

过多的网络通信

A typical IEEE 1588-2019 two-step PTPv2 unicast UDP flow consists of the following exchange:

一个典型的IEEE 1588-2019两步PTPv2单播UDP流程包括以下交换:

Figure 1: Typical two-step PTPv2 exchange.

图1:典型的两步PTPv2交换。

This sequence repeats either in full or in part depending on the negotiation res...

开通本站会员,查看完整译文。

ホーム - Wiki
Copyright © 2011-2024 iteam. Current version is 2.129.0. UTC+08:00, 2024-07-06 11:06
浙ICP备14020137号-1 $お客様$