LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 04-15-2010, 06:07 PM   #1
crushyourboy
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Debian on Hyper-V: Serious clock drift


I've been running Debian (Debian GNU/Linux 5.0 2.6.26-2-686) on MS Hyper-V for over a year now without any clock issues. In the past few weeks I've started seeing serious clock drift on the Linux guests (1s per min). I've not been able to isolate the root cause for the drift and based upon other people's experience with Host/Guest clocks I'm surprised I hadn't had problems earlier.

In testing, I have a base Debian image which does not see the drift. If I install the adjtimex package the drift begins and there doesn't seem to be any way to fix it (removing adjtimex doesn't help, rebooting with notsc or clock=pit doesn't help).

Has anyone seen similar issues and found a resolution?
 
Old 04-17-2010, 08:15 AM   #2
nikwax
LQ Newbie
 
Registered: May 2009
Posts: 25

Rep: Reputation: 0
Quote:
Originally Posted by crushyourboy View Post
I've been running Debian (Debian GNU/Linux 5.0 2.6.26-2-686) on MS Hyper-V for over a year now without any clock issues. In the past few weeks I've started seeing serious clock drift on the Linux guests (1s per min). I've not been able to isolate the root cause for the drift and based upon other people's experience with Host/Guest clocks I'm surprised I hadn't had problems earlier.

In testing, I have a base Debian image which does not see the drift. If I install the adjtimex package the drift begins and there doesn't seem to be any way to fix it (removing adjtimex doesn't help, rebooting with notsc or clock=pit doesn't help).

Has anyone seen similar issues and found a resolution?
Not sure about hyper-V, but for VMware systems the following info is useful - perhaps you can get something useful that will apply.

(I suspect that using as recent a kernel as possible might help.)

http://www.vmware.com/pdf/vmware_timekeeping.pdf .
http://kb.vmware.com/kb/1006427 "Timekeeping best practices for Linux guests"
 
Old 04-18-2010, 10:08 AM   #3
crushyourboy
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nikwax View Post
Not sure about hyper-V, but for VMware systems the following info is useful - perhaps you can get something useful that will apply.

(I suspect that using as recent a kernel as possible might help.)

http://www.vmware.com/pdf/vmware_timekeeping.pdf .
http://kb.vmware.com/kb/1006427 "Timekeeping best practices for Linux guests"
It looks like the resolution is to not install adjtimex. I purged it and all is working well again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rapid clock drift on Linux SMP pmil Linux - Kernel 2 12-04-2009 08:07 AM
Slackware 12.2 and KDE Clock Drift tmerriam Slackware 3 01-15-2009 10:17 PM
Mandriva 2006.0 Clock Drift crxssi Mandriva 20 01-03-2006 06:52 AM
Clock Drift with Gnome Battery Applet? Matir Linux - Software 1 09-09-2005 02:56 PM
Clock Drift, Any Ideas ? audie Linux - General 5 04-30-2004 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration