Precision Time Protocol vs NTP: When Each Belongs in Production

Blog · Protocols

Precision Time Protocol vs NTP: When Each Belongs in Production

The honest engineering comparison between Precision Time Protocol and NTP — what each protocol can actually deliver, where the boundary lives, and how to choose between them without falling for either side's marketing.

Lasse Johnsen
Lasse JohnsenCo-founder & CTO, TimeBeat
11 min read
PTPNTPIEEE 1588Comparison

TL;DR

  • NTP is the right tool for any application where millisecond accuracy is enough — server clocks, log timestamps, certificate validity windows, general operations.
  • PTP (IEEE 1588) is the right tool for anything where the budget is microseconds or tighter — financial timestamping, broadcast IP video, 5G fronthaul, scientific instrumentation.
  • The dividing line is hardware timestamping. PTP needs it; NTP doesn't. That single fact drives most of the cost and complexity difference between the two protocols.

What both protocols are actually trying to do

NTP and PTP are both packet-based protocols for synchronising the clocks of computers connected by an IP network. They share the same fundamental measurement principle: a server with a known-good time exchanges timestamped packets with a client, the client measures the network round-trip delay, and the client uses those measurements to estimate the offset between its own local clock and the server's clock. The client then disciplines its local clock to track the server's clock over time.

Where the two protocols diverge is in how precisely they make those measurements, how often they make them, and how the protocol handles the network's contribution to timing error. NTP was designed in 1985 for general-purpose internet time distribution at the millisecond level. PTP was standardised in 2002 (and significantly revised in 2008 as IEEE 1588v2) specifically to deliver microsecond and sub-microsecond synchronisation across local networks. The two protocols solve overlapping problems at very different precision tiers.

What NTP can and can't do

NTP, when configured properly and run against a healthy stratum-1 reference, comfortably delivers low-millisecond accuracy across the public internet and sub-millisecond accuracy across well-managed local networks. For the vast majority of computer systems — application servers, log aggregators, certificate validity checks, database transaction timestamps — that's more than enough. The protocol is mature, ubiquitous, well-supported in every operating system, and effectively free to deploy.

What NTP cannot do is cross the microsecond boundary reliably. The fundamental obstacle is that NTP runs entirely in software, and software timestamps are taken at the moment the kernel processes a packet rather than the moment the packet actually crosses the wire. Interrupt latency, kernel scheduling, NIC driver processing and software queueing all introduce variable delays that swamp microsecond-level measurements. NTP can't see them, so it can't compensate for them, so the achievable precision floor is determined by the worst-case software jitter on the host — typically tens to hundreds of microseconds.

Rule of thumb

If a millisecond of clock error is operationally invisible to your system, NTP is the right protocol. If a millisecond of error would matter — to a regulator, an audit, a coordinated transmission, or a downstream measurement — you need PTP.

What PTP delivers that NTP can't

PTP is the protocol you reach for when microsecond accuracy isn't enough either. The standard IEEE 1588v2 distribution chain — a hardware grandmaster clock disciplined to GNSS, hardware-aware boundary clocks across the network, hardware-timestamping NICs in the slave devices — routinely delivers sub-100-nanosecond synchronisation across an entire local network. With a tightly engineered architecture and the right oscillator, PTP slave clocks can sit within 10 nanoseconds of UTC continuously.

The mechanism that makes this possible is hardware timestamping. PTP requires that timestamps be captured at the physical layer — at or below the MAC, ideally on the PHY itself — at the precise moment a sync message crosses the wire. This removes the software jitter that limits NTP, leaving residual error dominated by the network's deterministic asymmetries (which the protocol is designed to measure and compensate for) rather than by host-side software variability.

PTP also requires that every device on the path between the grandmaster and the slave clock be PTP-aware — either a boundary clock that participates in the timing chain, or a transparent clock that adds a hardware-measured residence time correction to each PTP message as it passes through. A PTP message that crosses an unmanaged switch loses precision proportional to the switch's queueing delay. This is why PTP deployments are operationally heavier than NTP deployments: every device on the timing path matters.

The cost and complexity gap

NTP is essentially free. Every modern Linux distribution ships with chrony or ntpd preconfigured. Public NTP pools (pool.ntp.org, the major cloud providers, national metrology institutes) provide reference time at no cost. Setting up an NTP-synchronised host is a five-minute job, and the operational overhead in steady state is effectively zero.

PTP is not free, and pretending otherwise is the first thing operators learn to regret. A production-grade PTP deployment needs hardware grandmasters (a few thousand to tens of thousands of dollars per unit, depending on oscillator class), PTP-aware switches throughout the timing path (a meaningful premium over PTP-naive equipment), hardware-timestamping NICs in every slave device, and an observability platform that can monitor the timing chain end to end. The cost lives across the network, not in a single line item.

What PTP buys for that cost is precision the application can actually rely on. For the niche use cases that need it — financial timestamping, broadcast video, 5G fronthaul, scientific instrumentation, distributed database consistency — there is no substitute. For everything else, NTP is the right answer and PTP is over-engineering.

Where each protocol belongs

