On Sun, Jan 28, 2007 at 07:39:55PM +0000, Thorsten Glaser wrote:
> Dirk Nehring dixit:
>
> >> Removed:
> >>    trunk/freewrt/package/openntpd/files/02-offset.patch
> >> Log:
> >> this file is not used, plus we'll always have bigger delays
> >>
> >
> >This is only true if openntpd is running all the time since
> >rebooting. My router timedrift is very high, does this patch hurt
> >anything?
>
> If you start ntpd with -s, it will _set_ the time once before
> reverting to the default _adjusting_ behaviour, but only if
> the time is off _more_ than SETTIME_MIN_OFFSET seconds, i.e.
> three minutes. So if your drift is "very high", it doesn't
> matter.
>
> The patch was intended to force setting the time once if -s
> was used, but since it was not in the patches/ directory,
> it wasn't applied anyway. For "very low" drifts, using the
> standard adjtime() behaviour is "better" anyway, because
> then you don't have jumps in the time scale.

I know that already. I define "very high" >10sec. which takes ages to
sync with adjtime(). I vote for reverting your patch, since it helps to
get the correct time quickly when using "-s" (which is the intention to
make a time jump). We have many trouble with VPN connections when the
time is not fully in sync. IMHO ntpclient does the same.

Dirk
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to