1 |
Hi there! |
2 |
|
3 |
I think I have a problem with the system time, which is considerable too slow. |
4 |
It looses about 3 seconds every 20 minutes (i.e. ~10 secs/hour or 4 minutes |
5 |
per day). This seems to be too much for ntp to compensate. |
6 |
|
7 |
When I start ntp, I get frequent "time reset" messages in the log: |
8 |
|
9 |
2009-10-25T03:38:35.738758+01:00 poseidon ntpd[5227]: synchronized to |
10 |
131.130.251.107, stratum 1 |
11 |
2009-10-25T03:47:11.691165+01:00 poseidon ntpd[5227]: time reset +2.952038 s |
12 |
2009-10-25T03:51:15.669040+01:00 poseidon ntpd[5227]: synchronized to |
13 |
LOCAL(0), stratum 10 |
14 |
2009-10-25T03:51:41.690598+01:00 poseidon ntpd[5227]: synchronized to |
15 |
131.130.251.107, stratum 1 |
16 |
2009-10-25T04:06:49.633882+01:00 poseidon ntpd[5227]: time reset +2.943313 s |
17 |
2009-10-25T04:10:14.612358+01:00 poseidon ntpd[5227]: synchronized to |
18 |
LOCAL(0), stratum 10 |
19 |
2009-10-25T04:11:20.612348+01:00 poseidon ntpd[5227]: synchronized to |
20 |
131.130.251.107, stratum 1 |
21 |
|
22 |
I've also tried to start ntpd with "--slew" option, which results in |
23 |
|
24 |
2009-10-26T08:36:20.171483+01:00 poseidon ntpd[21666]: frequency error 733 PPM |
25 |
exceeds tolerance 500 PPM |
26 |
2009-10-26T08:40:25.167171+01:00 poseidon ntpd[21666]: frequency error 737 PPM |
27 |
exceeds tolerance 500 PPM |
28 |
2009-10-26T08:47:05.169388+01:00 poseidon ntpd[21666]: synchronized to |
29 |
78.41.115.216, stratum 2 |
30 |
2009-10-26T08:47:05.169492+01:00 poseidon ntpd[21666]: frequency error 740 PPM |
31 |
exceeds tolerance 500 PPM |
32 |
2009-10-26T08:47:30.168263+01:00 poseidon ntpd[21666]: frequency error 740 PPM |
33 |
exceeds tolerance 500 PPM |
34 |
2009-10-26T08:50:42.168643+01:00 poseidon ntpd[21666]: frequency error 742 PPM |
35 |
exceeds tolerance 500 PPM |
36 |
2009-10-26T08:58:09.172397+01:00 poseidon ntpd[21666]: synchronized to |
37 |
80.64.132.152, stratum 2 |
38 |
... |
39 |
|
40 |
The next thing I've tried is to change the internal clocksource. The original |
41 |
setting was |
42 |
|
43 |
cat /sys/devices/system/clocksource/clocksource0/current_clocksource |
44 |
hpet |
45 |
|
46 |
I've changed it to "acpi_pm" using |
47 |
|
48 |
echo "acpi_pm" |
49 |
>/sys/devices/system/clocksource/clocksource0/current_clocksource |
50 |
|
51 |
but this doesn't seem to have any effect on the drift. |
52 |
|
53 |
I'd like to use this machine as master time server for my local network, but |
54 |
this is useless with such problems. |
55 |
|
56 |
Thanks in advance for any suggestions |
57 |
Alex |
58 |
|
59 |
ps: ntp.conf contains (comments stripped) |
60 |
server pool.ntp.org |
61 |
server 0.gentoo.pool.ntp.org |
62 |
server 1.gentoo.pool.ntp.org |
63 |
server 2.gentoo.pool.ntp.org |
64 |
server 3.gentoo.pool.ntp.org |
65 |
driftfile /var/lib/ntp/ntp.drift |
66 |
restrict default nomodify nopeer |
67 |
restrict 127.0.0.1 |
68 |
restrict 192.168.0.0 mask 255.255.0.0 nomodify nopeer notrap |