Clock adjustment holdover

Information

  • Patent Grant
  • 12216489
  • Patent Number
    12,216,489
  • Date Filed
    Tuesday, February 21, 2023
    a year ago
  • Date Issued
    Tuesday, February 4, 2025
    9 days ago
Abstract
In one embodiment, a clock synchronization system includes clock circuitry to maintain a clock running at a clock frequency, a clock controller, and a processor to execute software to generate clock update commands and provide the clock update commands to the clock controller, wherein the clock controller is configured to apply the clock update commands to the clock, store a holdover frequency command to maintain the clock during a failure of the clock update commands, apply the holdover frequency command to the clock responsively to detecting the failure.
Description
FIELD OF THE INVENTION

The present invention relates to computer systems, and in particular, but not exclusively, to clock frequency adjustment.


BACKGROUND

In some systems, a local clock running on a network interface controller (NIC) may be adjusted based on frequency updates provided by a software application running on a processor, for example, in a host device.


The software managing the clock (sometimes referred to as “servo”) disciplines the clock by measuring the clock's error against some clock synchronization leader and issues adjustment commands to correct the clock errors. The software generally simultaneously corrects for different types of errors including: (a) long-term errors (which are typically measured over time periods of days), for example, oscillator aging, (b) medium-term errors (typically measured over time periods of minutes), for example, ambient/oscillator temperature changes, (c) short-term errors (typically measured over time periods of milliseconds), for example, oscillator frequency instabilities, jitter due to hardware limitations (e.g., clock quantization and inaccuracies).


SUMMARY

There is provided in accordance with an embodiment of the present disclosure, a clock synchronization system, including clock circuitry to maintain a clock running at a clock frequency, a clock controller, and a processor to execute software to generate clock update commands and provide the clock update commands to the clock controller, wherein the clock controller is configured to apply the clock update commands to the clock, store a holdover frequency command to maintain the clock during a failure of the clock update commands, and apply the holdover frequency command to the clock responsively to detecting the failure.


Further in accordance with an embodiment of the present disclosure the software is configured to generate the holdover frequency command, and provide the holdover frequency command to the clock controller.


Still further in accordance with an embodiment of the present disclosure the clock controller is configured to generate the holdover frequency command.


Additionally in accordance with an embodiment of the present disclosure the clock controller is configured to apply the holdover frequency command to the clock in the absence of the clock controller receiving any clock update command within a time period derived from timing criteria.


Moreover, in accordance with an embodiment of the present disclosure the software is configured to generate the timing criteria, which indicates when the controller applies the holdover frequency command, and provide the timing criteria to the clock controller.


Further in accordance with an embodiment of the present disclosure the software is configured to provide a message including the holdover frequency command and the timing criteria to the clock controller.


Still further in accordance with an embodiment of the present disclosure the timing criteria specifies a deadline of the time period.


Additionally in accordance with an embodiment of the present disclosure the timing criteria defines the deadline as any of the following a given time value, a time relative to when the timing criteria was received by the clock controller, a time relative to when the clock controller applied a given previous frequency adjustment, or a time relative to when the clock controller applied a latest frequency adjustment.


Moreover, in accordance with an embodiment of the present disclosure the software is configured to generate the holdover frequency command responsively to clock updates.


Further in accordance with an embodiment of the present disclosure the software is configured to generate the holdover frequency command responsively to any one or more of the following an average of clock updates, a mean of clock updates, a median of clock updates, and a mode of clock updates.


Still further in accordance with an embodiment of the present disclosure the clock controller is configured to generate the holdover frequency command responsively to clock updates.


Additionally in accordance with an embodiment of the present disclosure the clock controller is configured to generate the holdover frequency command responsively to any one or more of the following an average of clock updates, a mean of clock updates, a median of clock updates, and a mode of clock updates.


Moreover in accordance with an embodiment of the present disclosure the software is configured to provide a message to the clock controller to cancel the holdover frequency command.


Further in accordance with an embodiment of the present disclosure the software is configured to provide another holdover frequency command to the clock controller to override the previously provided holdover frequency command.


Still further in accordance with an embodiment of the present disclosure the clock controller is included in a processor configured to execute driver software, which is configured responsively to detecting the failure to apply the holdover frequency command to the clock.


Additionally in accordance with an embodiment of the present disclosure the clock controller includes an application specific integrated circuit, which is configured responsively to detecting the failure to apply the holdover frequency command to the clock.


Moreover, in accordance with an embodiment of the present disclosure the clock circuitry maintains the clock for at least one of a network interface controller, a data processing unit (DPU), a central processing unit (CPU), or a graphics processing unit (GPU).


There is also provided in accordance with another embodiment of the present disclosure, a clock synchronization method, including maintaining a clock running at a clock frequency, generating clock update commands, applying by a clock controller the clock update commands to the clock, storing a holdover frequency command to maintain the clock during a failure of the clock update commands, and applying by the clock controller the holdover frequency command to the clock responsively to detecting the failure.


Further in accordance with an embodiment of the present disclosure, the method includes generating the holdover frequency command.


Still further in accordance with an embodiment of the present disclosure the applying includes applying the holdover frequency command to the clock in the absence of the clock controller receiving any clock update command within a time period derived from timing criteria.


Additionally in accordance with an embodiment of the present disclosure, the method includes generating the timing criteria, which indicates when the clock controller applies the holdover frequency command, and providing the timing criteria to the clock controller.


Moreover, in accordance with an embodiment of the present disclosure, the method includes providing a message including the holdover frequency command and the timing criteria to the clock controller.


Further in accordance with an embodiment of the present disclosure the timing criteria specifies a deadline of the time period.


Still further in accordance with an embodiment of the present disclosure the timing criteria defines the deadline as any of the following a given time value, a time relative to when the timing criteria was received by the clock controller, a time relative to when the clock controller applied a given previous frequency adjustment, or a time relative to when the clock controller applied a latest frequency adjustment.


