LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-31-2010, 11:15 AM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,208

Rep: Reputation: Disabled
Question How often does ntpd sync time with its servers?


Hi!
I use Arch, but no info about it in official wiki.
 
Old 08-31-2010, 11:23 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,168

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
In a nutshell the poll interval is automatically controlled and can vary between 64 and 1024 seconds.
Look at the output of the ntpq command to see the interval for your computer.
ntpq -p

http://www.akadia.com/services/ntp_synchronize.html
 
Old 08-31-2010, 11:23 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
The poll interval is variable. Here is an excerpt from the ntpd man page:
Quote:
By default, ntpd runs in continuous mode where each of possibly several external servers is polled at
intervals determined by an intricate state machine. The state machine measures the incidental
roundtrip delay jitter and oscillator frequency wander and determines the best poll interval using a
heuristic algorithm. Ordinarily, and in most operating environments, the state machine will start
with 64s intervals and eventually increase in steps to 1024s. A small amount of random variation is
introduced in order to avoid bunching at the servers. In addition, should a server become unreachable
for some time, the poll interval is increased in steps to 1024s in order to reduce network overhead.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easiest way to sync system time between two servers? JohnRock Linux - Networking 3 06-06-2009 08:26 PM
how to sync or monitor time for lots of remote servers? montyleesam Linux - Server 1 10-27-2008 04:59 AM
NTPd wont sync czezz Linux - Server 1 08-29-2008 09:37 AM
Dropline sync with time servers not working BCarey Slackware 4 12-05-2006 11:17 AM
NTPD time sync steps instead of slews ne1scott Linux - Software 0 04-13-2004 02:28 PM


All times are GMT -5. The time now is 01:44 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration