Re: Getting clock difference of 2 servers upto single digit micros (as close as possible)

2018-11-04 Thread Greg Young
So there is a well known protocol for this (determining relative clocks) from a rather unusual source... chess servers! Many people enjoy playing chess online very quickly (say 1 minute per side), when playing such quick games a small latency difference can make a huge overall difference so it

Re: Getting clock difference of 2 servers upto single digit micros (as close as possible)

2018-11-04 Thread Michael Barker
Not sure if helps, but a colleague of mine wrote a series of block posts about the PTP implementation that we used to meet a suite of regulatory requirements. https://www.lmax.com/blog/staff-blogs/2016/04/08/solving-mifid-ii-clock-synchronisation-minimum-spend-part-7/ Mike. On Sun, 4 Nov 2018

Re: Getting clock difference of 2 servers upto single digit micros (as close as possible)

2018-11-03 Thread Florian Enner
Adding to this, synchronization of distributed clocks is very important in the embedded/automation world and is usually done using IEEE 1588v2 (PTP) which can get to sub-microsecond levels. A lot of microprocessors have hardware

Re: Getting clock difference of 2 servers upto single digit micros (as close as possible)

2018-10-23 Thread Todd Lipcon
https://www.usenix.org/system/files/conference/nsdi18/nsdi18-geng.pdf is also a recent research paper on a similar topic which might be an interesting read if you are interested in time synchronization. -Todd On Tue, Oct 23, 2018 at 8:47 AM Gil Tene wrote: > The mean end-to-end (from writing

Re: Getting clock difference of 2 servers upto single digit micros (as close as possible)

2018-10-23 Thread Gil Tene
The mean end-to-end (from writing to a socket to reading from a socket), round-trip latency across a modern 10G+ can be brought down to 30-40usec on modern hardware with relatively low effort or specialized equipment (e.g. https://blog.cloudflare.com/how-to-achieve-low-latency/), and can be

Getting clock difference of 2 servers upto single digit micros (as close as possible)

2018-10-23 Thread Himanshu Sharma
As the title suggests, consider 2 servers connected via an L3 switch. How can we find the absolute time difference between the clocks running on the servers. I want to go as close as possible. Actually syncing the clocks is not possible due to some constraints so I want to know the time