On Fri, Mar 09, 2018 at 04:30:04PM +0100, Yan Yankovskyi via Linuxptp-users wrote: > I try to reduce logSyncInterval below default value 0, and I am keep > getting 1 sync message per second. I use the same settings for both master > and slave. Increasing of this value works as expected, but decreasing > affects only output format (avg and max value / variance of values for each > field instead of a single value).
I bet you have the summary interval set to one second. The packets really are being sent more often than 1/second. Check with wireshark or tcpdump to confirm. > BTW, in set_tmo_log() function there is a conditional expression > while (tmo.it_value.tv_nsec >= NS_PER_SEC) > In what situation can it be true? After adding time values together. Thanks, Richard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users