Additionally in accordance with an embodiment of the present disclosure the generating the holdover frequency command includes generating the holdover frequency command responsively to frequency updates.


Moreover, in accordance with an embodiment of the present disclosure the generating the holdover frequency command includes generating the holdover frequency command responsively to any one or more of the following an average of frequency updates, a mean of frequency updates, a median of frequency updates, and a mode of frequency updates.


Further in accordance with an embodiment of the present disclosure, the method includes providing a message to the clock controller to cancel the holdover frequency command.


Still further in accordance with an embodiment of the present disclosure, the method includes providing another holdover frequency command to the clock controller to override the previously provided holdover frequency command.





BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will be understood from the following detailed description, taken in conjunction with the drawings in which:



FIG. 1 is a block diagram view of a clock synchronization system constructed and operative in accordance with an embodiment of the present invention;



FIG. 2 is a flowchart including steps in a clock synchronization method for use in the system of FIG. 1;



FIGS. 3-5 are flowcharts including steps in a method of holdover frequency management for use in the system of FIG. 1;



FIG. 6 is a graph illustrating holdover time synchronization in the system of FIG. 1; and



FIG. 7 is a block diagram view of a clock synchronization system constructed and operative in accordance with an alternative embodiment of the present invention.





DESCRIPTION OF EXAMPLE EMBODIMENTS
Overview

As previously mentioned, a local clock running on a device (such as peripheral device (e.g., a network interface controller (NIC)), or a device including a graphics processing unit (GPU), data processing unit (DPU), or central processing unit (CPU)), may be adjusted based on frequency updates provided by a software application running on a processor, for example, in a host device. The software managing the clock (sometimes referred to as “servo”) disciplines the clock by measuring the clock's error against some clock synchronization leader and issues adjustment commands to correct the clock errors.


A clock is described as being in state of “holdover” if it is no longer being disciplined according to measurements of the clock's error against some reference (e.g., a clock synchronization leader). Holdover may be a result of some failure to receive clock updates such as connectivity loss, failure of the reference, or failure of software managing the clock. The corrections applied to the clock by the software are persistent even if the software no longer controls the clock, such as when the software crashes. This means that if the software crashes or there is some other failure, the clock will be “dead reckoning” with the last adjustment the clock received from the software and the clock accuracy in the state of holdover is entirely decided by the last adjustment. This is not generally a satisfactory solution as the previous software correction corrects for short-term, medium-term, and long-term errors. Additionally, using the last adjustment in the long term generally leads to a large clock drift.


Using the last adjustment while the software has failed (or some other failure) may be problematic in at least two cases in particular: (1) if a clock control loop uses frequency adjustments to compensate for time error leading to relatively high-amplitude frequency adjustments in regular operation; and (2) the clock control loop is currently responding to a transient timing error (e.g., due to network congestion or network reconfiguration).


Therefore, in embodiments of the present invention, clock management software is programmed to provide a clock controller with a holdover frequency command to be used in the future by the clock controller to maintain the clock when there is a failure to receive clock updates (e.g., when the software crashes or is killed or does not provide clock updates commands on a regular basis for any reason). In some embodiments, the clock controller generates the holdover frequency command.


While the software is active and is still sending clock update commands to the clock controller, the clock controller maintains the clock and applies the clock update commands to the clock. The clock update commands may be frequency update commands (i.e., to update a frequency of the clock) or clock value update commands (i.e., to update the value of the clock). The clock may be updated by updating a frequency of the clock and/or updating the clock value, e.g., by stepping the clock value from one value to another value such as moving the clock by 10 nanoseconds forward or backward. However, when the software fails or similar failure occurs and the clock controller no longer receives clock update commands (e.g., within a timeout), the clock controller maintains and updates the clock (e.g., by updating the clock frequency and/or the clock value) based on the previously provided holdover frequency command.


The holdover frequency command may be generated to maintain the clock over the medium to long term. In some embodiments, the holdover frequency command may be computed based on two or more (e.g., 1000) (previous) frequency updates applied to the clock.


In some embodiments, the clock controller may determine that a failure has occurred based on the absence of the clock controller receiving any clock update commands within a time period derived from timing criteria (e.g., previously provided by the software). The timing criteria may specify a deadline of the time period over which absence of receiving any clock update command is determined. The time period may have any suitable duration for example in the order of microseconds to minutes. The timing criteria may define the deadline as any of the following: a given time value, a time relative to when the timing criteria was received by the clock controller, a time relative to when the clock controller applied a given previous frequency adjustment, or a time relative to when the clock controller applied a latest frequency adjustment.


In some embodiments, the software or the clock controller may generate the holdover frequency command based on one or more of the following: an average of (previous) frequency updates, a mean of (previous) frequency updates, a median of (previous) frequency updates, a mode of (previous) frequency updates.


The software may provide a message to the clock controller to cancel the holdover frequency command. The software may provide another holdover frequency command to the clock controller thereby overriding a previously provided holdover frequency command.


In some embodiments, the clock controller may be implemented using driver software which is executed by a processor in the host device. The driver detects the failure of the software and applies the holdover frequency command to the clock frequency. In other embodiments, the clock controller may include an application specific integrated circuit (ASIC), which responsively to detecting the failure of the software applies the holdover frequency command to the clock frequency.


System Description


Reference is now made to FIG. 1, which is a block diagram view of a clock synchronization system 10 constructed and operative in accordance with an embodiment of the present invention. The system 10 comprises a host device 12 and a peripheral device 14 connected to each other via a suitable interface, for example, a peripheral data bus interface, such as Peripheral Component Interconnect Express (PCIe). In some embodiments, the host device 12 and the peripheral device 14 may be combined into a single processing device. In other embodiments, the host device 12 and/or peripheral device 14 may be any suitable processing devices connected via a suitable data connection.


