Re: [ntp:questions] Speed of ntp convergence

2008-12-29 Thread Hal Murray
>> I'm missing something. My setup doesn't die. It just steps the clock, >> and repeats the drift-off then step dance several times until the drift >> gets close enough. >Maybe you aren't running Linux? That's what I'm running. -- These are my opinions, not necessarily my employer's. I hate

Re: [ntp:questions] Speed of ntp convergence

2008-12-29 Thread Richard B. Gilbert
Hal Murray wrote: >> And if it is the frequency that is out ( as it always will be these days of >> linux because of the bugs in the kernel frequency standardisation) then >> that one step will not kick in until about an hour later ( and the system >> could die a horrible death, because the phase o

Re: [ntp:questions] Speed of ntp convergence

2008-12-29 Thread Hal Murray
>And if it is the frequency that is out ( as it always will be these days of >linux because of the bugs in the kernel frequency standardisation) then >that one step will not kick in until about an hour later ( and the system >could die a horrible death, because the phase offset intially is correct

Re: [ntp:questions] Speed of ntp convergence

2008-12-28 Thread Danny Mayer
Richard B. Gilbert wrote: > Unruh wrote: >> I should NOT have to check up on the drift file to see if it is correct. >> That is the computer's job. ntp should NOT take 10 hours to correct a wrong >> drift file. With a 16 sec poll, ntp should NOT have a 1 hour time constant. > > Your opinion! The

Re: [ntp:questions] Speed of ntp convergence

2008-12-28 Thread Unruh
ma...@ntp.isc.org (Danny Mayer) writes: >Richard B. Gilbert wrote: >> Unruh wrote: >>> I should NOT have to check up on the drift file to see if it is correct. >>> That is the computer's job. ntp should NOT take 10 hours to correct a wrong >>> drift file. With a 16 sec poll, ntp should NOT have a

Re: [ntp:questions] Speed of ntp convergence

2008-12-27 Thread Danny Mayer
Richard B. Gilbert wrote: > Unruh wrote: >> I should NOT have to check up on the drift file to see if it is correct. >> That is the computer's job. ntp should NOT take 10 hours to correct a wrong >> drift file. With a 16 sec poll, ntp should NOT have a 1 hour time constant. > > Your opinion! The

Re: [ntp:questions] Speed of ntp convergence

2008-11-07 Thread Bill Unruh
The key seems to be the lines: etemp = min(mu, (u_long)ULOGTOD(sys_poll)); dtemp = 4 * CLOCK_PLL * ULOGTOD(sys_poll); plladj = fp_offset * etemp / (dtemp * dtemp); Ie if we assume that the etemp is determined by the poll interval, we have plladj=fp_offset /(16*CLOCK_PLL^2*(Sy

Re: [ntp:questions] Speed of ntp convergence

2008-11-06 Thread David J Taylor
Martin Burnicki wrote: > David J Taylor wrote: [] > As mentioned in another reply, AFAIR older versions of the NTP daemon > did converge quite a bit faster than recent versions. [] >> version="ntpd 4.2.0-a Sun May 8 06:01:21 UTC 2005 (1)" > > Now the question is how a recent version of ntpd woul

Re: [ntp:questions] Speed of ntp convergence

2008-11-06 Thread Martin Burnicki
Hal Murray wrote: >>Note, if you are running gps, why have a poll level 6? The recommendation >>for ref- clocks is poll level 4? > > Where/who does that recommendation come from? I don't have seen this recommendation on the internet, but from our experience with the devices we sell initial conver

Re: [ntp:questions] Speed of ntp convergence

2008-11-06 Thread Martin Burnicki
David J Taylor wrote: > Unruh wrote: > [] >> An hour later, it was still 7ms off, another hour, 2.6ms and another >> hour >> later, still 1.2 ms off. Ie, only after about 6 hours was it within a >> ms of >> the correct time. Now, usually this PPS controls the time to within >> about 2us (not ms, us

Re: [ntp:questions] Speed of ntp convergence

2008-11-06 Thread Martin Burnicki
Unruh wrote: > Evandro Menezes <[EMAIL PROTECTED]> writes: > Sure. Mine is a stock Linux PC hardware, and running 4.2.4p4, not 4.2.0 > > It is possible a bug has crept into the software, AFAIR older versions of ntpd *did* converge quite a bit faster than the current -stable and -dev versions. I'm

Re: [ntp:questions] Speed of ntp convergence

2008-11-06 Thread Martin Burnicki
David Woolley wrote: > Nicola Berndt wrote: > >> >> What really bothers me is that ntp is totally capable of telling me its >> offset (and so how wrong the time /being served/ is) but not capable of > > Careful. The theory behind ntpd is that, in normal operation, offset > consists only of meas

Re: [ntp:questions] Speed of ntp convergence

2008-11-05 Thread David J Taylor
Nicola Berndt wrote: [] > I just recently tested my ntp-(pps-)machine in a large open hall and > found it to be unable to settle down even after a day! It looks like > the temperature changes in this open hall environment make the machine > jitter with values between -200 and 200 ms regularly and >

Re: [ntp:questions] Speed of ntp convergence

2008-11-05 Thread Unruh
I will top post this reply since there is too much garbled nonesense. ntp is capable of disciplining the local clock on a run of the mill PC with a $60 GPS receiver to a few microseconds. So lets take that as the standard. The question I have is why, given a poll interval of 16 seconds, the tim

Re: [ntp:questions] Speed of ntp convergence

2008-11-05 Thread David Woolley
Nicola Berndt wrote: > > What really bothers me is that ntp is totally capable of telling me its > offset (and so how wrong the time /being served/ is) but not capable of Careful. The theory behind ntpd is that, in normal operation, offset consists only of measurement error, not of real clock

Re: [ntp:questions] Speed of ntp convergence

2008-11-05 Thread Nicola Berndt
David Woolley schrieb: > Speechless wrote: > > >> b) you are experiencing a genuine problem not encountered by anyone else >> > > Lots of people report poor startup behaviour. Two have abandoned ntpd > on this newsgroup in the last few weeks because of this. > > >> It should not be nec

Re: [ntp:questions] Speed of ntp convergence

2008-11-05 Thread David Woolley
Speechless wrote: > b) you are experiencing a genuine problem not encountered by anyone else Lots of people report poor startup behaviour. Two have abandoned ntpd on this newsgroup in the last few weeks because of this. > > It should not be necessary to spell it out for you that if you are >

Re: [ntp:questions] Speed of ntp convergence

2008-11-05 Thread Speechless
On Mon, 03 Nov 2008 06:25:15 +, Unruh wrote: > Speechless <[EMAIL PROTECTED]> writes: > >>On Sat, 01 Nov 2008 03:17:15 +, Unruh wrote: > >>> Just another data point on the behaviour of ntp. My ntp went down ( >>> due to something removing the ntp user from the password file). > >>Someth

Re: [ntp:questions] Speed of ntp convergence

2008-11-03 Thread Richard B. Gilbert
Unruh wrote: > "Richard B. Gilbert" <[EMAIL PROTECTED]> writes: > >> David Woolley wrote: >>> Richard B. Gilbert wrote: >>> Your opinion! The designers/developers evidently disagree. >>> Designer, singular, as far as these issues are concerned. >>> >>> At least two new people have disagreed

Re: [ntp:questions] Speed of ntp convergence

2008-11-03 Thread Unruh
"Richard B. Gilbert" <[EMAIL PROTECTED]> writes: >David Woolley wrote: >> Richard B. Gilbert wrote: >> >>> >>> Your opinion! The designers/developers evidently disagree. >> >> Designer, singular, as far as these issues are concerned. >> >> At least two new people have disagreed with the design

Re: [ntp:questions] Speed of ntp convergence

2008-11-03 Thread Richard B. Gilbert
David Woolley wrote: > Richard B. Gilbert wrote: > >> >> Your opinion! The designers/developers evidently disagree. > > Designer, singular, as far as these issues are concerned. > > At least two new people have disagreed with the designer, recently, on > the newsgroup, and decided that NTP is

Re: [ntp:questions] Speed of ntp convergence

2008-11-03 Thread David Woolley
Richard B. Gilbert wrote: > > Your opinion! The designers/developers evidently disagree. Designer, singular, as far as these issues are concerned. At least two new people have disagreed with the designer, recently, on the newsgroup, and decided that NTP is unsuitable for their application be

Re: [ntp:questions] Speed of ntp convergence

2008-11-03 Thread Ryan Malayter
On Sun, Nov 2, 2008 at 3:27 PM, David Woolley <[EMAIL PROTECTED]> wrote: > Richard B. Gilbert wrote: >> The internet of today is similar. It may be a little better but I >> wouldn't count on it! > For one thing, the components from which it is made are 1,000 times > faster and have 1,000 times the

Re: [ntp:questions] Speed of ntp convergence

2008-11-03 Thread Richard B. Gilbert
Unruh wrote: > "Richard B. Gilbert" <[EMAIL PROTECTED]> writes: > >> Unruh wrote: >>> "Richard B. Gilbert" <[EMAIL PROTECTED]> writes: >>> Unruh wrote: > "Richard B. Gilbert" <[EMAIL PROTECTED]> writes: > >> Unruh wrote: >>> "David J Taylor" <[EMAIL PROTECTED]> writes: >>>

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread Unruh
Speechless <[EMAIL PROTECTED]> writes: >On Sat, 01 Nov 2008 03:17:15 +, Unruh wrote: >> Just another data point on the behaviour of ntp. My ntp went down ( due >> to something removing the ntp user from the password file). >Something? FULL STOP! I'd consider the machine to be compromised

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread Unruh
"Richard B. Gilbert" <[EMAIL PROTECTED]> writes: >Unruh wrote: >> "Richard B. Gilbert" <[EMAIL PROTECTED]> writes: >> >>> Unruh wrote: "Richard B. Gilbert" <[EMAIL PROTECTED]> writes: > Unruh wrote: >> "David J Taylor" <[EMAIL PROTECTED]> writes: >> >>> Hal Murray wrote:

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread Speechless
On Sat, 01 Nov 2008 03:17:15 +, Unruh wrote: > Just another data point on the behaviour of ntp. My ntp went down ( due > to something removing the ntp user from the password file). Something? FULL STOP! I'd consider the machine to be compromised and in need of a rebuild from scratch. Roo

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread Richard B. Gilbert
Unruh wrote: > "Richard B. Gilbert" <[EMAIL PROTECTED]> writes: > >> Unruh wrote: >>> "Richard B. Gilbert" <[EMAIL PROTECTED]> writes: >>> Unruh wrote: > "David J Taylor" <[EMAIL PROTECTED]> writes: > >> Hal Murray wrote: > Try switching it off, changing the value int he d

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread Richard B. Gilbert
David Woolley wrote: > Richard B. Gilbert wrote: > >> >> The internet of today is similar. It may be a little better but I >> wouldn't count on it! >> > For one thing, the components from which it is made are 1,000 times > faster and have 1,000 times the memory. > > (There are other difference

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread Unruh
"Richard B. Gilbert" <[EMAIL PROTECTED]> writes: >Unruh wrote: >> "Richard B. Gilbert" <[EMAIL PROTECTED]> writes: >> >>> Unruh wrote: "David J Taylor" <[EMAIL PROTECTED]> writes: > Hal Murray wrote: Try switching it off, changing the value int he drift file by say

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread David Woolley
Richard B. Gilbert wrote: > > The internet of today is similar. It may be a little better but I > wouldn't count on it! > For one thing, the components from which it is made are 1,000 times faster and have 1,000 times the memory. (There are other differences, like the de-skilling of sytem ma

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread Richard B. Gilbert
Unruh wrote: > "Richard B. Gilbert" <[EMAIL PROTECTED]> writes: > >> Unruh wrote: >>> "David J Taylor" <[EMAIL PROTECTED]> writes: >>> Hal Murray wrote: >>> Try switching it off, changing the value int he drift file by say >>> 50PPM and >>> then switching it on again, and see how

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread Richard B. Gilbert
David Woolley wrote: > Richard B. Gilbert wrote: > >> preferred algorithm! Dave designed ntpd to cope with the, usually >> horrible, behavior of the internet. This is not necessarily the best > > That was the internet of some 20 years ago. The internet of today is similar. It may be a littl

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread Unruh
"Richard B. Gilbert" <[EMAIL PROTECTED]> writes: >Unruh wrote: >> "David J Taylor" <[EMAIL PROTECTED]> writes: >> >>> Hal Murray wrote: >> Try switching it off, changing the value int he drift file by say >> 50PPM and >> then switching it on again, and see how long it takes to recover

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread David Woolley
Richard B. Gilbert wrote: > preferred algorithm! Dave designed ntpd to cope with the, usually > horrible, behavior of the internet. This is not necessarily the best That was the internet of some 20 years ago. ___ questions mailing list questions@li

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread Richard B. Gilbert
Unruh wrote: > "David J Taylor" <[EMAIL PROTECTED]> writes: > >> Hal Murray wrote: > Try switching it off, changing the value int he drift file by say > 50PPM and > then switching it on again, and see how long it takes to recover > from that. Why would I do that? The drift va

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread Unruh
"David J Taylor" <[EMAIL PROTECTED]> writes: >Hal Murray wrote: Try switching it off, changing the value int he drift file by say 50PPM and then switching it on again, and see how long it takes to recover from that. >> >>> Why would I do that? The drift values rarely change by

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread Unruh
"David J Taylor" <[EMAIL PROTECTED]> writes: >Unruh wrote: >[] >> So how long does it take your system to correct a bad drift file? >Oh, much longer, but that just suggests that your drift file is bad, not >any inherent fault in NTP. Note, if you are running gps, why have a poll level 6?

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread David J Taylor
Unruh wrote: [] > So how long does it take your system to correct a bad drift file? Oh, much longer, but that just suggests that your drift file is bad, not any inherent fault in NTP. >>> Note, if you are running gps, why have a poll level 6? The >>> recommendation >>> for ref- clocks is poll l

Re: [ntp:questions] Speed of ntp convergence

2008-11-02 Thread David J Taylor
Hal Murray wrote: >>> Try switching it off, changing the value int he drift file by say >>> 50PPM and >>> then switching it on again, and see how long it takes to recover >>> from that. > >> Why would I do that? The drift values rarely change by more than >> five, certainly not by 50. If you are

Re: [ntp:questions] Speed of ntp convergence

2008-11-01 Thread Unruh
"David J Taylor" <[EMAIL PROTECTED]> writes: >Unruh wrote: >[] >> Nope, it is not my "ssytem" if by that you mean my computer. The >> convergence is a beautiful exponential convergence with a time scale >> of 1 >> hour almost exactly. That is not hardware. That is the software ntp >> protocol. >J

Re: [ntp:questions] Speed of ntp convergence

2008-11-01 Thread Hal Murray
>Note, if you are running gps, why have a poll level 6? The recommendation >for ref- clocks is poll level 4? Where/who does that recommendation come from? -- These are my opinions, not necessarily my employer's. I hate spam. ___ questions mailing li

Re: [ntp:questions] Speed of ntp convergence

2008-11-01 Thread Hal Murray
>> Try switching it off, changing the value int he drift file by say >> 50PPM and >> then switching it on again, and see how long it takes to recover from >> that. >Why would I do that? The drift values rarely change by more than five, >certainly not by 50. If you are seeing a change of 50, the

Re: [ntp:questions] Speed of ntp convergence

2008-11-01 Thread David J Taylor
Unruh wrote: [] > Nope, it is not my "ssytem" if by that you mean my computer. The > convergence is a beautiful exponential convergence with a time scale > of 1 > hour almost exactly. That is not hardware. That is the software ntp > protocol. Just along the lines that if my system converges in 10

Re: [ntp:questions] Speed of ntp convergence

2008-11-01 Thread Unruh
"David J Taylor" <[EMAIL PROTECTED]> writes: >Unruh wrote: >[] >> An hour later, it was still 7ms off, another hour, 2.6ms and another >> hour >> later, still 1.2 ms off. Ie, only after about 6 hours was it within a >> ms of >> the correct time. Now, usually this PPS controls the time to within >>

Re: [ntp:questions] Speed of ntp convergence

2008-11-01 Thread Unruh
Evandro Menezes <[EMAIL PROTECTED]> writes: >Could it be a poor crystal being affected by the temperature change? >After all, even with a solid PPS, the system time is controlled by its >crystals. Nope. As I said it is a beautiful exponential convergence of the phase offset with a time scale of a

Re: [ntp:questions] Speed of ntp convergence

2008-11-01 Thread Evandro Menezes
Could it be a poor crystal being affected by the temperature change? After all, even with a solid PPS, the system time is controlled by its crystals. David showed data for his Sun system and even x86 systems by Sun have pretty good crystals. HTH ___ qu

Re: [ntp:questions] Speed of ntp convergence

2008-11-01 Thread David J Taylor
David J Taylor wrote: [] > As a comparison, I have a very old Pentium 133 system here running > FreeBSD with local GPS PPS and some other Internet-based stratum 2/3 > servers (probably NTP pool and a fixed name). I'm sure it's well > within a few minutes for it to reach it's full accuracy (tens of

Re: [ntp:questions] Speed of ntp convergence

2008-11-01 Thread David J Taylor
Unruh wrote: [] > An hour later, it was still 7ms off, another hour, 2.6ms and another > hour > later, still 1.2 ms off. Ie, only after about 6 hours was it within a > ms of > the correct time. Now, usually this PPS controls the time to within > about 2us (not ms, usec) but it is apparently going t

[ntp:questions] Speed of ntp convergence

2008-10-31 Thread Unruh
Just another data point on the behaviour of ntp. My ntp went down ( due to something removing the ntp user from the password file). When I brought it back up again, the time was out and I think the drift file was out. I have three sources-- a stratum 2 nearby server, a distant stratum 1 server