Instance-specific Configuration Options

Enhanced PTP User Guide (UG1602)

Document ID
UG1602
Release Date
2023-04-07
Revision
1.1 English

The following table shows the instance-specific configuration options for the crny sync module. These must be in a section labeled with the instance name.

Table 1. Instance-specific Configuration Options for the crny Sync Module
Option Parameters Description
priority <number>

Relative priority of sync module instance. 1 Smaller values have higher priority.

Default: 128.

sync_threshold <number>

Threshold in nanoseconds of the offset from the clock source over a 60s period to be considered in sync (converged).

Default: 10000000 ns.

See also the local_sync_threshold option in Table 1.

ntp_poll_interval <number>

Specifies how often the NTP daemon will be polled, in seconds.

Default: 1.

control_script <filename> Specifies the path to a script which can be used to enable or disable chronyd clock control.
  1. If the priority is specified in a generic section, outside of a specific (named) sync instance, the priority will apply to all sync modules of the same type. For example:
    sync_module crny namedcrny1 namedcrny2
    
    [crny] 
    // this applies to all crny type sync module instances
    priority 128
    
    [namedcrny1]
    // this applies only to this instance - and takes priority over any generic value
    priority 127
    
    [namedcrny2]
    // this applies only to this instance - and takes priority over any generic value
    priority 126