* System clock running too fast
@ 2004-05-25 17:39 Michael Buesch
2004-05-25 18:13 ` Petri Kaukasoina
` (3 more replies)
0 siblings, 4 replies; 10+ messages in thread
From: Michael Buesch @ 2004-05-25 17:39 UTC (permalink / raw)
To: linux kernel mailing list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I've got the problem with my server, that the system-clock
is running really fast. It's running over one second too
fast in one hour (aproximately).
The CPU of this machine is underclocked.
It's a Pentium-1 133Mhz running at 75Mhz. All other hardware
is running in its specifications. Can underclocking the CPU
make the clock running faster? (I never saw a clock running
slower on overclocked CPUs. 8-) )
root@server:~> uname -r
2.4.26-grsec
root@server:~> cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 2
model name : Pentium 75 - 200
stepping : 12
cpu MHz : 75.172
fdiv_bug : no
hlt_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8
bogomips : 149.91
- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAs4ThFGK1OIvVOP4RAk/5AKCJH2XinQupYoYVU0X9uMIJFxb7VwCfTSQ4
cwGH1+bb6XXBxA3XcXLh4cU=
=krSc
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: System clock running too fast
2004-05-25 17:39 System clock running too fast Michael Buesch
@ 2004-05-25 18:13 ` Petri Kaukasoina
2004-05-25 18:45 ` Felipe Alfaro Solana
` (2 subsequent siblings)
3 siblings, 0 replies; 10+ messages in thread
From: Petri Kaukasoina @ 2004-05-25 18:13 UTC (permalink / raw)
To: linux kernel mailing list
On Tue, May 25, 2004 at 07:39:45PM +0200, Michael Buesch wrote:
> I've got the problem with my server, that the system-clock
> is running really fast. It's running over one second too
> fast in one hour (aproximately).
Try tickadj (comes with ntpd):
tickadj 9997
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: System clock running too fast
2004-05-25 17:39 System clock running too fast Michael Buesch
2004-05-25 18:13 ` Petri Kaukasoina
@ 2004-05-25 18:45 ` Felipe Alfaro Solana
2004-05-25 18:49 ` Michael Buesch
2004-05-25 19:46 ` Benoît Dejean
2004-05-25 20:50 ` john stultz
3 siblings, 1 reply; 10+ messages in thread
From: Felipe Alfaro Solana @ 2004-05-25 18:45 UTC (permalink / raw)
To: Michael Buesch; +Cc: linux kernel mailing list
On Tue, 2004-05-25 at 19:39, Michael Buesch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I've got the problem with my server, that the system-clock
> is running really fast. It's running over one second too
> fast in one hour (aproximately).
Have you tried enabling CONFIG_HPET_TIMER *or* CONFIG_X86_PM_TIMER to
see if it helps? They support high accuracy timers.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: System clock running too fast
2004-05-25 18:45 ` Felipe Alfaro Solana
@ 2004-05-25 18:49 ` Michael Buesch
2004-05-25 19:13 ` Felipe Alfaro Solana
0 siblings, 1 reply; 10+ messages in thread
From: Michael Buesch @ 2004-05-25 18:49 UTC (permalink / raw)
To: Felipe Alfaro Solana; +Cc: linux kernel mailing list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 25 May 2004 20:45, you wrote:
> Have you tried enabling CONFIG_HPET_TIMER *or* CONFIG_X86_PM_TIMER to
> see if it helps? They support high accuracy timers.
Do they need special hardware support, that may be
unavailable in such an old machine? You remember it's
a Pentium 1 Socket 7 With EDO Ram.
If not, I will try the options on my next planned kernel-update.
- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAs5UuFGK1OIvVOP4RAs0HAJ92YmqGps1iKEibRaFsJPdlERoP5gCgj1qL
bTa7dFBC9NHk0QfIUP42/aM=
=Lhlo
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: System clock running too fast
2004-05-25 18:49 ` Michael Buesch
@ 2004-05-25 19:13 ` Felipe Alfaro Solana
0 siblings, 0 replies; 10+ messages in thread
From: Felipe Alfaro Solana @ 2004-05-25 19:13 UTC (permalink / raw)
To: Michael Buesch; +Cc: linux kernel mailing list
On Tue, 2004-05-25 at 20:49, Michael Buesch wrote:
> On Tuesday 25 May 2004 20:45, you wrote:
> > Have you tried enabling CONFIG_HPET_TIMER *or* CONFIG_X86_PM_TIMER to
> > see if it helps? They support high accuracy timers.
>
> Do they need special hardware support, that may be
> unavailable in such an old machine? You remember it's
> a Pentium 1 Socket 7 With EDO Ram.
> If not, I will try the options on my next planned kernel-update.
Oops... I didn't notice the Pentium I stuff. This discards
CONFIG_HPET_TIMER and will probably leave the CONFIG_X86_PM_TIMER out
as, AFAIK, it depends on ACPI. I don't know if your machine does have a
working ACPI implementation, even more if it will be able to support
CONFIG_X86_PM_TIMER. So, I must confess my total ignorance on such an
old hardware. Anyone?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: System clock running too fast
2004-05-25 17:39 System clock running too fast Michael Buesch
2004-05-25 18:13 ` Petri Kaukasoina
2004-05-25 18:45 ` Felipe Alfaro Solana
@ 2004-05-25 19:46 ` Benoît Dejean
2004-05-25 20:25 ` Richard B. Johnson
2004-05-25 20:50 ` john stultz
3 siblings, 1 reply; 10+ messages in thread
From: Benoît Dejean @ 2004-05-25 19:46 UTC (permalink / raw)
To: Michael Buesch; +Cc: linux kernel mailing list
Le mar, 25/05/2004 à 19:39 +0200, Michael Buesch a écrit :
> Hi,
>
> I've got the problem with my server, that the system-clock
> is running really fast. It's running over one second too
> fast in one hour (aproximately).
you should adjust it with adjtimex (there's a debian package)
--
Benoît Dejean
JID: TazForEver@jabber.org
http://gdesklets.gnomedesktop.org
http://www.paulla.asso.fr
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: System clock running too fast
2004-05-25 19:46 ` Benoît Dejean
@ 2004-05-25 20:25 ` Richard B. Johnson
2004-05-25 20:34 ` Michael Buesch
2004-05-25 20:43 ` Benoît Dejean
0 siblings, 2 replies; 10+ messages in thread
From: Richard B. Johnson @ 2004-05-25 20:25 UTC (permalink / raw)
To: Benoît Dejean; +Cc: Michael Buesch, linux kernel mailing list
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=UTF-8, Size: 817 bytes --]
On Tue, 25 May 2004, [ISO-8859-1] Benoît Dejean wrote:
> Le mar, 25/05/2004 à 19:39 +0200, Michael Buesch a écrit :
> > Hi,
> >
> > I've got the problem with my server, that the system-clock
> > is running really fast. It's running over one second too
> > fast in one hour (aproximately).
>
> you should adjust it with adjtimex (there's a debian package)
>
Ahahh.. Did you accidentally set CONFIG_MELAN in .config? That would
do about 1 second fast per hour. If not, then do: echo "">/etc/adjtime
(used to be you could delete it), now I think you
need to truncate it. Sometimes this file gets corrupt and
it takes many settings of stime to undue the corrupt-ness.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.26 on an i686 machine (5570.56 BogoMips).
Note 96.31% of all statistics are fiction.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: System clock running too fast
2004-05-25 20:25 ` Richard B. Johnson
@ 2004-05-25 20:34 ` Michael Buesch
2004-05-25 20:43 ` Benoît Dejean
1 sibling, 0 replies; 10+ messages in thread
From: Michael Buesch @ 2004-05-25 20:34 UTC (permalink / raw)
To: root; +Cc: linux kernel mailing list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 25 May 2004 22:25, Richard B. Johnson wrote:
> Ahahh.. Did you accidentally set CONFIG_MELAN in .config? That would
mb@server:~/kernel> cat .config |grep MELAN
# CONFIG_MELAN is not set
> do about 1 second fast per hour. If not, then do: echo "">/etc/adjtime
> (used to be you could delete it), now I think you
> need to truncate it. Sometimes this file gets corrupt and
> it takes many settings of stime to undue the corrupt-ness.
Done. Let's see if it works.
- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAs63UFGK1OIvVOP4RAob7AKCdKfq0CZ4bO1bU2/4JVmz+qReX8ACfShMA
PkLDDsstNG6geWzQImh1ur0=
=bYEy
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: System clock running too fast
2004-05-25 20:25 ` Richard B. Johnson
2004-05-25 20:34 ` Michael Buesch
@ 2004-05-25 20:43 ` Benoît Dejean
1 sibling, 0 replies; 10+ messages in thread
From: Benoît Dejean @ 2004-05-25 20:43 UTC (permalink / raw)
To: root; +Cc: Michael Buesch, linux kernel mailing list
Le mar, 25/05/2004 à 16:25 -0400, Richard B. Johnson a écrit :
> On Tue, 25 May 2004, [ISO-8859-1] Benot Dejean wrote:
>
> > Le mar, 25/05/2004 à 19:39 +0200, Michael Buesch a écrit :
> > > Hi,
> > >
> > > I've got the problem with my server, that the system-clock
> > > is running really fast. It's running over one second too
> > > fast in one hour (aproximately).
> >
> > you should adjust it with adjtimex (there's a debian package)
> >
>
> Ahahh.. Did you accidentally set CONFIG_MELAN in .config? That would
> do about 1 second fast per hour. If not, then do: echo "">/etc/adjtime
> (used to be you could delete it), now I think you
> need to truncate it. Sometimes this file gets corrupt and
> it takes many settings of stime to undue the corrupt-ness.
no
cat /etc/adjtime
-0.541692 1084270031 0.000000
1084270031
LOCAL
before, my /etc/adjtime was empty, i was loosing 4.36s / 24H
i sync my clock every 15days, and the difference is always < 0.1s (-0.04
average)
so i'm pretty happy with it
--
Benoît Dejean
JID: TazForEver@jabber.org
http://gdesklets.gnomedesktop.org
http://www.paulla.asso.fr
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: System clock running too fast
2004-05-25 17:39 System clock running too fast Michael Buesch
` (2 preceding siblings ...)
2004-05-25 19:46 ` Benoît Dejean
@ 2004-05-25 20:50 ` john stultz
3 siblings, 0 replies; 10+ messages in thread
From: john stultz @ 2004-05-25 20:50 UTC (permalink / raw)
To: Michael Buesch; +Cc: linux kernel mailing list
On Tue, 2004-05-25 at 10:39, Michael Buesch wrote:
> I've got the problem with my server, that the system-clock
> is running really fast. It's running over one second too
> fast in one hour (aproximately).
>
> The CPU of this machine is underclocked.
> It's a Pentium-1 133Mhz running at 75Mhz. All other hardware
> is running in its specifications. Can underclocking the CPU
> make the clock running faster? (I never saw a clock running
> slower on overclocked CPUs. 8-) )
Try setting up ntpd to correct for your system's drift (1sec/hour ~=
277ppm drift).
thanks
-john
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-05-25 20:50 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-25 17:39 System clock running too fast Michael Buesch
2004-05-25 18:13 ` Petri Kaukasoina
2004-05-25 18:45 ` Felipe Alfaro Solana
2004-05-25 18:49 ` Michael Buesch
2004-05-25 19:13 ` Felipe Alfaro Solana
2004-05-25 19:46 ` Benoît Dejean
2004-05-25 20:25 ` Richard B. Johnson
2004-05-25 20:34 ` Michael Buesch
2004-05-25 20:43 ` Benoît Dejean
2004-05-25 20:50 ` john stultz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.