[sllug-members]: SLES clock drift

Matthew Hatch matthew at azza.com
Wed Sep 5 10:31:21 MDT 2007


I've run unto this problem using an Athlon X2, as well as my laptop
(Pentium M).  I've found the cause on these two machines to be the CPU's
PowerNOW or Speedstep stuff changing my CPU clock speed.  If you change
your cpufreq scaling governor to performance ("echo performance >
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" or some such),
the clock skew is less noticeable in my experience.

A Windows host would change the power settings to "Always on" to achieve
the same results, but we don't care about that here.  :)

Marc Christensen wrote:
> Rusty Keele wrote:
>> Hi,
>>
>>   I have a VMware virtual machine that I use as a test web development
>> server.  I am having problems with the clock drifting - about 15
>> minutes each day, and I am not sure how to fix it.  The guest OS is
>> Suse Linux Enterprise Server 10 for x86.
> 
> This is a known issue.  Try adding 'clock=pit' to the kernel command
> line (usually in grub's menu.lst or in lilo.conf).  That solved my clock
> drift problems.  Also, make sure you're running ntp client to make up
> any smaller differences that may still be there.
> 
> I have a dual-core AMD64 machine that basically doubled the time drift.
>  I could actually see the minutes clicking by in just seconds.  Not
> good!  the two changes above fixed it.
> 
> -- 
> Marc Christensen
> http://blog.mecworks.com
> ______________________________________________________________________
> See http://www.sllug.org/ for latest SLLUG news, information, links.
> Join SLLUG and other UT LUG members on irc.FreeNode.net channel #Utah
> sllug-members at sllug.org
> http://www.sllug.org/cgi-bin/mailman/listinfo/sllug-members

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://sllug.org/pipermail/sllug-members/attachments/20070905/b444a7be/signature.pgp


More information about the sllug-members mailing list