skip navigation

Timing Knowledge Centre

Understanding NTP Stratum

Learn about NTP server stratum, why it matters and how it helps to ensure accurate timekeeping across networks.

Estimated reading time: 4 minutes

Introduction

Time synchronisation is crucial for modern computer networks, and Network Time Protocol (NTP) serves as the backbone of this essential function. At the heart of NTP lies the concept of stratum, a hierarchical system that ensures accurate timekeeping across networks. Let's explore what NTP stratum means and why it matters.

What is NTP Stratum?

NTP stratum refers to the hierarchical levels in the NTP time synchronisation network. Think of it as a pyramid, where each level represents how many hops away a device is from the primary reference time source. This hierarchical model ensures that the time in a network is distributed from highly accurate, primary time sources (such as GPS clocks) down to devices at the edge of the network. Each stratum in the NTP hierarchy is numbered, starting from 0, which represents the most accurate time sources. The higher the stratum number, the further removed a time server is from the primary reference source, and, consequently, the less accurate its time may be.

The Hierarchy Explained

Stratum 0 devices sit at the top of the hierarchy. These are highly precise timekeeping devices such as atomic clocks, GPS clocks, or other radio-based time synchronisation devices. Stratum 0 devices themselves do not connect to the network directly but provide time to devices that do.

Stratum 1 servers, often called primary time servers, connect directly to Stratum 0 devices. These servers are the most accurate network time sources available and form the backbone of the internet's time infrastructure. Major organisations and time services typically maintain Stratum 1 servers.

Stratum 2 servers synchronise with Stratum 1 servers, Stratum 3 synchronise with Stratum 2, and so forth. This pattern continues down to Stratum 15, which is the lowest valid stratum level. Stratum 16 indicates that a device is unsynchronised.

Why Stratum Matters

The concept of stratum is critical for several reasons:

  • Time Accuracy: The closer a device is to a Stratum 0 reference clock, the more accurate the time it can provide. Understanding where your NTP servers are in the stratum hierarchy helps ensure your systems maintain the desired level of time precision.
  • Redundancy: Stratum hierarchy provides a layer of redundancy in time synchronisation. Even if a Stratum 1 server fails, Stratum 2 and Stratum 3 servers can continue to offer time, preventing widespread outages or errors.
  • Network Efficiency: Devices at higher strata (Stratum 2, Stratum 3) reduce the load on Stratum 1 servers, ensuring a more efficient distribution of time across the network. It also means that Stratum 1 servers are less likely to become overloaded or unavailable due to excessive requests.

Best Practices

When implementing NTP in your network, consider these key points:

  • Choose the Right Stratum for Your Needs: If your network relies on time-sensitive operations (e.g. financial transactions, telecommunications, or distributed systems), it’s critical to ensure that your NTP servers are as close to Stratum 1 as possible. For less time-sensitive applications, Stratum 2 or 3 may be adequate.
  • Implement Timing Redundancy: Add redundancy to your network by using multiple time sources. This ensures continued accurate timekeeping even if one source becomes unavailable. By deploying multiple servers across different strata, from GPS-connected Stratum 1 devices to dependent Stratum 2 servers, organisations can maintain accurate timekeeping even when primary time sources fail, ensuring consistent network synchronisation.
  • Monitor and Maintain Your NTP Servers: It's important to regularly monitor the health of your NTP servers, especially if they’re synchronised with higher strata. Poor performance or failure to synchronise with a reliable Stratum 1 server could affect the accuracy of time distribution across your network.

Looking Ahead

As networks become more complex and time-sensitive applications more prevalent, understanding NTP stratum remains vital for maintaining network integrity. Whether you're managing a small office network or a large enterprise infrastructure, proper NTP stratum implementation helps ensure your systems run smoothly and securely.

Remember, while higher stratum numbers mean less accurate time sources, for many business applications, even Stratum 3 or 4 servers provide more than adequate accuracy. The key is building a reliable and redundant time synchronisation infrastructure that meets your specific needs.