jsstuball
jsstuball

Reputation: 4911

Should I specify regional NTP pool or just pool.ntp.org?

From the NTP Pool Project (https://www.ntppool.org/en/use.html):

Looking up pool.ntp.org (or 0.pool.ntp.org, 1.pool.ntp.org, etc) will usually return IP addresses for servers in or close to your country. For most users this will give the best results.

...

You can also use the continental zones (For example europe, north-america, oceania or asia.pool.ntp.org), and a country zone (like ch.pool.ntp.org in Switzerland) - for all these zones, you can again use the 0, 1 or 2 prefixes, like 0.ch.pool.ntp.org. Note, however, that the country zone might not exist for your country, or might contain only one or two timeservers.

I'm reading this several times and its not obvious whether I should specify the regional pool or not. I know which country my machine is in of course, so am happy to specify the pool. But it sounds like it doesn't result in better results.

Since the pool option means the protocol will select the best server after statistical analysis, I would have expected that specifying a regional pool would give a better distribution of servers from which to choose the winner. Any insights appreciated.

Upvotes: 1

Views: 1752

Answers (1)

user3788685
user3788685

Reputation: 3093

The country specific will contain a few servers that are only in the country zone you pick.

The region specific will contain more servers across an entire region (individual servers may be within any country)

The general pool will return lots of servers from anywhere.

There maybe less country specific that region specific servers for example the UK may have 20 servers, but Europe may have 100 servers over all the countries that make up the Europe region.

The best thing you can do is test what works best for your setup and locations. You should run a test deployment for a while and gather some stats. If you are using ntp' you can run ntpq -pcrv which will give you all the info you need.

You can also refer to my answer here as to what all the information means and how to interpret it.

Upvotes: 1

Related Questions