On 2015-06-27, Christian Weisgerber <na...@mips.inka.de> wrote: > After the leap second, your OpenBSD system's time will be off by, > well, one second. Gasp, shock. Let's say you synchronize your > clock with ntpd against a server that does have the correct time. > At the next poll, i.e. within about half an hour, ntpd will notice > the offset and correct it, which will take a few minutes. That's > it. (I expect ntpd will drop down to a short poll interval and the > frequency correction will fishtail a bit since it's a differentiator > reacting to a jump.)
So here's what actually happened, from ntpd -d. Note that this is an instance of ntpd syncing against a single stratum 1 server. Other configurations may have behaved differently. It took ntpd several poll intervals, adding up to 2+ hours, before it was confident that there was a discrepancy to fix. It then proceeded to correct the clock within a few minutes. Eventually the frequency correction went off in one direction, then in the other direction, before settling back to normal. The biggest offset was 1.12 seconds, due to the frequency spike. Now, 12 hours later, the last ripples are slowly dying out. ---------------- adjusting clock frequency by -0.058270 to 34.892007ppm reply from 2001:6f8:124a::8: offset 0.000003 delay 0.000459, next query 1540s reply from 2001:6f8:124a::8: offset 0.000034 delay 0.000486, next query 1542s reply from 2001:6f8:124a::8: offset 0.000025 delay 0.000478, next query 1618s adjusting local clock by 0.000023s reply from 2001:6f8:124a::8: offset -0.000013 delay 0.000480, next query 1622s adjusting local clock by -0.000001s reply from 2001:6f8:124a::8: offset -1.000053 delay 0.000479, next query 1540s reply from 2001:6f8:124a::8: offset -1.000105 delay 0.000483, next query 1607s adjusting local clock by -0.000005s reply from 2001:6f8:124a::8: offset -1.000172 delay 0.000474, next query 1540s adjusting local clock by -0.000015s reply from 2001:6f8:124a::8: offset -1.000229 delay 0.000495, next query 1541s reply from 2001:6f8:124a::8: offset -1.000345 delay 0.000477, next query 1626s adjusting local clock by -1.000157s reply from 2001:6f8:124a::8: offset 0.004668 delay 0.000477, next query 34s reply from 2001:6f8:124a::8: offset 0.004661 delay 0.000461, next query 33s reply from 2001:6f8:124a::8: offset 0.004659 delay 0.000473, next query 33s reply from 2001:6f8:124a::8: offset 0.004634 delay 0.000408, next query 33s reply from 2001:6f8:124a::8: offset 0.004652 delay 0.000474, next query 33s reply from 2001:6f8:124a::8: offset 0.004636 delay 0.000432, next query 31s adjusting local clock by 0.004634s reply from 2001:6f8:124a::8: offset -0.000002 delay 0.000469, next query 322s reply from 2001:6f8:124a::8: offset -0.000026 delay 0.000487, next query 307s reply from 2001:6f8:124a::8: offset -0.000049 delay 0.000469, next query 312s reply from 2001:6f8:124a::8: offset -0.000080 delay 0.000470, next query 307s reply from 2001:6f8:124a::8: offset -0.000120 delay 0.000478, next query 327s reply from 2001:6f8:124a::8: offset -0.000153 delay 0.000451, next query 326s adjusting local clock by 0.000002s reply from 2001:6f8:124a::8: offset -0.000181 delay 0.000489, next query 1524s reply from 2001:6f8:124a::8: offset -0.000362 delay 0.000457, next query 1515s adjusting local clock by -0.000155s adjusting clock frequency by -89.258712 to -54.366706ppm reply from 2001:6f8:124a::8: offset 0.134766 delay 0.000463, next query 1531s reply from 2001:6f8:124a::8: offset 0.271217 delay 0.000486, next query 1612s reply from 2001:6f8:124a::8: offset 0.414885 delay 0.000475, next query 1616s reply from 2001:6f8:124a::8: offset 0.558899 delay 0.000479, next query 1537s reply from 2001:6f8:124a::8: offset 0.695869 delay 0.000481, next query 1568s reply from 2001:6f8:124a::8: offset 0.835581 delay 0.000464, next query 1580s adjusting local clock by -0.000207s reply from 2001:6f8:124a::8: offset 0.976679 delay 0.000477, next query 1585s reply from 2001:6f8:124a::8: offset 1.117877 delay 0.000472, next query 1506s adjusting local clock by 0.134973s reply from 2001:6f8:124a::8: offset 1.117709 delay 0.000482, next query 30s adjusting local clock by 0.700814s reply from 2001:6f8:124a::8: offset 0.421060 delay 0.000472, next query 32s reply from 2001:6f8:124a::8: offset 0.428865 delay 0.000476, next query 30s reply from 2001:6f8:124a::8: offset 0.431493 delay 0.000485, next query 32s reply from 2001:6f8:124a::8: offset 0.434291 delay 0.000475, next query 34s reply from 2001:6f8:124a::8: offset 0.434424 delay 0.000476, next query 30s adjusting local clock by 0.421060s reply from 2001:6f8:124a::8: offset 0.018825 delay 0.000450, next query 31s reply from 2001:6f8:124a::8: offset 0.021542 delay 0.000462, next query 31s reply from 2001:6f8:124a::8: offset 0.023611 delay 0.000462, next query 31s reply from 2001:6f8:124a::8: offset 0.026364 delay 0.000475, next query 33s adjusting local clock by 0.018825s reply from 2001:6f8:124a::8: offset 0.010560 delay 0.000395, next query 63s reply from 2001:6f8:124a::8: offset 0.016199 delay 0.000458, next query 63s reply from 2001:6f8:124a::8: offset 0.021816 delay 0.000468, next query 64s reply from 2001:6f8:124a::8: offset 0.027520 delay 0.000483, next query 64s reply from 2001:6f8:124a::8: offset 0.033221 delay 0.000472, next query 60s adjusting local clock by 0.010560s reply from 2001:6f8:124a::8: offset 0.028059 delay 0.000485, next query 130s reply from 2001:6f8:124a::8: offset 0.039634 delay 0.000479, next query 130s reply from 2001:6f8:124a::8: offset 0.051216 delay 0.000478, next query 122s reply from 2001:6f8:124a::8: offset 0.062083 delay 0.000481, next query 120s adjusting local clock by 0.005639s reply from 2001:6f8:124a::8: offset 0.067186 delay 0.000482, next query 245s adjusting local clock by 0.005617s adjusting clock frequency by 259.137989 to 204.771283ppm reply from 2001:6f8:124a::8: offset 0.019958 delay 0.000481, next query 262s adjusting local clock by 0.011405s reply from 2001:6f8:124a::8: offset -0.035967 delay 0.000457, next query 126s reply from 2001:6f8:124a::8: offset -0.057395 delay 0.000494, next query 127s adjusting local clock by -0.035967s reply from 2001:6f8:124a::8: offset -0.042872 delay 0.000477, next query 32s reply from 2001:6f8:124a::8: offset -0.048318 delay 0.000472, next query 30s reply from 2001:6f8:124a::8: offset -0.053431 delay 0.000455, next query 34s reply from 2001:6f8:124a::8: offset -0.059211 delay 0.000457, next query 34s reply from 2001:6f8:124a::8: offset -0.065001 delay 0.000470, next query 30s reply from 2001:6f8:124a::8: offset -0.070106 delay 0.000442, next query 33s reply from 2001:6f8:124a::8: offset -0.075713 delay 0.000462, next query 30s adjusting local clock by -0.070106s reply from 2001:6f8:124a::8: offset -0.010369 delay 0.000449, next query 32s reply from 2001:6f8:124a::8: offset -0.015807 delay 0.000463, next query 32s reply from 2001:6f8:124a::8: offset -0.021273 delay 0.000441, next query 30s reply from 2001:6f8:124a::8: offset -0.026356 delay 0.000467, next query 34s reply from 2001:6f8:124a::8: offset -0.032143 delay 0.000451, next query 31s reply from 2001:6f8:124a::8: offset -0.037414 delay 0.000448, next query 33s reply from 2001:6f8:124a::8: offset -0.043034 delay 0.000471, next query 31s adjusting local clock by -0.021273s reply from 2001:6f8:124a::8: offset -0.026933 delay 0.000433, next query 64s reply from 2001:6f8:124a::8: offset -0.037804 delay 0.000474, next query 63s reply from 2001:6f8:124a::8: offset -0.048521 delay 0.000529, next query 61s reply from 2001:6f8:124a::8: offset -0.058886 delay 0.000487, next query 63s adjusting local clock by -0.026933s reply from 2001:6f8:124a::8: offset -0.042562 delay 0.000465, next query 32s reply from 2001:6f8:124a::8: offset -0.047999 delay 0.000477, next query 31s reply from 2001:6f8:124a::8: offset -0.053291 delay 0.000438, next query 33s reply from 2001:6f8:124a::8: offset -0.058903 delay 0.000475, next query 30s reply from 2001:6f8:124a::8: offset -0.064014 delay 0.000463, next query 31s adjusting local clock by -0.053291s reply from 2001:6f8:124a::8: offset -0.015727 delay 0.000474, next query 30s reply from 2001:6f8:124a::8: offset -0.020833 delay 0.000465, next query 32s reply from 2001:6f8:124a::8: offset -0.026277 delay 0.000461, next query 34s reply from 2001:6f8:124a::8: offset -0.032072 delay 0.000442, next query 34s reply from 2001:6f8:124a::8: offset -0.037850 delay 0.000453, next query 31s reply from 2001:6f8:124a::8: offset -0.043117 delay 0.000466, next query 30s adjusting local clock by -0.032072s reply from 2001:6f8:124a::8: offset -0.016005 delay 0.000452, next query 31s reply from 2001:6f8:124a::8: offset -0.021282 delay 0.000449, next query 33s reply from 2001:6f8:124a::8: offset -0.026893 delay 0.000455, next query 34s reply from 2001:6f8:124a::8: offset -0.032675 delay 0.000459, next query 33s reply from 2001:6f8:124a::8: offset -0.038305 delay 0.000418, next query 31s reply from 2001:6f8:124a::8: offset -0.043565 delay 0.000458, next query 32s adjusting local clock by -0.038305s adjusting clock frequency by -165.338755 to 39.432528ppm reply from 2001:6f8:124a::8: offset -0.005288 delay 0.000454, next query 32s reply from 2001:6f8:124a::8: offset -0.005434 delay 0.000471, next query 33s reply from 2001:6f8:124a::8: offset -0.005597 delay 0.000455, next query 33s reply from 2001:6f8:124a::8: offset -0.005756 delay 0.000409, next query 31s reply from 2001:6f8:124a::8: offset -0.005909 delay 0.000432, next query 31s reply from 2001:6f8:124a::8: offset -0.006059 delay 0.000429, next query 34s reply from 2001:6f8:124a::8: offset -0.006208 delay 0.000446, next query 33s adjusting local clock by -0.005756s reply from 2001:6f8:124a::8: offset -0.000558 delay 0.000461, next query 241s reply from 2001:6f8:124a::8: offset -0.001707 delay 0.000511, next query 253s reply from 2001:6f8:124a::8: offset -0.002882 delay 0.000435, next query 251s reply from 2001:6f8:124a::8: offset -0.004073 delay 0.000457, next query 240s reply from 2001:6f8:124a::8: offset -0.005209 delay 0.000470, next query 250s adjusting local clock by -0.000303s reply from 2001:6f8:124a::8: offset -0.006072 delay 0.000476, next query 1606s reply from 2001:6f8:124a::8: offset -0.013667 delay 0.000479, next query 1639s adjusting local clock by -0.002578s reply from 2001:6f8:124a::8: offset -0.018815 delay 0.000474, next query 621s reply from 2001:6f8:124a::8: offset -0.021751 delay 0.000474, next query 606s reply from 2001:6f8:124a::8: offset -0.024620 delay 0.000434, next query 583s reply from 2001:6f8:124a::8: offset -0.027362 delay 0.000481, next query 577s adjusting local clock by -0.024620s reply from 2001:6f8:124a::8: offset -0.005362 delay 0.000469, next query 65s reply from 2001:6f8:124a::8: offset -0.005666 delay 0.000473, next query 61s reply from 2001:6f8:124a::8: offset -0.005964 delay 0.000473, next query 60s reply from 2001:6f8:124a::8: offset -0.006242 delay 0.000459, next query 62s reply from 2001:6f8:124a::8: offset -0.006539 delay 0.000487, next query 63s reply from 2001:6f8:124a::8: offset -0.006826 delay 0.000478, next query 65s reply from 2001:6f8:124a::8: offset -0.007135 delay 0.000477, next query 64s adjusting local clock by -0.006242s reply from 2001:6f8:124a::8: offset -0.001142 delay 0.000481, next query 244s reply from 2001:6f8:124a::8: offset -0.002300 delay 0.000470, next query 260s reply from 2001:6f8:124a::8: offset -0.003536 delay 0.000447, next query 246s reply from 2001:6f8:124a::8: offset -0.004685 delay 0.000503, next query 263s reply from 2001:6f8:124a::8: offset -0.005921 delay 0.000481, next query 259s adjusting local clock by -0.003536s reply from 2001:6f8:124a::8: offset -0.003571 delay 0.000463, next query 425s reply from 2001:6f8:124a::8: offset -0.005578 delay 0.000479, next query 430s reply from 2001:6f8:124a::8: offset -0.007616 delay 0.000464, next query 443s reply from 2001:6f8:124a::8: offset -0.009701 delay 0.000468, next query 448s reply from 2001:6f8:124a::8: offset -0.011807 delay 0.000477, next query 442s reply from 2001:6f8:124a::8: offset -0.013890 delay 0.000474, next query 442s adjusting local clock by -0.003571s reply from 2001:6f8:124a::8: offset -0.012399 delay 0.000493, next query 431s reply from 2001:6f8:124a::8: offset -0.014448 delay 0.000467, next query 440s reply from 2001:6f8:124a::8: offset -0.016530 delay 0.000481, next query 428s adjusting local clock by -0.004045s adjusting clock frequency by -4.210994 to 35.221534ppm reply from 2001:6f8:124a::8: offset -0.012709 delay 0.000477, next query 392s reply from 2001:6f8:124a::8: offset -0.012915 delay 0.000474, next query 384s adjusting local clock by -0.010403s reply from 2001:6f8:124a::8: offset -0.002664 delay 0.000473, next query 127s reply from 2001:6f8:124a::8: offset -0.002731 delay 0.000483, next query 121s reply from 2001:6f8:124a::8: offset -0.002785 delay 0.000490, next query 121s reply from 2001:6f8:124a::8: offset -0.002853 delay 0.000475, next query 120s reply from 2001:6f8:124a::8: offset -0.002909 delay 0.000490, next query 121s adjusting local clock by -0.002664s reply from 2001:6f8:124a::8: offset -0.000312 delay 0.000475, next query 586s -- Christian "naddy" Weisgerber na...@mips.inka.de