We modified the start up sequence, because the initial delay could be very big (up to 1 second). With this patch, the initial delay will be trimmed to 5 ms (could currently be configured with the constant in constants.h). When the offset to the master becomes to big, the time will be set absolutly instead of adjusting the system clock slowly using the tick count.
When the difference is small enough (under 5 ms) the algorithms will work just like before.
The behaviour was checked with a system of 7 linux PCs. Every PC had a smaller initial delay to the chosen master.
This patch will work for ptpd 1.0.0
Log in to post a comment.