Re: [chrony-dev] Slow bootup with git

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On 24/04/2012 11:17, Miroslav Lichvar wrote:
On Tue, Apr 17, 2012 at 09:07:08AM -0700, Bill Unruh wrote:
Mind you the rtc should not take 8 sec to read (it will take a couple, so
perhaps most of that time is chrony starting up), so it is not clear what is
happening.
It collects 8 RTC samples to get an accurate offset for the initial
system clock adjustment. I.e. it waits for 1 + 8 RTC interrupts, the
first one is ignored to avoid a kernel bug, which might have been
fixed long time ago. I think decreasing that number to perhaps 2 or 3
should be fine, but I haven't tried it.

Curious why reducing it is ok? What is the current algorithm for reading the rtc time?

I thought I saw a little while back you had some busylooping to try and find the exact time it rolled? I thought I saw it got removed though - didn't work out? Potentially that reduces the delay to the minimum possible?

I think with boot times coming down there is a desire to try and keep this number reasonable. Even if we background chrony it still means a step/slew hitting late in the boot process when it could be done near the start (when on average we are less clock sensitive)

Thanks for your work on chrony!

Ed W



--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/