Re: [chrony-users] Using cellular network clock as refclock in chrony |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Using cellular network clock as refclock in chrony
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Wed, 31 Jul 2024 14:58:09 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1722430695; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1PB+eM8N//NW66f8SMyjkl55c4lZ6RPgN6tFhm5jhh8=; b=QAwpBgUj+sy4l82zUXQDrQOeP2onYG5dWczpRqdpue+wdW9/mcaV0XDt1VAKWKBFCsQD/S MuBPdiiQul/ECGSulmJP6HvciK9FqgoI68rqwiTY3r2yJsv1jsrVrNDpZuCkFU6/nmxFGr TzvfoMXOtpynx7l7F6R09P5aYkW5tII=
On Wed, Jul 31, 2024 at 09:47:05AM +0000, Amol Lad wrote:
> Is there a way to dynamically adjust these parameters? For example, at startup, the settings can be 'poll 1 filter 1' and my application sends samples every second. After the source is selected, my application can slow down to send samples once every 5 seconds, and the 'filter' can return to its default value and 'poll' can be set to 3."
> Alternatively, can I always use "poll 1 filter 1" irrespective of my application sending samples every seconds or once every 5 seconds?
It cannot be changed in runtime. If you provide samples at a longer
interval than the SOCK polling interval, the reachability register as
shown by chronyc sources will have zeroes, but synchronization should
still work as expected.
> What are the drawbacks of setting 'poll 1 filter 1'?
Less filtering can cause less stable synchronization of the system clock.
--
Miroslav Lichvar
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.