12

I'd like to synchronize the time on two computers that are connected via Ethernet (with no router in between) and apart from each other 100 or so meters. There are several protocols that do time synchronization, based on my research, but the timing accuracy is not clear. The timing delta I target is less than 10usec. Could this be achieved via Ethernet with careful software planning?

My computers are running Linux and I control every single line of code, therefore I can make the drivers/applications such that during the synchronization event they may run deterministic code as opposed to an open OS where I have no control over which tasks are active.

user4749
  • 223

1 Answers1

21

Take a look at PTP, it can achieve microsecond accuracy over LAN.

Alternatively, you could buy a pair of GPS receivers which generate a tick interrupt every second. GPS time precision is about 40 ns.