The host device 12 includes: a processor 16 configured to execute software 18; and an interface 20 configured to share data with the peripheral device 14. The software 18 is described in more detail with reference to FIGS. 2-7.


The peripheral device 14 includes: an interface 38 configured to share data with the host device 12; a clock controller 22; clock circuitry 24; and one or more of the following: a network interface controller (NIC) 26; a data processing unit (DPU) 28; a central processing unit (CPU) 30; and/or a graphics processing unit (GPU) 32. In some embodiments, the central processing unit 30 and the processor 16 may be the same element.


The clock controller 22 includes an application specific integrated circuit (ASIC) 36. The functionality of the application specific integrated circuit 36 is described in more detail with reference to FIGS. 3 and 5. The clock controller 22 is described in more detail with reference to FIGS. 2-7. In some embodiments, the clock controller 22 is implemented by a driver run by the processor 16 of the host device 12, described in more detail with reference to FIG. 7.


The clock circuitry 24 is configured to maintain a clock 34 running at a clock frequency. The clock circuitry 24 may include a hardware clock (e.g., Precision Time Protocol (PTP) hardware clock) which maintains a clock time (e.g., Coordinated Universal Time or UTC) and runs at the clock frequency. In some embodiments, the clock circuitry 24 may include a free running counter and the time of the clock is obtained by applying some computation to the value of the counter. The clock 34 may be adjusted by adjusting the frequency of the running hardware clock or counter, or by adjusting a time value of the clock or a value of the counter, or by applying an adjustment to the computation used to compute the clock time from the value of the counter. In some embodiments, the clock circuitry 24 is configured to maintain the clock 34 for one or more of: the network interface controller 26; the data processing unit 28; the central processing unit 30; and/or the graphics processing unit 32.


Reference is now made to FIG. 2, which is a flowchart 200 including steps in a clock synchronization method for use in the system 10 of FIG. 1. The software 18 is configured to generate clock update commands and provide the clock update commands to the clock controller 22 to apply the clock update commands to the clock maintained by the clock circuitry 24. The clock update commands may be frequency update commands (i.e., to update a frequency of the clock) or clock value update commands (i.e., to update the value of the clock). The clock may be updated by updating a frequency of the clock and/or updating the clock value, e.g., by stepping the clock value from one value to another value. A frequency update command may be used to update a frequency of the clock or to update the clock value by stepping the clock intermittently according to the frequency update command. A clock update command may be used to update the clock value by changing the clock value or by changing the clock frequency which leads to changing the clock value over time.


In more detail, the software 18 is configured to generate a clock (frequency) update command (block 202), and provide the generated clock (frequency) update command to the clock controller 22 (block 204) to apply the clock (frequency) update command to the clock and/or clock frequency. The steps of blocks 202 and 204 are repeated intermittently, for example, every millisecond or second etc. The above process is used to correct the frequency and/or value of the clock 34 on a regular basis based on time synchronization with a remote clock (not shown).



FIGS. 3-5 are flowcharts including steps in a method of holdover frequency management for use in the system 10 of FIG. 1. Reference is now made to FIG. 3, which is a flowchart 300 in a method performed by the application specific integrated circuit 36 of the clock controller 22. The application specific integrated circuit 36 of the clock controller 22 is configured to start a timer (block 302), which is used to determine if the software 18 has failed or if there is another failure of receiving clock (frequency) update commands (e.g., due to leader failure or connection failure), as will be described in more detail with reference to FIG. 5. Using a timer is one way to determine if the software has failed or if there is another failure of receiving clock (frequency) update commands. Other methods may also be applied to determine if the software has failed or if there is another failure of receiving clock (frequency) update commands. The application specific integrated circuit 36 of the clock controller 22 is configured to receive a clock (frequency) update command from the software 18 (block 304). The application specific integrated circuit 36 of the clock controller 22 is configured to reset the timer, upon receiving the clock (frequency) update command (block 306) and the timer then continues to run from its reset value (e.g., zero). The application specific integrated circuit 36 of the clock controller 22 is configured to apply the received clock (frequency) update command to the value of the clock 34 and/or clock frequency of the clock 34 (block 308). The steps of blocks 304-308 are repeated upon receiving a new clock (frequency) update command.


Reference is now made to FIG. 4, which is a flowchart 400 in a method performed by the software 18 to generate and provide a holdover frequency command to the clock controller 22. In some embodiments, the software 18 is configured to generate timing criteria, which indicates when the clock controller 22 applies the holdover frequency command to the value of the clock and/or frequency of the clock (block 402). The timing criteria is provided to the clock controller 22 as described in more detail below. The timing criteria generally specifies a deadline (or a length) of a time period after which the clock controller 22 applies the holdover frequency command to the clock value and/or frequency in the absence of receiving a clock (frequency) update command during the time period. The time period and/or the deadline may be tracked using the timer (which is reset when a clock (frequency) update command is received) described with reference to FIG. 3 or a timer which is managed according to any suitable method depending on the timing criteria. The timing criteria may define the deadline as any of the following: a given time value; a time relative to when the timing criteria was received by the clock controller 22; a time relative to when the clock controller 22 applied a given previous frequency adjustment; or a time relative to when the clock controller 22 applied a latest frequency adjustment.


The software 18 is configured to generate the holdover frequency command to maintain the clock frequency during a failure of the software 18 or other failure to receive clock (frequency) update commands (as described above) for future use by the clock controller 22 (block 404) The software 18 may be configured to generate the holdover frequency command responsively to two or more previously applied or computed clock (frequency) updates to the frequency of the clock 34. For example, the holdover frequency command may be computed using any suitable function from the X previous frequency updates, where X may have any suitable value, such as 2, 5, 1,000, 10,000, etc. By way of another example, the holdover frequency command may be computed by summing the amount of nanoseconds the clock was stepped over a certain period of time and divided by the duration of that period.


