Precision Time Protocol - Best Master Clock Algorithm

Best Master Clock Algorithm

The best master clock (BMC) algorithm performs a distributed selection of the best candidate clock based on the following clock properties.

  • Identifier - A universally unique numeric identifier for the clock. This is typically constructed based on a device's MAC address.
  • Quality - Both versions of IEEE 1588 attempt to quantify clock quality based on expected timing deviation, technology used to implement the clock or location in a stratum schema, although only V1 knows a data field stratum. PTP V2 defines the overall quality of a clock by using the data fields clockAccuracy and clockClass.
  • Priority - An administratively assigned precedence hint used by the BMC to help select a grandmaster for the PTP domain. IEEE 1588-2002 used a single boolean variable to indicate precedence. IEEE 1588-2008 features two 8-bit priority fields.
  • Variance - A clock's estimate of its stability based on observation of its performance against the PTP reference.

IEEE 1588-2008 uses a hierarchical selection algorithm based on the following properties in the order indicated.

  1. Priority 1
  2. Class
  3. Accuracy
  4. Variance
  5. Priority 2
  6. Unique identifier (tie breaker)

IEEE 1588-2002 uses a selection algorithm based on similar properties.

Read more about this topic:  Precision Time Protocol

Famous quotes containing the words master and/or clock:

    We shall make mistakes, but they must never be mistakes which result from faintness of heart or abandonment of moral principles. I remember that my old school master Dr. Peabody said in days that seemed to us then to be secure and untroubled, he said things in life will not always run smoothly, sometimes we will be rising toward the heights and all will seem to reverse itself and start downward. The great thing to remember is that the trend of civilization itself is forever upward.
    Franklin D. Roosevelt (1882–1945)

    I open with a clock striking, to beget an awful attention in the audience—it also marks the time, which is four o’clock in the morning, and saves a description of the rising sun, and a great deal about gilding the eastern hemisphere.
    Richard Brinsley Sheridan (1751–1816)