The decision between NTP and PTP is rarely a close call once you ask one question: "What's the worst time error my application can tolerate before something downstream breaks?" If the answer is in milliseconds or worse, NTP. If the answer is in microseconds or better, PTP. There's a narrow grey zone (around the 100-microsecond mark) where well-tuned NTP-over-hardware-timestamping starts to compete with low-end PTP, but the operational simplicity of one or the other usually decides the question without much agonising.

Use caseServer log timestamps
ProtocolNTP
WhyMillisecond-level precision is plenty
Use caseWeb application backends
ProtocolNTP
WhyNo regulatory or measurement dependency on tighter time
Use caseMiFID II financial timestamping
ProtocolPTP
WhyRegulator demands ≤100 µs traceable to UTC
Use caseBroadcast IP video (ST 2110)
ProtocolPTP
WhyFrame-accurate sync requires sub-µs precision
Use case5G fronthaul
ProtocolPTP
WhyITU-T Class 6 budget is ±1.5 µs end to end
Use caseDistributed databases (CockroachDB, Spanner)
ProtocolPTP (preferred)
WhyTighter clock skew bounds enable lower-latency consistency
Use caseHigh-frequency trading colocation
ProtocolPTP
WhySub-µs timestamping for order audit and venue parity
Use caseScientific instrumentation
ProtocolPTP / White Rabbit
WhySub-ns coordination across multiple sensors
Use caseIndustrial control loops (TSN)
ProtocolPTP (802.1AS profile)
WhyDeterministic timing for safety-critical control

The honest answer to "can NTP be made more precise?"

Yes, but with caveats. Modern NICs (Intel E810, NVIDIA ConnectX-6 and later) support hardware timestamping for NTP packets, and the chrony implementation can use those hardware timestamps to push NTP precision into the low-microsecond range under good conditions. For some lighter-touch deployments, this is enough — and avoids the operational weight of a full PTP deployment.

But the precision floor is still set by the upstream NTP server's quality and by the network path between the server and the client. NTP doesn't have the boundary-clock concept that lets PTP compensate for network jitter end to end, and NTP doesn't have the BMCA failover behaviour that lets PTP networks fail over between grandmasters automatically. If you're running NTP-on-hardware-timestamping in production, you're already most of the way to the operational complexity of PTP without the precision benefits. At that point, just deploy PTP properly.

Where TimeBeat fits

TimeBeat builds open-standard PTP grandmaster hardware (Open TimeCard, Open Time Appliance) and the operations platform (Sync Insight) that production PTP networks depend on. We're a PTP-first company because the customers we work with — finance, defence, broadcast, 5G operators — all live on the wrong side of the millisecond boundary and need precision NTP can't deliver.

If you're not sure which side of the boundary your application sits on, the simplest test is to look at what would actually break if your clocks were a millisecond out. If the answer is "nothing", stick with NTP. If the answer is "a regulator, an audit, a coordinated transmission, or a measurement", call us.

Frequently asked questions

Is PTP more accurate than NTP?+
Yes, by several orders of magnitude. PTP delivers sub-microsecond and routinely sub-100-nanosecond accuracy on properly designed networks, while NTP typically tops out at low-millisecond accuracy. The difference comes from PTP's use of hardware timestamping (taking timestamps at the physical layer rather than in software) and its requirement that every device on the timing path be PTP-aware so the protocol can compensate for network delay end to end.
Can NTP be used for MiFID II timestamping?+
Generally not for high-frequency trading. MiFID II Article 50 and RTS 25 require timestamps traceable to UTC with a maximum divergence of 100 microseconds for high-frequency trading and 1 millisecond for other algorithmic trading. NTP across a typical enterprise network struggles to consistently hit the 100-microsecond budget. Most regulated trading venues use PTP for HFT timestamping and reserve NTP for systems where the 1-millisecond budget is enough.
Does PTP replace NTP entirely?+
No. PTP and NTP coexist in most networks. PTP is used where precision matters (trading, broadcast, 5G fronthaul, scientific instrumentation); NTP continues to handle everything else (server clocks, log aggregation, certificate validity, application timestamps). Replacing every NTP host with PTP would be operationally and financially wasteful for the vast majority of systems where millisecond accuracy is fine.
What is hardware timestamping and why does it matter?+
Hardware timestamping captures the time at which a packet crosses the physical network interface, rather than the time at which the kernel processes the packet in software. The difference is significant: software timestamps include interrupt latency, kernel scheduling jitter and NIC driver processing delays that can vary by tens or hundreds of microseconds. Hardware timestamps eliminate that variability, leaving precision bounded by the physical-layer measurement accuracy (typically a few nanoseconds on modern equipment). PTP requires hardware timestamping; NTP can use it as an enhancement but doesn't depend on it.
Can I run PTP and NTP on the same network?+
Yes, and most networks do. PTP runs on its own multicast or unicast PTP messages; NTP runs on UDP port 123. They coexist without interference. A production deployment might use PTP for the trading colocation rack and NTP for everything else in the data centre, all on the same physical fabric.

Talk to us

Got a time-sync question like this in your network?

Book a 30-minute call with a Timebeat engineer — we will tell you which products fit, what the install looks like and what it would cost.