The software 18 is configured to generate the holdover frequency command responsively to one or more of the following: an average of frequency updates; a mean of frequency updates; a median of frequency updates; and/or a mode of frequency updates.


In other embodiments, the holdover frequency command and/or the timing criteria may be generated by the clock controller 22 instead of by the software 18 according to the methods described above. The clock controller 22 may be manufactured or otherwise configured to generate the holdover frequency command and/or the timing criteria. Alternatively, the software 18 may signal the clock controller 22 to generate the holdover frequency command and/or the timing criteria.


In some embodiments, the software 18 is configured to provide the timing criteria to the clock controller 22 (block 406). The software 18 is configured to provide the holdover frequency command to the clock controller 22 (block 408). In some embodiments, the steps of blocks 406-408 may be performed by the software 18 being configured to provide a message including the holdover frequency command and the timing criteria to the clock controller 22 (block 410).


The software 18 may be configured to provide a message to the clock controller 22 to cancel the provided holdover frequency command (block 412). The software 18 may be configured to intermittently perform the steps of blocks 402-412 again with a new holdover frequency command and optionally new timing criteria. Therefore, the software 18 may be configured to provide another holdover frequency command to the clock controller 22 to override the previously provided holdover frequency command.


Reference is now made to FIG. 5, which is a flowchart 500 including steps in a method in which the clock controller 22 applies the provided holdover frequency command to the clock value and/or frequency of the clock 34.


The application specific integrated circuit 36 of the clock controller 22 is configured to receive the holdover frequency command from the software 18 (block 502) (optionally overwriting a previous holdover frequency command). In some embodiments, the application specific integrated circuit 36 of the clock controller 22 is configured to receive a cancellation message canceling the provided holdover frequency command (block 504) and cancel the holdover frequency command (block 506), which may include deleting the provided holdover frequency command (from memory) or preventing use of the provided holdover frequency command. In other embodiments, the application specific integrated circuit 36 is configured to generate the holdover frequency command.


The application specific integrated circuit 36 of the clock controller 22 is configured to store the holdover frequency command for future use (block 507).


Assuming the holdover frequency command has not cancelled, the application specific integrated circuit 36 of the clock controller 22 is configured to apply the holdover frequency command to the clock frequency responsively to detecting the failure of the software 18 or other failure to receive the clock (frequency) update commands, as described in more detail below.


The application specific integrated circuit 36 is configured to detecting failure of the software 18 or other failure to receive the clock (frequency) update commands (block 508). The step of block 508 may include the application specific integrated circuit 36 being configured to check a value of the timer (block 510) and at decision block 512 determine if the value of the timer fulfills the timing criteria, for example, determine if the value of the timer has exceeded a given time value thereby indicating that the time period over which a clock (frequency) update command should have been received by the clock controller 22 has expired without receipt of any clock (frequency) update command by the clock controller 22.


If the value of the timer does not fulfill the criteria (e.g., the timer has not expired) the step of block 510 is repeated. If the value of the timer does fulfill the criteria (e.g., the timer has expired) the application specific integrated circuit 36 of the clock controller 22 is configured to apply the holdover frequency command to the clock value and/or frequency to maintain the clock 34 (block 514) until further clock (frequency) update commands are received by the clock controller 22 from the software 18. Therefore, in some embodiments, the clock controller 22 is configured to apply the holdover frequency command to the clock value and/or frequency in the absence of the clock controller 22 receiving any clock (frequency) update command within the time period derived from timing criteria.


Reference is now made to FIG. 6, which is a graph 600 illustrating holdover time synchronization in the system 10 of FIG. 1. The graph 600 shows a line 602 which would be followed if the follower is exactly following the time on the leader all the time (without the need for corrections). A line 604 shows how the follower's time drifts from the time of the leader and is corrected based on the clock (frequency) update commands. At a certain time, the software 18 crashes (icon 608). If the clock controller 22 would continue to maintain the clock based on the latest clock (frequency) update command, the time on the follower would continue to drift from the time of the leader as shown by a line 606 which is a continuation of the last section of the line 604 before the crash. If the clock controller 22 maintains the clock based on the holdover frequency command, the time on the follower (shown by a line 610) does not drift as much as shown by the line 606.


Reference is now made to FIG. 7, which is a block diagram view of a clock synchronization system 700 constructed and operative in accordance with an alternative embodiment of the present invention. The clock synchronization system 700 is substantially the same as the system 10 of FIG. 1 except for the following differences. The clock controller 22 is comprised in the processor 16 and is typically at least partially implemented by driver software 702 running on the processor 16 of the host device 12. The steps performed by the application specific integrated circuit 36 in the system 10 (as described above with reference to FIGS. 3, 4 and 5) are generally performed by the driver software 702 in the clock synchronization system 700.


In practice, some or all of the functions of the clock controller 22 may be combined in a single physical component or, alternatively, implemented using multiple physical components. These physical components may comprise hard-wired or programmable devices, or a combination of the two. In some embodiments, at least some of the functions of the clock controller 22 may be carried out by a programmable processor under the control of suitable software. This software may be downloaded to a device in electronic form, over a network, for example. Alternatively, or additionally, the software may be stored in tangible, non-transitory computer-readable storage media, such as optical, magnetic, or electronic memory.


Various features of the invention which are, for clarity, described in the contexts of separate embodiments may also be provided in combination in a single embodiment. Conversely, various features of the invention which are, for brevity, described in the context of a single embodiment may also be provided separately or in any suitable sub-combination.


The embodiments described above are cited by way of example, and the present invention is not limited by what has been particularly shown and described hereinabove. Rather the scope of the invention includes both combinations and sub-combinations of the various features described hereinabove, as well as variations and modifications thereof which would occur to persons skilled in the art upon reading the foregoing description and which are not disclosed in the prior art.

