"Yes, of course, who has time? Who has time? But then if we never take time, how can we ever have time?"

A few foundational services hold everything else up: DHCP, DNS, PKI and NTP. When one of them is wrong, systems stop working together, and the failures rarely point back to the cause.
Why time matters
If you manage a complex environment, you will have seen the usual failures. Domain-joined Windows machines stop authenticating once their clocks drift more than five minutes from the domain, because Kerberos rejects them. Websites and PKI fail when a clock falls outside a certificate's validity dates. Logging, monitoring and database replication all compare timestamps too, and each breaks in its own way when clocks disagree.
| Service | Tolerance |
|---|---|
| Kerberos authentication (Active Directory) | 5 minutes, the default maximum clock offset |
| TOTP MFA codes | 30 second steps; most servers accept one step either side (RFC 6238) |
| TLS certificate validity | None. notBefore and notAfter are validated to the whole second |
| Log correlation and incident response | None set. Depends on the tooling: some stamp logs at the source, some on arrival |
A sense of scale
Each unit is a thousandth of the one above it. Below a millisecond, the easiest way to picture one is how far light gets in that time.
| Unit | Symbol | Of a second | Light travels | Where you meet it |
|---|---|---|---|---|
| Second | s | 1 | 300,000 km, most of the way to the Moon | Kerberos (5 minutes), TOTP (30 s), MiFID II voice trading (1 s) |
| Millisecond | ms | 1/1,000 | 300 km | A blink (100 to 400 ms), ASIC market clocks (20 ms), NTP over the internet |
| Microsecond | µs | 1/1,000,000 | 300 m | chrony on a LAN, MiFID II high-frequency trading (100 µs) |
| Nanosecond | ns | 1/1,000,000,000 | 30 cm | One CPU clock cycle (about 0.3 ns at 3 GHz), a GPS time pulse (30 ns), PTP |
| Picosecond | ps | 1/1,000,000,000,000 | 0.3 mm | Lab atomic clocks and chip signal timing; nothing in this article |
In fibre, light covers about two thirds of those distances, so 1 ms is about 200 km of cable.
You will also see µs written as us.
Standards and regulation
Most security standards require synchronised time but set no maximum offset. The financial regulators do set one.
| Standard | Requirement |
|---|---|
| ASD ISM control ISM-0988 | An accurate time source used consistently across systems; no figure set |
| PCI DSS v4.0 requirement 10.6 | Clocks synchronised to agreed time sources; no figure set |
| ASIC market integrity rules, Part 9.3 (ASX, Cboe Australia) | Market operators within 20 ms of UTC(AUS) |
| EU MiFID II RTS 25, high-frequency trading | Within 100 µs of UTC, timestamps to 1 µs |
| EU MiFID II RTS 25, voice trading | Within 1 s of UTC |
| US FINRA rule 6820 (CAT reporting) | Within 50 ms of NIST time |
The time keepers
NTP (Network Time Protocol) is the broad name for the protocol of timekeeping, and the implementations of it are the actual services that run on your machines. We have some special, magic devices where time comes from, and they distribute the time out to adjacent machines through a layered topology called stratum. The time measurement devices (reference clocks) are stratum 0, and the server attached to one is stratum 1. Your fleet will tap into that time source through various architectures, depending on scale.
- ntpd: the NTP reference implementation (RFC 5905). Older Linux and Unix, network appliances.
- chrony: default on RHEL, Fedora and SUSE, and on new Ubuntu installs since 25.10. Supports NTS and hardware timestamping.
- w32time (Windows Time): Windows clients and servers, and the Active Directory time hierarchy.
- timed: macOS's time daemon.
- PTP (IEEE 1588): linuxptp (
ptp4l,phc2sys) on Linux, plus PTP-aware switches. Sub-microsecond on a LAN with hardware support. - Hypervisor time sync: Hyper-V integration services (VMICTimeProvider), VMware Tools, KVM
kvm-clock/ PTP. - Cloud time services: Amazon Time Sync Service, Azure host time and Google's metadata server. See time across data centres and clouds.
- Reference clocks: GNSS receivers with a PPS output, and national time services such as NMI's UTC(AUS) NTP service.
NTP implementation
For many years, the two kings of network time were ntpd (the Network Time Protocol daemon) and w32time for Windows. Their accuracy was in the millisecond range, and they kept time by having the daemon reach over the network to its time sources and wait for the response.
As equipment and latency got better, newer services like chrony could make use of hardware timestamps on the round trips out to their time sources, and the higher speeds and lower latencies meant better timekeeping than ntpd and the older w32time could keep up with.
w32time was designed to be 'good enough for Kerberos' up until Windows Server 2016, when Microsoft rebuilt it to support accuracy down to 1 ms under the right conditions. In a domain, the domain controller holding the PDC emulator FSMO role in the forest root domain takes its time from whichever external source is made available to it. Every other machine in the domain then takes its time through the domain hierarchy, which w32time calls NT5DS. Typically only the forest root PDC emulator points at an outside source, unless the domain's machines can reach an equally good clock of their own.
| Role | w32time Type | Points at |
|---|---|---|
| Forest root PDC emulator | NTP, marked reliable | External or local stratum 1 sources |
| Other domain controllers | NT5DS | The domain hierarchy |
| Member servers and workstations | NT5DS (default when domain-joined) | A DC in their domain |
| Standalone (workgroup) machines | NTP (default) | time.windows.com, polled about every 9 hours. The 7-day SpecialPollInterval default is capped by MaxPollInterval (2^15 s) since Windows 10 1703 |
The commands to set each role are on the time sync commands page.
Common domain time faults
- The PDC emulator role moves and the new holder is still on NT5DS, so the forest has no root time provider, and the old holder is still marked reliable. Your domain machines will all agree, but the source is wrong.
- Domain controllers as VMs with the hypervisor's time sync still on, fighting w32time. The DC takes time from the domain hierarchy and from the host, so its clock jumps, which Microsoft says can leave lingering objects and stop replication. On Hyper-V, Microsoft's fix is to clear Time Synchronization under the VM's Integration Services, or set the VMICTimeProvider's
Enabledvalue to 0 as its Azure guide does, and let the DC follow the domain hierarchy (Microsoft Learn, KB 976924). On vSphere, VMware Tools still resets the guest clock to the host on events such as snapshot restore or resume, even with periodic sync off. VMware's advice is to apply the KB 1189 settings to every DC, or untick the time sync option in VM properties from vSphere 7 Update 1 (VMware, Ensuring accurate timekeeping in virtualized Active Directory). - Secure Time Seeding (STS) left on. From Windows 10 and Server 2016, w32time estimates the time from metadata in outbound TLS connections and uses it to correct large clock errors. On some servers it sets the clock wrong by days, weeks or years, and the error does not always correct itself. A DC that jumps like that breaks Kerberos and replication. Microsoft now recommends turning STS off on domain controllers, VM hosts and any time-sensitive server (Group Policy setting
UtilizeSslTimeData= 0, then reboot). It is off by default from Server 2025, but on by default in 2016, 2019 and 2022 (Microsoft Learn, Secure Time Seeding recommendations for Windows Server). It breaks random machines in your domain, and it is very hard to work out why a machine stopped working and why its clock is wrong, unless you watch the Windows event log for large time changes. - A GPO pushes an external NTP source to members, so they bypass the hierarchy. Your domain time GPOs must be scoped and configured properly.
- The PDC points at a single internet source over a long, asymmetric path. Ideally your time keeper has several sources, so it can measure them against each other and throw out a bad one.
Checking a domain
If you run distributed systems across clouds, data centres and offices, as most enterprises do, and you have domain controllers serving domains in several locations, you need to think about your time architecture and failure domains. How does that affect your logging and monitoring? How far is each DC from your PDC emulator, in stratum as well as network latency?
The commands are on the time sync commands page. Designing time across sites and clouds is in time across data centres and clouds.
Choosing sources and options
How many sources a client has decides what it can work out on its own:
| Sources | What the client can do |
|---|---|
| 1 | Follow it. A wrong source goes unnoticed |
| 2 | See that they disagree, but not which one is wrong |
| 3 | Outvote one bad source |
| 4 or more | Outvote a bad source while another is down |
Microsoft recommends three or more for w32time; with only two, mark one as fallback only. The sources have to be independent to outvote each other. Two servers from the same provider are two paths to one clock, one lineage. In a cloud you usually get only the provider's clock; Time across data centres and clouds covers what to do then.
Public time servers
These answer as stratum 1: they take their time straight from atomic clocks or GPS. Pick three or more from the same leap second column. Don't mix smeared and non-smeared servers in one client.
| Operator | Servers | Leap seconds | NTS | Access |
|---|---|---|---|---|
| NMI (Australia) | Given to you when you register | Inserts it. NMI keeps UTC(AUS), Australia's legal time | Not published | Register a static public IP with NMI first; unregistered addresses get no reply. Email time@measurement.gov.au |
time.google.com, time1 to time4.google.com |
Smeared over 24 hours, noon to noon | No | Open, no SLA | |
| Meta | time.facebook.com, time1 to time5.facebook.com |
Smeared | Not published | Open |
| NIST (US) | time.nist.gov |
Inserts it | No. NIST offers symmetric-key authentication instead | Open. No more than one query every 4 seconds |
| PTB (Germany) | ptbtime1 to ptbtime3.ptb.de |
Inserts it | Yes | Open, no registration |
| Netnod (Sweden) | nts.netnod.se, ntp.se |
Inserts it | Yes, on nts.netnod.se |
Open, anycast |
| USNO (US Navy) | tick.usno.navy.mil, tock.usno.navy.mil |
Inserts it | Not published | Open to the public |
| Hamer Technical | time.hamertechnical.com.au |
Inserts it | Yes | Open, best effort, no SLA |
NMI is the reference for Australia: ASX and Cboe clocks are measured against UTC(AUS). It is a registered service, not a public one, so contact NMI before you plan around it.
Well-known names that are not stratum 1, but are fine as sources:
- Cloudflare (
time.cloudflare.com): stratum 3, anycast, NTS on port 1234, not smeared. - Ubuntu (
ntp.ubuntu.com): stratum 2. New installs of Ubuntu 25.10 and later use NTS by default, on1to4.ntp.ubuntu.com. - Apple (
time.apple.com): the default for Macs and iPhones. Apple doesn't publish its stratum or how it handles leap seconds. From here it answers as stratum 1 about two thirds of the time, and stratum 2 the rest. - Microsoft (
time.windows.com): the Windows default. It answers as stratum 4. Microsoft doesn't publish whether it smears or steps a leap second. Windows itself doesn't smear: Server 2019 and Windows 10 1809 and later insert the second, and older versions correct it on the next sync. - AWS (
time.aws.com): stratum 4, smeared, the same lineage as the in-VPC address. - NRC Canada (
time.nrc.ca): stratum 2. - NTP Pool (
au.pool.ntp.org): volunteer servers. From here about a quarter answer as stratum 1, the rest stratum 2 to 4. Pool servers must not smear. Use no more than four.
Stratum is a count of hops, not a measure of quality. A server's round trip matters more: an uneven path can put a client off by up to half of it. A stratum 2 server in Sydney often beats a stratum 1 in Europe. Use distant servers as cross-checks, and close ones to steer the clock.
Our GPS server queries most of these every minute. Over the seven days to 31 October 2026, from Australia:
| Server | Stratum seen | Round trip |
|---|---|---|
time.aws.com |
4 | 23 ms |
time.cloudflare.com |
3 | 26 ms |
time1.facebook.com, time2.facebook.com |
1 | 29 to 40 ms |
time.apple.com |
1, sometimes 2 | 42 ms |
au.pool.ntp.org |
1 to 4 | 54 ms |
time.google.com, time1 to time4 |
1 | 139 to 146 ms |
time.facebook.com, time3 to time5 |
1 | 151 to 272 ms |
time.windows.com |
4 | 172 ms |
time.nist.gov |
1 | 210 ms |
ntp.ubuntu.com |
2 | 312 ms |
Some things only show up when you measure. Google has no server close to Australia; the nearest is about 140 ms away. Meta's numbered servers are in different places: time1 and time2 answer from nearby, time4 and time5 from the other side of the world. Against our GPS clock, time4 read on average 99 ms behind and time5 40 ms ahead. Those servers are stratum 1 and almost certainly right; the error is the path. That is what an uneven path does, and why the round trip matters more than the stratum.
On Linux (chrony and ntpd):
| Option | What it does |
|---|---|
prefer |
Use this source over others when it passes selection. It doesn't override the vote: a preferred source that disagrees with the rest is still thrown out |
noselect |
Measure the source but never steer the clock from it. Good for watching other lineages without mixing them in |
trust (chrony) |
Assume this source is right; it can't be outvoted. Only for a source you control, such as a local reference clock |
require (chrony) |
Only adjust the clock while this source is selectable |
minsources (chrony) |
Only adjust the clock when at least this many sources agree |
iburst |
Send a burst of requests at start-up so the first sync takes seconds, not minutes |
minpoll, maxpoll |
Poll interval range, as a power of two in seconds. AWS documents 4, every 16 s |
nts (chrony) |
Authenticate the source with Network Time Security |
lock (chrony refclock) |
Tie a PPS signal to another source that supplies the whole seconds |
On Windows (w32time), the flags after each NtpServer entry:
| Flag | What it does |
|---|---|
0x8 |
Client mode. The normal flag for an NTP source |
0x1 |
Use SpecialPollInterval instead of the adaptive poll interval. AWS AMIs use 0x9, client plus special interval |
0x2 |
Fallback only. Used when the other sources fail |
0x4 |
Symmetric active mode. Rarely needed |
Separately, w32tm /config /reliable:yes announces a DC as a reliable time source to the domain. Use it only on the forest root PDC emulator.
Our own GPS server prefers the PPS signal, locks it to the GPS time of day, and checks it against outside servers.
Accuracy you can expect
Accuracy is how close a clock is to UTC. Precision is how closely its readings agree with each other, and resolution is the smallest step it can show. A clock can be precise and still wrong. The figures below are typical accuracy, not best case.
| Setup | Typical accuracy | Limited by |
|---|---|---|
| w32time, default config, domain member | 10 to 100 ms, can drift to seconds | Default tuning, poll interval |
| w32time, high-accuracy config, local stratum 1 | About 1 ms | Every hop must be configured |
| NTP over the internet (ntpd or chrony) | 1 to 10 ms, up to about 50 ms on asymmetric paths | Path asymmetry |
| chrony on a LAN, software timestamps | 10 to 100 µs | OS and NIC interrupt latency |
| chrony on a LAN, hardware timestamps | 100 ns to 1 µs | NIC timestamping |
| PTP (IEEE 1588) with hardware support | Tens of ns to 1 µs | Switches must be PTP-aware |
| GPS PPS into a server | About 1 µs, hundreds of ns on a good host | Interrupt latency on the host |
| u-blox M10 time pulse | 30 ns RMS, 60 ns at 99% | Receiver |
Three points to qualify:
- NTP assumes the outbound and return paths take the same time. When they don't, the error is invisible to NTP, and it limits how accurate network time can be. NTP takes half the round trip as the one-way time to the server, but the path there and the path back may not match. Hop count on its own doesn't matter; a difference between the two directions does.
- A server's accuracy is not its clients'. A client on Wi-Fi gets about a millisecond from a server that is within hundreds of nanoseconds of its timekeeping source.
- A receiver's own time estimate (tAcc) is not the accuracy of your clock. It is the receiver's own estimate of how far its time solution is from GPS time. It is a model, not a measurement, and it describes the receiver, not your server.
High-frequency trading
High-frequency trading applications place orders in microseconds from servers inside the exchange. Correlating orders across the different distributed systems keeps the market fully auditable, and it is what their books are audited on. In Australia the binding rule sits with the market operators (the ASX and Cboe), not the market participants (brokers and banks). Since 2011 the ASX and Cboe have had to keep their trading, surveillance and reporting clocks within 20 milliseconds of UTC(AUS), the national time scale kept by the National Measurement Institute.
ASIC said at the time that 20 ms was "relatively generous" and would tighten as trading sped up. The rules themselves set no tolerance for market participants. 20 ms in computing is a lifetime, but a blink of your eyes takes between 100 and 400 ms.
Monitoring time
The daemon reporting its own offset is marking its own homework. Real checks compare against an independent reference. You cannot rely on your hardware (CMOS) clock and expect anything that needs time to keep working.
Most estates don't monitor time at all until something breaks: a Kerberos failure, logs that don't line up, or a certificate that isn't valid yet. By then the clock has usually been wrong for days.
What it takes
- A reference you trust that isn't the clock you're checking. A second lineage, a local stratum 1, or a few public servers queried from the monitoring host.
- Something to collect it. An agent or exporter on each time source, and on a sample of clients.
- History. One reading tells you nothing; a week of readings shows drift, steps and the night the source went away.
- Thresholds for each class of machine. A DC, a database and a trading host have different tolerances. Set them from the table at the top of this page.
- Alerts someone reads. A time alert that goes to an unread mailbox is the same as no alert.
Watch your time sources closely, and sample clients. You don't need every laptop, but you need every DC.
Typical ways
| Approach | What it gives you | Good for |
|---|---|---|
Spot checks: chronyc tracking, w32tm /monitor, w32tm /stripchart |
The state right now | Fault-finding. Not monitoring |
Nagios or Icinga: check_ntp_time, check_ntp_peer |
Offset of a host against a server you name, and whether a time server answers | Existing Nagios-style estates. Alerts, little history |
| Zabbix | NTP service checks and agent items for offset | Existing Zabbix estates |
Prometheus node_exporter (timex collector) |
The kernel's own view: node_timex_offset_seconds, node_timex_maxerror_seconds, node_timex_sync_status |
Every Linux host, cheaply |
Prometheus chrony_exporter, or Telegraf's chrony input |
Per-source reach, offset and stratum, plus tracking | Linux time sources |
Prometheus windows_exporter (time collector), or the counters in SCOM |
The Windows Time Service performance counters: computed offset, frequency adjustment, source count | Domain controllers and Windows servers |
| An outside prober | Your servers' offset as seen from another host | Catching a source that is confidently wrong |
| AWS ClockBound | An error bound your application can read | Applications that need to know how wrong the clock might be |
We use Prometheus exporters for chrony, the GPS receiver and a set of public NTP servers, and Grafana for history and alerts.
What to watch
| What to watch | Why |
|---|---|
| Offset | Distance from the reference now |
| Jitter | Spread of samples |
| Frequency error | How fast the clock drifts unsupervised |
| Reach and last sample | Is the source still answering |
| Root delay and dispersion | Worst-case error bound |
Where to read each of these in chrony, ntpd and w32time is on the time sync commands page.
Your clock's error bound, the most it could be out, is root dispersion plus half the root delay.
What to alert on
- Source reach dropping to 0 and the age of the last sample, not stratum. A daemon keeps reporting its last good stratum while free-running.
- Offset and error bound passing a threshold you set for each class of machine.
- The number of clients served by your PDC emulator or DC time sources dropping below normal.
- On Windows, Kernel-General event 1 with a large time change, for Secure Time Seeding.
A GPS time server
We run a Linux server with a u-blox M10 GPS receiver attached, and it serves stratum 1 time on our LAN. It holds within a few hundred nanoseconds most of the time. The receiver sends the time of day over serial, which gpsd reads and passes to chrony. The PPS line marks the exact start of each second, and the kernel timestamps that edge. So gpsd tells chrony which second it is, and the PPS tells it exactly when that second started. It's public at time.hamertechnical.com.au: the web page shows its live state, and you can point an NTP client at it on port 123, or an NTS client (key exchange on port 4460).

