在机器之间将时间同步到毫秒精度和精度的最佳方法是什么? [英] What's the best way to synchronize times to millisecond accuracy AND precision between machines?

查看:32
本文介绍了在机器之间将时间同步到毫秒精度和精度的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,PC 上的晶体因时钟偏差而臭名昭著.如果时钟总是倾斜,那么以毫秒精度和精度同步机器之间的时钟的最佳方法是什么?根据我的发现,NTP 和 PTP 是可能的解决方案,但我想知道是否有人在 stackoverflow.com 上有任何经验!

From what I understand, the crystals on PC's are notorious for clock skew. If clocks are always skewing, what is the best way to synchronize clocks between machines with millisecond accuracy and precision? From what I've found, NTP and PTP are possible solutions, but I was wondering if anybody had any experience on stackoverflow.com!

我知道 NTP 是流行的选择,但我想知道是否有人对 PTP (IEEE1588) 有任何经验

I understand NTP is the popular choice, but am wondering if anybody has had any experience with PTP (IEEE1588)

推荐答案

只需运行标准的 NTP 守护进程.

Just run the standard NTP daemon.

它确实可以选择从多个 GPS 设备获取输入以及与网络服务器通信.

It does have options to take input from several GPS devices as well as talking to network servers.

我指的是 http://www.ntp.org/,而不是那个带有 Windows.

I was referring to http://www.ntp.org/, not the one that comes with Windows.

我没有任何关于 NTP 客户端最适合 Windows 的建议,但对于 Unix 机器,没有真正的理由不运行 NTP.

I don't have any suggestion as to what NTP clients are best for windows, but for Unix machines there's no real reason to not run NTP.

这篇关于在机器之间将时间同步到毫秒精度和精度的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