Claims
  • 1. A clock synchronization system, comprising: clock circuitry to maintain a clock running at a clock frequency;a clock controller; anda processor to execute software to generate clock update commands and provide the clock update commands to the clock controller, wherein the clock controller is configured to:apply the clock update commands to the clock;store a holdover frequency command to maintain the clock during a failure of the clock update commands;apply the holdover frequency command to the clock responsively to detecting the failure, wherein the clock controller or the software is configured to generate the holdover frequency command responsively to any one or more of the following: an average of clock updates; a mean of clock updates; a median of clock updates; and a mode of clock updates; andapply the holdover frequency command to the clock in the absence of the clock controller receiving any clock update command within a time period derived from timing criteria.
  • 2. The system according to claim 1, wherein the software is configured to: generate the holdover frequency command; and provide the holdover frequency command to the clock controller.
  • 3. The system according to claim 1, wherein the clock controller is configured to generate the holdover frequency command.
  • 4. The system according to claim 1, wherein the software is configured to: generate the timing criteria, which indicates when the controller applies the holdover frequency command; andprovide the timing criteria to the clock controller.
  • 5. The system according to claim 4, wherein the software is configured to provide a message including the holdover frequency command and the timing criteria to the clock controller.
  • 6. The system according to claim 1, wherein the timing criteria specifies a deadline of the time period.
  • 7. The system according to claim 6, wherein the timing criteria defines the deadline as any of the following: a given time value; a time relative to when the timing criteria was received by the clock controller; a time relative to when the clock controller applied a given previous frequency adjustment; or a time relative to when the clock controller applied a latest frequency adjustment.
  • 8. The system according to claim 1, wherein the software is configured to generate the holdover frequency command responsively to clock updates.
  • 9. The system according to claim 1, wherein the clock controller is configured to generate the holdover frequency command responsively to clock updates.
  • 10. A clock synchronization system, comprising: clock circuitry to maintain a clock running at a clock frequency;a clock controller; anda processor to execute software to generate clock update commands and provide the clock update commands to the clock controller, wherein the clock controller is configured to:apply the clock update commands to the clock;store a holdover frequency command to maintain the clock during a failure of the clock update commands;apply the holdover frequency command to the clock responsively to detecting the failure, wherein the software is configured to: provide a message to the clock controller to cancel the holdover frequency command; and provide another holdover frequency command to the clock controller to override the previously provided holdover frequency command; andapply the holdover frequency command to the clock in the absence of the clock controller receiving any clock update command within a time period derived from timing criteria.
  • 11. The system according to claim 1, wherein the clock controller is comprised in a processor configured to execute driver software, which is configured responsively to detecting the failure to apply the holdover frequency command to the clock.
  • 12. The system according to claim 1, wherein the clock controller includes an application specific integrated circuit, which is configured responsively to detecting the failure to apply the holdover frequency command to the clock.
  • 13. The system according to claim 1, wherein the clock circuitry maintains the clock for at least one of: a network interface controller; a data processing unit (DPU); a central processing unit (CPU); or a graphics processing unit (GPU).
  • 14. A clock synchronization method, comprising: maintaining a clock running at a clock frequency;generating clock update commands;applying by a clock controller the clock update commands to the clock;storing a holdover frequency command to maintain the clock during a failure of the clock update commands; andapplying by the clock controller the holdover frequency command to the clock responsively to detecting the failure, wherein the generating the holdover frequency command includes generating the holdover frequency command responsively to any one or more of the following: an average of frequency updates; a mean of frequency updates; a median of frequency updates; and a mode of frequency updates, wherein the applying includes applying the holdover frequency command to the clock in the absence of the clock controller receiving any clock update command within a time period derived from timing criteria.
  • 15. The method according to claim 14, further comprising generating the holdover frequency command.
  • 16. The method according to claim 14, further comprising: generating the timing criteria, which indicates when the clock controller applies the holdover frequency command; andproviding the timing criteria to the clock controller.
  • 17. The method according to claim 16, further comprising providing a message including the holdover frequency command and the timing criteria to the clock controller.
  • 18. The method according to claim 14, wherein the timing criteria specifies a deadline of the time period.
  • 19. The method according to claim 18, wherein the timing criteria defines the deadline as any of the following: a given time value; a time relative to when the timing criteria was received by the clock controller; a time relative to when the clock controller applied a given previous frequency adjustment; or a time relative to when the clock controller applied a latest frequency adjustment.
  • 20. The method according to claim 14, wherein the generating the holdover frequency command includes generating the holdover frequency command responsively to frequency updates.
  • 21. The method according to claim 14, further comprising providing a message to the clock controller to cancel the holdover frequency command.
  • 22. The method according to claim 14, further comprising providing another holdover frequency command to the clock controller to override the previously provided holdover frequency command.