| Component | Detail |
|---|---|
| Receiver | u-blox M10, multi-constellation |
| Time pulse | 1 PPS into the server |
| Software | gpsd and chrony, NTS on the public side |
| Cross-check sources | PTB (Germany), Netnod over NTS (Sweden), NIST and Google |
| Offset against the PPS (chrony) | Typically within 400 ns, worst 4.9 µs over 7 days |
| Error bound (chrony) | 10 to 30 µs |
| Monitoring | Prometheus exporters for chrony and the receiver, Grafana, public status page |
Recommendations
- In a Windows domain, point the forest root PDC emulator at three or more reliable, independent sources, as Microsoft recommends, or local stratum 1s, where it can reach them. Leave everything else on NT5DS. In a cloud there are other options.
- Turn off hypervisor time sync for domain controllers, as the vendors recommend, and turn off Secure Time Seeding on DCs.
- Use chrony on Linux, with NTS where the source supports it. Give it three or more independent sources where it can reach them; where it can't, one good clock and a monitor.
- Monitor reach and offset, not stratum.
- Better than about 1 ms needs a local reference and wired paths. Sub-microsecond needs hardware timestamps or PTP.
Feedback and help
If your measurements or your vendor's documentation say something different, tell us and we'll correct the article. If you want a second pair of eyes on your time architecture, from the domain hierarchy to monitoring, we can help with that too. Either way, email thomas.hamer@hamertechnical.com.au.
Sources
- Microsoft: Support boundary for high-accuracy time
- Microsoft: Configuring systems for high accuracy
- Microsoft: Windows Time service tools and settings
- u-blox MAX-M10S datasheet (UBX-20035208)
- ASIC Market Integrity Rules (Securities Markets) 2017, Part 9.3 Synchronised clocks
- ASIC Market Integrity Rules (Competition in Exchange Markets) 2011, Part 6.3
- ASIC RG 223, guidance on synchronised clocks (RG 223.355 to 223.360)
- ASIC speech, "ASIC's agenda for market integrity", 23 August 2011
- IOSCO: Clock synchronisation, final report
- EU Commission Delegated Regulation 2017/574 (MiFID II RTS 25)
- Microsoft Learn: Windows Time event IDs 24, 29 and 38 on a virtualized domain controller (KB 976924)
- VMware: Ensuring accurate timekeeping in virtualized Active Directory infrastructure (2020)
- Microsoft Learn: Secure Time Seeding recommendations for Windows Server (updated February 2026)
- FINRA rule 6820, clock synchronization
- ASD Information Security Manual (control ISM-0988)
- PCI DSS v4.0 (requirement 10.6), PCI SSC document library
- chrony documentation and FAQ
- RFC 5905, NTPv4
- RFC 8915, Network Time Security
- RFC 6238, TOTP
- chrony.conf directives
- Department of Industry: NMI time and frequency services
- Google Public NTP: FAQ
- Meta: Building a more accurate time service at Facebook scale
- NIST: Internet Time Service
- Netnod: Free time services
- USNO: Network Time Protocol
- Cloudflare: NTP
- Ubuntu: chrony client
- NTP Pool: how to use the pool
- Microsoft Learn: Support for the leap second (KB 2722715)