Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Mon Mar 08, 2010 3:53 pm 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
jed wrote:
rsk wrote:
Urm, if I can ask for clarification... is NTP necessary only when using paravirt kernels, or with the "oldstyle Xen" 2.6.18.8 too?
ISTR that one doesn't let me mess with the clock at all...

Until you decouple from the host clock by twiddling this knob in /proc:
Code:
10:36 jsmith@staff% uname -a
Linux staff.linode.com 2.6.18.8-linode22 #1 SMP Tue Nov 10 16:12:12 UTC 2009 i686 GNU/Linux
10:36 jsmith@staff% cat /proc/sys/xen/independent_wallclock
0

When set to 1, you can set your clock independently of the host.

Native Xen kernels (i.e., 2.6.18 and pals) have this configuration knob, and paravirtualized kernels do not -- their clock is automatically decoupled.


Dumb question- do you simply edit the file (cat /proc/sys/xen/independent_wallclock ) and reboot?

_________________
--
Chris Bryant


Top
   
 Post subject:
PostPosted: Mon Mar 08, 2010 4:05 pm 
Offline
Senior Member

Joined: Wed Feb 13, 2008 2:40 pm
Posts: 126
bryantrv wrote:
Dumb question- do you simply edit the file (cat /proc/sys/xen/independent_wallclock ) and reboot?

No, since /proc will be recreated at boot. Set
xen.independent_wallclock = 1
in /etc/sysctl.conf then run "sysctl -p". You do not have to reboot; it will be set on subsequent boots.


Top
   
 Post subject:
PostPosted: Mon Mar 08, 2010 5:17 pm 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
Thanks- I should have known that :).

_________________
--

Chris Bryant


Top
   
 Post subject: Re: Clock drift!
PostPosted: Fri Mar 12, 2010 12:02 pm 
Offline
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 569
Website: http://www.mattnordhoff.com/
kbrantley wrote:
Hey, linode people! Any chance we could get an internal ntp server to sync to? :)

Aside from jtsage's link, there are other public NTP servers hosted on Linodes, too; some are in the stratum 2 list.

kbrantley wrote:
edit: hey linode people! How about opening up the ntp daemon on the hosts to the VMs they support? I like that idea even better.

It already is. Try it. There are no service guarantees, though.

jeffml wrote:
The statistics geek in me would love to see a graph of requests for the top of the minute requests. It would seem that the spike would relate to the amount of drift in clocks for those that request them. Probably more like a prolonged 15 second spike on each side of the top of the minute?

I don't have any graphs, but in my experience, the spike peaks about 4 seconds after the hour. Traffic may have started increasing a few seconds before the hour, but not very significantly. It stays unusually high for at least a few minutes, and, of course, there are smaller spikes every minute. (The spike 1 minute after the hour is pretty significant, too.)


Top
   
 Post subject:
PostPosted: Fri Mar 12, 2010 3:59 pm 
Offline
Senior Member

Joined: Mon Apr 27, 2009 7:36 pm
Posts: 59
Website: http://www.xenscale.com
Location: Boise, ID
Just use the pool. Thats what its there for.

http://www.pool.ntp.org/en/use.html

You could also add time.xenscale.com as well. Its a Linode in Dallas and a pool contributor.


Top
   
 Post subject:
PostPosted: Sun Mar 14, 2010 10:38 pm 
Offline
Senior Member

Joined: Fri Sep 21, 2007 4:12 pm
Posts: 78
mnordhoff wrote:
kbrantley wrote:
edit: hey linode people! How about opening up the ntp daemon on the hosts to the VMs they support? I like that idea even better.

It already is. Try it. There are no service guarantees, though.


Check that out.

*is perfectly happy*


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


Who is online

Users browsing this forum: No registered users and 3 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