找回密码
 新注册用户
搜索
查看: 5147|回复: 1

[求助] 学过分布式系统的进来

[复制链接]
发表于 2009-11-5 04:45:14 | 显示全部楼层 |阅读模式
A client attempts to synchronize with a time server. It records the round-trip times and timestamps returned by
the server in the table below.
Which of these times should it use to set its clock? To what time should it set it? Estimate the accuracy of the
setting with respect to the server’s clock. If it is known that the time between sending and receiving a message
in the system concerned is at least 8 ms, do your answers change?
Round-trip (ms) Time (hr:min:sec)
22                    10:54:23.674
25                    10:54:25.450
20                    10:54:28.342

前面的问题都知道,最后一个问题是If it is known that the time between sending and receiving a message in the system conerne is at least 14ms. how do you answer change?
这个还能用Christian算法吗?到底怎么计算?
回复

使用道具 举报

发表于 2010-3-16 16:47:46 | 显示全部楼层
本帖最后由 (Y) 于 2010-3-16 16:51 编辑

由于信息有限,不知道你说的这个是对现有的PTP协议进行解答。还是进一步进行修正来提高精度。
还有一些默认的信息没有写出来,比如,问题是指一级时钟同步过程,而且延时是ms级,那么应该是普通级别的同步。
如果是为了解题,那可以简单的用时间戳平均值及延时平均值来修正。最后一个变为14ms的,把平均值重新算一下就可以了。

高精度时钟同步可以参见IEEE1588的方法。可以达到0.1微妙级的精度。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 新注册用户

本版积分规则

论坛官方淘宝店开业啦~
欢迎大家多多支持基金会~

Archiver|手机版|小黑屋|中国分布式计算总站 ( 沪ICP备05042587号 )

GMT+8, 2024-5-6 15:42

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表