logoalt Hacker News

catoctoday at 5:53 AM5 repliesview on HN

So then you need to know distance / roundtrip-length within centimeter precision as well (below 29.98 cm for sub-nanosecond precision… to be precise).

Since cm precision is often not possible, is roundtrip-length an estimated average from prior roundtrips?


Replies

fshtoday at 6:51 AM

The roundtrip time is measured and compensated. Even NTP does this. Knowing the distance is not necessary for time synchronization.

RossBencinatoday at 9:34 AM

gPTP estimates the link delay and the peer clock ratio, see for example this random link I just found for you: https://blog.meinbergglobal.com/2024/03/27/what-is-gptp/

Gravitylosstoday at 9:56 AM

Hmm one would expect heat expansion to change the length of fiber over tens of kilometers. Does it also affect light speed in the fiber? I think consumer fiber is not buried very deep on average, but maybe for these use cases you use something hefty anyway.

netjirotoday at 6:50 AM

delay is easy

jitter kills

numpad0today at 10:09 AM

... why would cm precision be often not possible?