I've come across a handful of GPS NTP servers, as well as some inexpensive solutions using off-the-shelf receivers and software. Right now I'm just using NTP with a list of servers over the Internet. What is the advantage to using GPS instead (considering the alternative is free)?

link|improve this question
Cool question! Should probably be wiki though – Matt Simmons Jun 18 '09 at 19:49
1  
Geek bonus points? – MathewC Jun 18 '09 at 19:54
It is amazing to me how much BS was pumped in this thread. Stratum 0 indeed. At the OP. If you have an operation that depends on a highly accurate time source then invest in a good Stratum 2 / 3 clock, based on the accuracy required. Pay attention to holdover specifications. – dbasnett May 10 '10 at 14:58
feedback

12 Answers

With a GPS ntp server you'll be getting a stratum 0 clock source. the advantage is accuracy and lower jitter. The downside is cost. There are very few circumstances that require this level of accuracy. in general you want to make sure your systems are in sync with each other. So syncing all your servers against a pair of internal ntp boxes that sync against external lower stratum ntp servers is usually sufficient.

The only time I've been involved in using a GPS ntp box (for a PKI system), we never actually used them. We couldn't get permission to mount the antenna on the roof of the datacentre and get the cabling back to the ntp box.

link|improve this answer
Stratum 0??? Not likely. – dbasnett May 10 '10 at 14:47
@dbasnett, it's considered Stratum 0 if the source is hardware based (as GPS is). That doesn't guarantee accuracy, but there's no inherent jitter from using a computer network like the Internet. Note: the computer attached to the hardware is still Stratum 1 (the lowest a NTP Server can be). – Chris S Oct 18 '10 at 16:09
The Stratum is really the distance from the reference clock and I agree that it has nothing to do with quality. In the past we chose clocks based on Stratum and what would happen if we lost the reference(GPS). The clocks we chose all had Rubidium backups. – dbasnett Oct 18 '10 at 21:45
feedback

We do have a pair of stratum 1 time servers using GPS for NTP.

Does it make a difference in our day to day business vs when we had no NTP servers? A little, for example, on the client support side, the phones, both digital and voip and all the desktops now have the exact same time. Which cuts down on all the why do all these clocks have different times and can I fix it questions.

On the server side, when we aggregate logs we know that our timestamps are all the same. So if something happened at 12:37:15.34 on two servers we know that it really was at the SAME TIME, not 30 seconds to a minute appart.

Did we need GPS based NTP to do this? Probably not, we could have used any NTP source. We know everything is synced perfect and the time never drifts. Also if our internet connection is down, or laggy it's still perfect. Any NTP would have been an improvement over the lack of NTP we had though.

link|improve this answer
Stratum 1? Most (all?) of the PSTN lives on Stratum 2 / 3 time sources, most(all>) of which are based on GPS. – dbasnett May 10 '10 at 14:52
feedback

I've used them at a gambling operation so we could keep accurate time but still have a true air gap between the production network and the internet/corporate network.

With the revenue generated per hour and that on one occasion a single remote sales rep came into the office and plugged in his infected laptop to the corp network and brought it down within minutes (production was unaffected). The effort of using things like gps time to allow for an air gap was worth it.

link|improve this answer
feedback

While not used for time sync so that all devices are using the same time for logs, GPS time sync is commonly used in carrier class wireless transmission hardware. It allows access points to sync and all transmit/recieve simultaneously, so that they won't be causing interference or raising background noise when listening for transmissions from clients.

link|improve this answer
feedback

The cost is not small (relatively) and the benefits are few. The only places I've seen running their own stratum-0 time source had extremely high expectations for the quality of the input, and a lack of trust in external time sources.

link|improve this answer
1  
There ARE advantages. Otherwise no one would run them. – Joseph Kern Jun 18 '09 at 20:24
2  
I eluded to the two advantages in my post. A lack of trust in the input and a lack of trust in the external infrastructure. But, I've only seen those in .mil and financial services sectors. – dr.pooter Jun 18 '09 at 20:29
1  
Alluded ... and who's to say he's not in either? +1 for trying. – Joseph Kern Jun 18 '09 at 20:34
1  
I presume he's not in either of those sectors because he's currently syncing to NTP servers on the Internet and is only now considering this solution. If he were in those sectors, standards would have likely dictated that he not do that. Thanks for the spelling correction. – dr.pooter Jun 18 '09 at 20:40
Unless you have toured the USNO it is not likely you have seen a Stratum 0 clock. – dbasnett May 10 '10 at 14:53
feedback

