Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Thu Sep 02, 2010 6:48 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
neo wrote:
jed wrote:
2.6.36 addresses the root problem, yes.

Will this also fix Xen time drift or is this a different problem?

It's different, and not really a problem as such. If you are running one of the native Xen kernels, you can lock your clock to that of the host (/proc/sys/xen/independent_wallclock = 0) or have it independent (/proc/sys/xen/independent_wallclock = 1). If you are running a paravirt kernel, your clock is independent of the host. Independent clock accuracy is determined by the performance of the crystal oscillator in the host -- hence the drift. Use ntpd to keep your clock accurate.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Wed Sep 08, 2010 8:56 pm 
Offline
Senior Member

Joined: Sat May 02, 2009 12:44 am
Posts: 92
pclissold wrote:
neo wrote:
Will this also fix Xen time drift or is this a different problem?

It's different, and not really a problem as such. If you are running one of the native Xen kernels, you can lock your clock to that of the host (/proc/sys/xen/independent_wallclock = 0) or have it independent (/proc/sys/xen/independent_wallclock = 1). If you are running a paravirt kernel, your clock is independent of the host. Independent clock accuracy is determined by the performance of the crystal oscillator in the host -- hence the drift. Use ntpd to keep your clock accurate.

Thanks for the info. So if I set independent_wallclock = 0, and my host runs ntpd, everything will be fine, and I don't need to run ntpd myself?


Top
   
 Post subject:
PostPosted: Wed Sep 08, 2010 9:25 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
neo wrote:
Thanks for the info. So if I set independent_wallclock = 0, and my host runs ntpd, everything will be fine, and I don't need to run ntpd myself?

I have a linode in Fremont set up exactly like that and it is accurate to the second.

_________________
/ Peter


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group