US Referenced Citations (206)
Number Name Date Kind
5392421 Lennartsson Feb 1995 A
5402394 Turski Mar 1995 A
5416808 Witsaman et al. May 1995 A
5491792 Grisham et al. Feb 1996 A
5564285 Jurewicz et al. Oct 1996 A
5592486 Lo et al. Jan 1997 A
5896524 Halstead, Jr. et al. Apr 1999 A
6055246 Jones Apr 2000 A
6084856 Simmons et al. Jul 2000 A
6144714 Bleiweiss et al. Nov 2000 A
6199169 Voth Mar 2001 B1
6289023 Dowling et al. Sep 2001 B1
6449291 Burns et al. Sep 2002 B1
6535926 Esker Mar 2003 B1
6556636 Takagi Apr 2003 B1
6556638 Blackburn Apr 2003 B1
6718476 Shima Apr 2004 B1
6918049 Lamb et al. Jul 2005 B2
7111184 Thomas, Jr. et al. Sep 2006 B2
7191354 Purho Mar 2007 B2
7245627 Goldenberg et al. Jul 2007 B2
7254646 Aguilera et al. Aug 2007 B2
7334124 Pham et al. Feb 2008 B2
7412475 Govindarajalu Aug 2008 B1
7440474 Goldman et al. Oct 2008 B1
7447975 Riley Nov 2008 B2
7483448 Bhandari et al. Jan 2009 B2
7496686 Coyle Feb 2009 B2
7535933 Zerbe et al. May 2009 B2
7623552 Jordan et al. Nov 2009 B2
7636767 Lev-Ran et al. Dec 2009 B2
7650158 Indirabhai Jan 2010 B2
7656751 Rischar et al. Feb 2010 B2
7750685 Bunch et al. Jul 2010 B1
7904713 Zajkowski et al. Mar 2011 B1
7941684 Serebrin et al. May 2011 B2
8065052 Fredriksson et al. Nov 2011 B2
8300749 Hadzic et al. Oct 2012 B2
8341454 Kondapalli Dec 2012 B1
8370675 Kagan Feb 2013 B2
8407478 Kagan et al. Mar 2013 B2
8607086 Cullimore Dec 2013 B2
8699406 Charles et al. Apr 2014 B1
8824903 Christensen Sep 2014 B2
8879552 Zheng Nov 2014 B2
8930647 Smith Jan 2015 B1
9344265 Karnes May 2016 B2
9397960 Arad et al. Jul 2016 B2
9549234 Mascitto Jan 2017 B1
9753854 Bao Sep 2017 B1
9942025 Bosch et al. Apr 2018 B2
9979998 Pogue et al. May 2018 B1
10014937 Di Mola et al. Jul 2018 B1
10027601 Narkis et al. Jul 2018 B2
10054977 Mikhaylov et al. Aug 2018 B2
10095543 Griffin et al. Oct 2018 B1
10148258 Carlson et al. Dec 2018 B2
10148274 Jin Dec 2018 B1
10164759 Volpe Dec 2018 B1
10320646 Mirsky et al. Jun 2019 B2
10483987 Ranganathan Nov 2019 B1
10515045 Mattina Dec 2019 B1
10608647 Ranganathan Mar 2020 B1
10637776 Iwasaki Apr 2020 B2
10727844 Gong Jul 2020 B1
10727966 Izenberg et al. Jul 2020 B1
10778361 Almog et al. Sep 2020 B1
10778406 Gaist et al. Sep 2020 B2
10841243 Levi et al. Nov 2020 B2
10879910 Franck et al. Dec 2020 B1
10887077 Ivry Jan 2021 B1
10908635 Ranganathan Feb 2021 B1
11070224 Faig et al. Jul 2021 B1
11070304 Levi et al. Jul 2021 B1
11128500 Mentovich et al. Sep 2021 B1
11157433 Lederman et al. Oct 2021 B2
11240079 Kushnir et al. Feb 2022 B1
11303363 Mohr et al. Apr 2022 B1
11336383 Mula et al. May 2022 B2
11368768 Bakopoulos et al. Jun 2022 B2
11379334 Srinivasan et al. Jul 2022 B1
11388263 Evi et al. Jul 2022 B2
11476928 Levi et al. Oct 2022 B2
11606157 Wasko et al. Mar 2023 B1
20010006500 Nakajima et al. Jul 2001 A1
20020027886 Fischer et al. Mar 2002 A1
20020031199 Rolston et al. Mar 2002 A1
20040096013 Laturell et al. May 2004 A1
20040153907 Gibart Aug 2004 A1
20050033947 Morris et al. Feb 2005 A1
20050172181 Huliehel Aug 2005 A1
20050268183 Barmettler Dec 2005 A1
20060109376 Chaffee et al. May 2006 A1
20060171496 Nakamuta Aug 2006 A1
20070008044 Shimamoto Jan 2007 A1
20070072451 Tazawa et al. Mar 2007 A1
20070104098 Kimura et al. May 2007 A1
20070124415 Lev-Ran et al. May 2007 A1
20070139085 Elliot et al. Jun 2007 A1
20070159924 Vook et al. Jul 2007 A1
20070266119 Ohly Nov 2007 A1
20080069150 Badt et al. Mar 2008 A1
20080225841 Conway et al. Sep 2008 A1
20080285597 Downey et al. Nov 2008 A1
20090167443 Liu Jul 2009 A1
20090257458 Cui et al. Oct 2009 A1
20100280858 Bugenhagen Nov 2010 A1
20110110360 Fenwick et al. May 2011 A1
20110182191 Jackson Jul 2011 A1
20110194425 Li et al. Aug 2011 A1
20120063556 Hoang Mar 2012 A1
20120076319 Terwal Mar 2012 A1
20120301134 Davari et al. Nov 2012 A1
20130039359 Bedrosian Feb 2013 A1
20130045014 Mottahedin et al. Feb 2013 A1
20130215889 Zheng et al. Aug 2013 A1
20130235889 Aweya Sep 2013 A1
20130294144 Wang et al. Nov 2013 A1
20130315265 Webb, III et al. Nov 2013 A1
20130336435 Akkihal et al. Dec 2013 A1
20140003199 Dougan Jan 2014 A1
20140085141 Geva et al. Mar 2014 A1
20140153680 Garg et al. Jun 2014 A1
20140185216 Zeng et al. Jul 2014 A1
20140185632 Steiner et al. Jul 2014 A1
20140253387 Gunn et al. Sep 2014 A1
20140281036 Cutler et al. Sep 2014 A1
20140301221 Nadeau et al. Oct 2014 A1
20140321285 Chew et al. Oct 2014 A1
20150019839 Cardinell et al. Jan 2015 A1
20150078405 Roberts Mar 2015 A1
20150092793 Aweya Apr 2015 A1
20150127978 Cui et al. May 2015 A1
20150163050 Han et al. Jun 2015 A1
20150318941 Zheng et al. Nov 2015 A1
20160057518 Neudorf Feb 2016 A1
20160072602 Earl et al. Mar 2016 A1
20160110211 Karnes Apr 2016 A1
20160140066 Worrell et al. May 2016 A1
20160277138 Garg et al. Sep 2016 A1
20160285574 White et al. Sep 2016 A1
20160315756 Tenea et al. Oct 2016 A1
20170005903 Mirsky Jan 2017 A1
20170017604 Chen et al. Jan 2017 A1
20170126589 Estabrooks et al. May 2017 A1
20170160933 De Jong et al. Jun 2017 A1
20170214516 Rivaud Jul 2017 A1
20170302392 Farra et al. Oct 2017 A1
20170331926 Raveh et al. Nov 2017 A1
20170359137 Butterworth et al. Dec 2017 A1
20180059167 Sharf et al. Mar 2018 A1
20180152286 Kemparaj et al. May 2018 A1
20180188698 Dionne et al. Jul 2018 A1
20180191802 Yang et al. Jul 2018 A1
20180227067 Hu et al. Aug 2018 A1
20180309654 Achkir et al. Oct 2018 A1
20190007189 Hossain et al. Jan 2019 A1
20190014526 Bader et al. Jan 2019 A1
20190089615 Branscomb et al. Mar 2019 A1
20190149258 Araki et al. May 2019 A1
20190158909 Kulkarni et al. May 2019 A1
20190196563 Lai Jun 2019 A1
20190220300 Rosenboom Jul 2019 A1
20190265997 Merrill et al. Aug 2019 A1
20190273571 Bordogna et al. Sep 2019 A1
20190319729 Leong et al. Oct 2019 A1
20190349392 Wetterwald et al. Nov 2019 A1
20190379714 Levi et al. Dec 2019 A1
20190384351 J Dec 2019 A1
20200044657 Pi Feb 2020 A1
20200162234 Almog et al. May 2020 A1
20200235905 Su et al. Jul 2020 A1
20200304224 Neugeboren Sep 2020 A1
20200331480 Zhang et al. Oct 2020 A1
20200344333 Hawari et al. Oct 2020 A1
20200396050 Perras et al. Dec 2020 A1
20200401434 Thampi et al. Dec 2020 A1
20210006344 Chen Jan 2021 A1
20210141413 Levi et al. May 2021 A1
20210175991 Neugeboren Jun 2021 A1
20210218431 Narayanan et al. Jul 2021 A1
20210243140 Levi et al. Aug 2021 A1
20210288785 Faig et al. Sep 2021 A1
20210297151 Levi et al. Sep 2021 A1
20210297230 Dror et al. Sep 2021 A1
20210318978 Hsung Oct 2021 A1
20210328900 Sattinger et al. Oct 2021 A1
20210392065 Sela et al. Dec 2021 A1
20210409031 Ranganathan et al. Dec 2021 A1
20220006606 Levi et al. Jan 2022 A1
20220021393 Ravid et al. Jan 2022 A1
20220066978 Mishra et al. Mar 2022 A1
20220086105 Levi et al. Mar 2022 A1
20220173741 Ravid et al. Jun 2022 A1
20220191275 Levi et al. Jun 2022 A1
20220121691 Mentovich et al. Jul 2022 A1
20220224500 Mula et al. Jul 2022 A1
20220239549 Zhao et al. Jul 2022 A1
20220261032 Bateni Aug 2022 A1
20220342086 Yoshida Oct 2022 A1
20220352998 Levi et al. Nov 2022 A1
20220357763 Levy et al. Nov 2022 A1
20220360423 Levi et al. Nov 2022 A1
20220385598 Pismenny et al. Dec 2022 A1
20220416925 Levi et al. Dec 2022 A1
20230076889 Rabinovich Mar 2023 A1
Foreign Referenced Citations (14)
Number Date Country
101059825 Oct 2007 CN
101388741 Mar 2009 CN
106817183 Jun 2017 CN
108667547 Oct 2018 CN
108829493 Nov 2018 CN
1215559 Sep 2007 EP
2770678 Aug 2014 EP
2011091676 May 2011 JP
498259 Aug 2002 TW
2012007276 Jan 2012 WO
2013124782 Aug 2013 WO
2013143112 Oct 2013 WO
2014029533 Feb 2014 WO
2014138936 Sep 2014 WO
Non-Patent Literature Citations (50)
Entry
U.S. Appl. No. 17/549,949 Office Action dated Mar. 30, 2023.
Corbett et al., “Spanner: Google's Globally Distributed Database,” ACM Transactions on Computer Systems, vol. 31, No. 3, article 8, pp. 1-22, Aug. 2013.
U.S. Appl. No. 17/191,736 Office Action dated Jun. 26, 2023.
Zhang et al., “Ti BAW technology enables ultra-low jitter clocks for highspeed networks”, White paper, Texas Instruments, pp. 1-11, Feb. 2019.
Skywork Solutions Inc., “PCI Express 3.1 Jitter Requirements”, AN562, pp. 1-16, year 2021.
Intel, “Can Altera GX/GT/GZ device high speed transceivers handle Spread Spectrum Clocking (SSC), as required by PCle or SATA/SAS protocols?”, p. 1, Sep. 11, 2012.
U.S. Appl. No. 17/670,540 Office Action dated Jan. 18, 2023.
Levi et al., U.S. Appl. No. 17/582,058, filed Jan. 24, 2022.
Levi et al., U.S. Appl. No. 17/667,600, filed Feb. 9, 2022.
Shapira et al., U.S. Appl. No. 17/534,776, filed Nov. 24, 2021.
Shapira et al., U.S. Appl. No. 17/578,115, filed Jan. 18, 2022.
Kernen et al., U.S. Appl. No. 17/858,236, filed Jul. 6, 2022.
U.S. Appl. No. 17/579,630 Office Action dated Jan. 12, 2023.
Manevich et al., U.S. Appl. No. 17/885,604, filed Aug. 11, 2022.
U.S. Appl. No. 17/191,736 Advisory Action dated Feb. 16, 2023.
Manevich et al., U.S. Appl. No. 18/067,767, filed Dec. 19, 2022.
“IEEE Standard for Local and Metropolitan Area Networks—Timing and Synchronization for Time-Sensitive Applications,” IEEE Std 802.1AS-2020, IEEE Computer Society, pp. 1-421, year 2020.
U.S. Appl. No. 17/871,937 Office Action dated Aug. 1, 2023.
U.S. Appl. No. 17/578,115 Office Action dated Apr. 26, 2023.
U.S. Appl. No. 17/534,776 Office Action dated Jun. 29, 2023.
SiTime Corporation, “Sit5377-60 to 220 MHZ, ±100 ppb Elite RF™ Super-TCXO,” Product Description, pp. 1-3, last updated Mar. 18, 2023 as downloaded from https://web.archive.org/web/20230318094421/https://www.sitime.com/products/super-tcxos/sit5377.
PCI-SIG, “PCI Express®—Base Specification—Revision 3.0,” pp. 1-860, Nov. 10, 2010.
U.S. Appl. No. 17/313,026 Office Action dated Dec. 19, 2023.
IEEE Standard 1588™-2008: “IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems”, IEEE Instrumentation and Measurement Society, Revision of IEEE Standard 1588-2002, USA, pp. 1-289, Jul. 24, 2008.
Weibel et al., “Implementation and Performance of Time Stamping Techniques”, 2004 Conference on IEEE 1588, pp. 1-29, Sep. 28, 2004.
Working Draft Project American National Standard T10/1799-D, “Information Technology—SCSI Block Commands—3 (SBC-3)”, pp. 1-220, Revision 19, May 29, 2009.
“Infiniband Architecture: Specification vol. 1”, pp. 1-1727, Release 1.2.1, Infiniband Trade Association, Nov. 2007.
Mellanox Technologies, “Mellanox ConnectX IB: Dual-Port InfiniBand Adapter Cards with PCI Express 2.0”, pp. 1-2, USA, year 2008.
Wikipedia—“Precision Time Protocol”, pp. 1-8, Aug. 24, 2019.
IEEE Std 1588-2002, “IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems”, IEEE Instrumentation and Measurement Society, pp. 1-154, Nov. 8, 2002.
Weibel, H., “High Precision Clock Synchronization according to IEEE 1588 Implementation and Performance Issues”, Zurich University of Applied Sciences, pp. 1-9, Jan. 17, 2005.
Lu et al., “A Fast CRC Update Implementation”, Computer Engineering Laboratory, Electrical Engineering Department, pp. 113-120, Oct. 8, 2003.
Texas Instruments, “LMK05318 Ultra-Low Jitter Network Synchronizer Clock With Two Frequency Domains,” Product Folder, pp. 1-86, Dec. 2018.
Dlugy-Hegwer et al., “Designing and Testing IEEE 1588 Timing Networks”, Symmetricom, pp. 1-10, Jan. 2007.
Mellanox Technologies, “How to test 1PPS on Mellanox Adapters”, pp. 1-6, Oct. 22, 2019 downloaded from https://community.mellanox.com/s/article/How-To-Test-1PPS-on-Mellanox-Adapters.
ITU-T recommendation, “G.8273.2/Y.1368.2—Timing characteristics of telecom boundary clocks and telecom time slave clocks”, pp. 1-50, Jan. 2017.
Wasko et al., U.S. Appl. No. 17/549,949, filed Dec. 14, 2021.
IPClock, “IEEE 1588 Primer,” ip-clock.com, pp. 1-3, May 1, 2017 (downloaded from https://web.archive.org/web/20170501192647/http://ip-clock.com/ieee-1588-primer/).
ITU-T Standard G.8261/Y.1361, “Timing and synchronization aspects in packet networks”, pp. 1-120, Aug. 2019.
Levi et al., U.S. Appl. No. 17/868,841, filed Jul. 20, 2022.
“Precision Time Protocol,” PTP Clock Types, CISCO, pp. 1-52, Jul. 30, 2020, as downloaded from https://www.cisco.com/c/en/us/td/docs/dcn/aci/apic/5x/system-management-configuration/cisco-apic-system-management-configuration-guide-52x/m-precision-time-protocol.pdf.
ITU-T Standard G.8262/Y.1362, “Timing characteristics of synchronous equipment slave clock”, pp. 1-44, Nov. 2018.
ITU-T Standard G.8264/Y.1364, “Distribution of timing information through packet networks”, pp. 1-42, Aug. 2017.
Manevich et al., U.S. Appl. No. 17/579,630, filed Jan. 20, 2022.
Levi et al., U.S. Appl. No. 17/871,937, filed Jul. 24, 2022.
Manevich et al., U.S. Appl. No. 17/867,779, filed Jul. 19, 2022.
ITU-T Recommendation, “G.8262.1/Y.1362.1—Series G: Transmission Systems and Media, Digital Systems and Networks—Packet over Transport Aspects—Synchronization, Quality and Availability Targets Series Y: Global Information Infrastructure, Internet Protocol Aspects, Next-Generation Networks, Internet of Things and Smart Cities—Timing Characteristics of Enhanced Synchronous Equipment Slave Clock,” pp. 1-26, Jan. 2019.
Silicon Laboratories Inc., “Temperature-Compensated Oscillator Example,” AN365, Rev. 0.1, pp. 1-8, Nov. 9, 2009.
Sutton et al., “Reinforcement Learning,” Chapter 6.6—“Actor-Critic Methods,” The MIT Press, e-book, pp. 1-3, Jan. 4, 2005, as downloaded from incompleteideas.net/book/first/ebook/node66.html.
CN Application # 202210456108.6 Office Action dated Aug. 30, 2024.
Related Publications (1)
Number Date Country
20240281022 A1 Aug 2024 US