Great answers so far! I can say that I've seen GPS time sources used on multiplexers, and certain types of crypto ... it was used for NTP, just because it was already there.

The advantage for using a local GPS NTP server would be

  • High Accuracy
  • Not dependent on an Internet connection

How much does one of these things cost anyway? It shouldn't be that expensive. GPS + Linux + NTP ...

Wow, $1000 - $3000, do you need it that bad?

link|improve this answer
1  
I just really really like accurate time. So far I've had zero luck convincing TPTB that my accurate time fixation is worth that much. – sysadmin1138 Jun 18 '09 at 23:44
2  
If it's just because you really like accurate time, your fixation is worth $0 in this sort of economy. – ceejayoz Jun 19 '09 at 0:10
2  
$3000 is about the cost of Windows 2008 Server Enterprise with 25 CALs, RHEL AP for one server with 24/7 support, or (fully loaded) a $100k/year employee for four days. If you require accurate time in a non-Internet-connected network, and your PHBs won't give Symmetricom what they're asking, please try to avoid slicing a wrist open on their pointy hair -- it's quite sharp. – Brad Ackerman Dec 4 '09 at 17:59
Well said! +1 For putting it into perspective. – Joseph Kern Dec 9 '09 at 11:56
feedback

A neutrino detection experiment I worked on used GPS for the primary time signal to our Data Acquisition system. They used a fairly expensive system supplied by someone in Japan.

This as part of a world-wide effort to provide high precision information about the different arrival times for the neutrino and photon wave-fronts from big supernovas. Lots of cool physics in that, if you can get precise enough data.

link|improve this answer
feedback

We use them because of their "deadman's" feature (won't correct more than a few seconds so that if something goes wrong your whole infrastructure does not move 12 hours into the past) and security; NTP is totally insecure; spoofing, man-in-the-middle, etc.

link|improve this answer
Have you actually tried faking ntp answers? At least with the unix reference implementation, that will be quite hard. NTP default is hardened and you can add cryptographic signatures to add authorisation. – Koos van den Hout May 3 '11 at 11:34
Note that GPS isn't "secure" either: there are constellation simulators out there, which would allow manipulation of the signal as desired. – Piskvor Mar 11 at 11:56
feedback

I was thinking of asking pretty much the same question a couple of days ago...

A couple years back I looked at whether it was possible to use a cheap GPS (~$200-$300) to get accurate time on a server. I'm sure that at the time Garmin or one of the other companies had software you could run on Windows to read the time o a computer to read the time from a GPS connected to a serial port. I was going to ask if anyone has used this as a cheap alternative to a purpose-built NTP server. It should be accurate enough and only a few hundred bucks.

link|improve this answer
Nope. The delays introduced with such equipment would give a lower precision than just using any ol' NTP server out there on the Net; the price tag of a purpose-built GPS receiver is not just for the pretty logo. – Piskvor Mar 11 at 11:59
feedback

This is what you want...

http://www.veracityusa.com/products/timenet/timenet.php

link|improve this answer
feedback

It gives you a Stratum 0 NTP server, under your control. You can then configure a few machines as Stratum 1 servers, syncing from your GPS-clocked server and have slightly less traffic needing to leave your network.

It's been around 10 years since I last had one of those (that I know of) in my network, but at that point, we didn't have a good antenna position and while it mostly saw a GPS signal, it did occasionally lose the signal, requiring a reset of the receiver equipment. With a better antenna placement, that would most probably not have occured.

link|improve this answer
feedback

The advantages are you can get real seqence of events logging.

An example is in critical infrastructure. All electrical utilities should be using stratum 1 time for their databases. Stratum 1 time is critical to working out what made something fail on the scale of local utility downtime, to figuring out who caused the Northeast Blackout of 2003. NTP is often passed up in favor of PTP (IEEE 1588) for synching to the microsecond level.

link|improve this answer
feedback

protected by Iain Mar 11 at 8:10

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.