ptpd2.conf(5)
โจ ptpd2.conf(5) โจ
okay so bestie, this is the manual for ptpd2.conf โ the config file for the PTPd daemon ๐ (PTPd = Precision Time Protocol daemon, no cap). Everything you could ever want to tweak lives in here, and I'm about to walk you through it like we're gossiping at lunch. Buckle up ๐
๐ธ NAME ๐ธ
ptpd2.conf โ Precision Time Protocol daemon config file. That's it, that's the girl ๐
๐ CONFIGURATION FILE FORMAT ๐
Settings in the PTPd config file are grouped into sections, and they take the form of section:key="value" variables. You've got two ways to write it:
- the
section:key="value"way (this is the preferred one, do this one bestie ๐ซถ) - or
.inifile style, where you have a bunch ofkey="value"variables grouped into sections using[section]headers
Every single setting listed in here can ALSO be passed as a command line parameter, like --section:key=value. Quotation marks are optional (so unserious of them, but okay โจ).
NOTE: the configuration file must end with a newline. That's the whole rule. Don't forget it or she will simply not vibe with you ๐ญ
๐ RELOADING CONFIGURATION ๐
Only a small number of config file settings require a restart of the PTPd process to take effect โ specifically the SNMP and lock file configuration ones. Everybody else? They can be changed while ptpd is running, because the config file gets reloaded and checked for changes whenever PTPd receives the SIGHUP signal. iconic behaviour honestly ๐
When reloading config, PTPd will always attempt to test the settings before applying them, and once it's running it will never exit as a result of configuration errors. If it does exit during a config refresh, that's most likely a bug.
๐ PRIORITY ๐
Any setting passed as a command line parameter will always take priority over the configuration file. So once ptpd is running, those settings cannot be changed โ and a warning gets logged every single time you try to change them through the config file. She's not mad, she's just disappointed ๐
๐๏ธ CONFIGURATION SECTIONS ๐๏ธ
ptpengineโ PTP protocol specific configurationclockโ Clock related settingsservoโ Clock control PI servo configurationglobalโ Global configuration - logging, etc.ntpengineโ NTP control configuration
โญ CONFIGURATION VARIABLES โญ
ptpengine
ptpengine:interface[STRING]- usage โ Network interface to use -
eth0,igb0etc. (required). - default โ
[none]
- usage โ Network interface to use -
ptpengine:backup_interface[STRING]- usage โ Backup network interface to use -
eth0,igb0etc. When no GM is available, slave will keep alternating between primary and secondary until a GM is found. (GM = grandmaster, she's the main character of the clock world ๐) - default โ
[none]
- usage โ Backup network interface to use -
ptpengine:preset[SELECT]- options โ
none,slaveonly,masteronly,masterslave - usage โ PTP engine preset:
noneโ Defaults, no clock class restrictionsslaveonlyโ Slave only (clock class 255 only)masteronlyโ Master, passive when not best master (clock class 0..127)masterslaveโ Full IEEE 1588 implementation: Master, slave when not best master (clock class 128..254)
- default โ
slaveonly - NOTE: Presets affect the following settings:
ptpengine:slave_only,clock_no_adjustandptpengine:clock_class(range and default value). To see all preset settings, runptpd2 -H(--long-help) ๐
- options โ
ptpengine:transport[SELECT]- options โ
ipv4,ethernet - usage โ Transport type for PTP packets. NOTE: Ethernet transport requires building with libpcap and is not supported on Solaris as of 2.3.1, and cannot be enabled on those systems unless ptpd is compiled with
--enable-experimental-options. - default โ
ipv4
- options โ
ptpengine:dot2as[BOOLEAN]- usage โ Enable IEEE 802.1AS / AVB compatibility (the
transportSpecificfield in PTP message headers). Requires Ethernet transport, since that's the only mapping used by 802.1AS that PTP supports. - default โ
N
- usage โ Enable IEEE 802.1AS / AVB compatibility (the
ptpengine:ip_mode[SELECT]- options โ
multicast,unicast,hybrid - usage โ IP transmission mode (requires IP transport):
multicastโ uses multicast for all messageshybridโ uses multicast for sync and announce, and unicast for delay request and responseunicastโ uses unicast for all transmission. When unicast mode is selected, destination IP(s) (ptpengine:unicast_destinations) must be configured depending on unicast negotiation setting (ptpengine:unicast_negotiation) and master or slave role (see:ptpengine:unicast_destinations)
- default โ
multicast
- options โ
ptpengine:unicast_negotiation[BOOLEAN]- usage โ Enable unicast negotiation support using signaling messages โ as used by the Telecom profile (ITU-T G.8265.1).
- default โ
N
ptpengine:unicast_grant_duration[INT: 30 .. 604800]- usage โ Duration (seconds) for which the transmission of unicast messages is granted by a master, or requested by a slave, when unicast negotiation is used (
ptpengine:unicast_negotiation). When using PTPd with other PTP implementations, PTPd will never refuse to grant a message based on the requested duration: it will grant for 30 seconds if requested for any less than 30 seconds, and will grant for 7 days (604800) if requested for any longer. - default โ
300
- usage โ Duration (seconds) for which the transmission of unicast messages is granted by a master, or requested by a slave, when unicast negotiation is used (
ptpengine:disable_bmca[BOOLEAN]- usage โ Disable Best Master Clock Algorithm for unicast masters. Only effective for the
masteronlypreset โ all Announce messages will be ignored and the clock will transition directly into MASTER state and remain an active master. This behaviour is required for Telecom profile operation. - default โ
N
- usage โ Disable Best Master Clock Algorithm for unicast masters. Only effective for the
ptpengine:use_libpcap[BOOLEAN]- usage โ Use libpcap for sending and receiving traffic (automatically enabled in Ethernet mode). Requires building with libpcap โ builds made with
--disable-pcapcannot use this feature, and as of 2.3.1, Solaris systems will not attempt to use libpcap unless compiled with--enable-experimental-options. - default โ
N
- usage โ Use libpcap for sending and receiving traffic (automatically enabled in Ethernet mode). Requires building with libpcap โ builds made with
ptpengine:delay_mechanism[SELECT]- options โ
E2E,P2P,DELAY_DISABLED - usage โ Delay detection mode used โ use
DELAY_DISABLEDfor syntonisation only (no synchronisation). - default โ
E2E
- options โ
ptpengine:domain[INT: 0 .. 127]- usage โ PTP domain number.
- default โ
0
ptpengine:any_domain[BOOLEAN]- usage โ Usability extension: if enabled, a slave-only clock will accept masters from any domain, while preferring the configured domain, and preferring lower domain number. This option should be used for slave-only clocks and should not be used with unicast negotiation. NOTE: this behaviour is not part of the standard.
- default โ
N
ptpengine:port_number[INT: 1 .. 65534]- usage โ PTP port number (part of PTP Port Identity โ not the UDP port). For ordinary clocks (single port), the default should be used, but when running multiple instances to simulate a boundary clock, the port number can be changed.
- default โ
1
ptpengine:slave_only[BOOLEAN]- usage โ Slave only mode (sets clock class to 255, overriding the value from preset).
- default โ
Y
ptpengine:inbound_latency[INT]- usage โ Specify latency correction (nanoseconds) for incoming packets.
- default โ
0
ptpengine:outbound_latency[INT]- usage โ Specify latency correction (nanoseconds) for outgoing packets.
- default โ
0
ptpengine:offset_shift[INT]- usage โ Apply an arbitrary shift (nanoseconds) to offset from master when in slave state. Value can be positive or negative โ useful for correcting for antenna latencies, delay assymetry and IP stack latencies. This will not be visible in the offset from master value โ only in the resulting clock correction.
- default โ
0
ptpengine:always_respect_utc_offset[BOOLEAN]- usage โ Compatibility option: In slave state, always respect the UTC offset announced by the best master, even if the
currrentUtcOffsetValidflag is announcedFALSE. NOTE: this behaviour is not part of the standard. - default โ
N
- usage โ Compatibility option: In slave state, always respect the UTC offset announced by the best master, even if the
ptpengine:prefer_utc_offset_valid[BOOLEAN]- usage โ Compatibility extension to the BMC algorithm: when enabled, BMC for both master and slave clocks will prefer masters announcing
currrentUtcOffsetValidasTRUE. NOTE: this behaviour is not part of the standard. - default โ
N
- usage โ Compatibility extension to the BMC algorithm: when enabled, BMC for both master and slave clocks will prefer masters announcing
ptpengine:require_utc_offset_valid[BOOLEAN]- usage โ Compatibility option: when enabled,
ptpd2will ignore Announce messages from masters announcingcurrentUtcOffsetValidasFALSE. NOTE: this behaviour is not part of the standard. - default โ
N
- usage โ Compatibility option: when enabled,
ptpengine:log_announce_interval[INT: -4 .. 7]- usage โ PTP announce message interval in master state. When using unicast negotiation (
ptpengine:unicast_negotiation), for slaves this is the initial (minimum) interval requested and for masters this is the minimum interval granted. (expressed as log 2, i.e.-1=0.5s,0=1s,1=2setc.) - default โ
1
- usage โ PTP announce message interval in master state. When using unicast negotiation (
ptpengine:log_announce_interval_max[INT: -1 .. 7]- usage โ When using unicast negtiation (
ptpengine:unicast_negotiation), this is the maximum announce interval granted by a master, and the maximum interval a slave will attempt to request. (expressed as log 2, i.e.-1=0.5s,0=1s,1=2setc.) - default โ
5
- usage โ When using unicast negtiation (
ptpengine:announce_receipt_timeout[INT: 2 .. 255]- usage โ PTP announce receipt timeout announced in master state.
- default โ
6
ptpengine:announce_receipt_grace_period[INT: 0 .. 20]
okay so picking up right where that last one left off ๐ซ the usage goes like this: when an announce receipt timeout happens while you're in slave state, you disqualify the current best GM, then wait n times the announce receipt timeout before you reset. It's giving seamless GM failover when your standby GMs are slow to react ๐. Set it to 0 and bestie, this option is simply not used ๐
- default:
0
ptpengine:log_sync_interval[INT:-7 .. 7] โ the PTP sync message interval when you're in master state. When you're running unicast negotiation (ptpengine:unicast_negotiation), for slaves this is the initial (minimum) interval requested, and for masters it's the minimum interval granted. (expressed as log 2 i.e.-1=0.5s, 0=1s, 1=2setc.)- default:
0
- default:
ptpengine:log_sync_interval_max[INT:-1 .. 7] โ when unicast negotiation (ptpengine:unicast_negotiation) is on, this is the maximum sync interval a master will grant, and the maximum interval a slave will even attempt to request. (expressed as log 2 i.e.-1=0.5s, 0=1s, 1=2setc.)- default:
5
- default:
ptpengine:log_delayreq_override[BOOLEAN] โ override the Delay Request interval that the best master handed you. Yes, you can just do that ๐- default:
N
- default:
ptpengine:log_delayreq_auto[BOOLEAN] โ automatically override the Delay Request interval (usingptpengine:log_delayreq_interval) if the value you received is127(0X7F), like in unicast messages โ unless you're using unicast negotiation (ptpengine:unicast_negotiation) โจ- default:
Y
- default:
ptpengine:log_delayreq_interval_initial[INT:-7 .. 7] โ the delay request interval used before you receive your first delay response. (expressed as log 2 i.e.-1=0.5s, 0=1s, 1=2setc.)- default:
0
- default:
ptpengine:log_delayreq_interval[INT:-7 .. 7] โ the minimum delay request interval announced when you're in master state; in slave state it overrides the master's interval. (expressed as log 2 i.e.-1=0.5s, 0=1s, 1=2setc.). When unicast negotiation (ptpengine:unicast_negotiation) is on: for slaves this is the initial (minimum) interval requested, and for masters it's the minimum interval granted.- default:
0
- default:
ptpengine:log_delayreq_interval_max[INT:-1 .. 7] โ with unicast negotiation (ptpengine:unicast_negotiation), this is the maximum delay request interval a master grants, and the maximum interval a slave will attempt to request. (expressed as log 2 i.e.-1=0.5s, 0=1s, 1=2setc.)- default:
5
- default:
ptpengine:log_peer_delayreq_interval[INT:-7 .. 7] โ the minimum peer delay request message interval in peer to peer delay mode (expressed as log 2 i.e.-1=0.5s, 0=1s, 1=2setc.). With unicast negotiation (ptpengine:unicast_negotiation) on, this is the initial (minimum) interval a node requests from its peer, and the minimum interval granted for a peer ๐ซถ- default:
1
- default:
ptpengine:log_peer_delayreq_interval_max[INT:-1 .. 7] โ with unicast negotiation (ptpengine:unicast_negotiation), this is the maximum peer delay request interval a node grants, and the maximum interval a node will attempt to request from its peer. (expressed as log 2 i.e.-1=0.5s, 0=1s, 1=2setc.)- default:
5
- default:
ptpengine:foreignrecord_capacity[INT:5 .. 10] โ the foreign master record size, aka the maximum number of foreign masters you're willing to keep track of ๐ง- default:
5
- default:
ptpengine:ptp_allan_variance[INT:0 .. 65535] โ specify the Allan variance announced in master state ๐ฃ- default:
28768
- default:
ptpengine:ptp_clock_accuracy[SELECT] โ the clock accuracy range announced in master state.- options:
ACC_25NSACC_100NSACC_250NSACC_1USACC_2.5USACC_10USACC_25USACC_100USACC_250USACC_1MSACC_2.5MSACC_10MSACC_25MSACC_100MSACC_250MSACC_1SACC_10SACC_10SPLUSACC_UNKNOWN - default:
ACC_UNKNOWN
- options:
ptpengine:utc_offset[INT] โ the UTC offset of the underlying time source, announced in master state โฐ- default:
0
- default:
ptpengine:utc_offset_valid[BOOLEAN] โ is that underlying time source UTC offset valid? Announced in master state.- default:
N
- default:
ptpengine:time_traceable[BOOLEAN] โ the underlying time source's time traceability, announced in master state.- default:
N
- default:
ptpengine:frequency_traceable[BOOLEAN] โ the underlying time source's frequency traceability, announced in master state.- default:
N
- default:
ptpengine:ptp_timescale[SELECT] โ the time scale announced in master state (withARB, UTC properties get straight-up ignored by slaves ๐). When the clock class is set to13(application specific), this value is ignored andARBis used instead.- options:
PTPARB - default:
ARB
- options:
ptpengine:ptp_timesource[SELECT] โ the time source announced in master state ๐- options:
ATOMIC_CLOCKGPSTERRESTRIAL_RADIOPTPNTPHAND_SETOTHERINTERNAL_OSCILLATOR - default:
INTERNAL_OSCILLATOR
- options:
ptpengine:clock_class[INT:0 .. 255] โ the clock class, announced in master state. Always255for slave-only. The minimum, maximum and default values are controlled by presets. If it's set to13(application specific time source), the announced time scale is always set toARB. This setting is the one controlling which states a PTP port can be in: if it's below128, the port will only be inMASTERorPASSIVEstates (master only). If it's above127, the port will be inMASTERorSLAVEstates ๐ฅ- default:
255
- default:
ptpengine:priority1[INT:0 .. 248] โ Priority 1, announced in master state, used for Best Master Clock selection ๐- default:
128
- default:
ptpengine:priority2[INT:0 .. 248] โ Priority 2, announced in master state, used for Best Master Clock selection.- default:
128
- default:
ptpengine:max_listen[INT: min:1] โ how many consecutive protocol resets toLISTENINGyou'll allow before going full network reset ๐- default:
5
- default:
ptpengine:unicast_destinations[STRING] โ an IPv4 address, or a whole list of them, to be used as unicast destinations. When unicast negotiation (ptpengine:unicast_negotiation) is enabled, setting this is mandatory for slaves, because they have to know which GMs to request messages from. When unicast negotiation is disabled, setting this is mandatory for GMs, because they have to deliver messages to a pre-configured group of slaves ๐ฌ- default:
[none]
- default:
ptpengine:unicast_domains[STRING] โ specify the PTP domain number for each configured unicast destination (ptpengine:unicast_destinations). Only slave-only clocks using unicast destinations use this, so each master can live in a separate domain โ like with Telecom Profile ๐ฑ. The number of entries should match the number of unicast destinations, otherwise unconfigured domains, or domains set to0, get set to the domain configured inptpengine:domain. Format is a comma, tab or space-separated list of 8-bit unsigned integers (0 .. 255).- default:
[none]
- default:
ptpengine:unicast_local_preference[STRING] โ specify a local preference for each configured unicast destination (ptpengine:unicast_destinations). Again, only slave-only clocks using unicast destinations use this, so a slave can locally influence each master's BMC selection โ like with Telecom Profile. The number of entries should match the number of unicast destinations, otherwise the unconfigured preference is set to0(highest) โญ. Format is a comma, tab or space-separated list of 8-bit unsigned integers (0 .. 255).- default:
[none]
- default:
ptpengine:unicast_peer_destination[STRING] โ when you're using IP unicast mode (ptpengine:ip_mode=unicast) and the Peer to Peer delay mechanism (ptpengine:delay_mechanism=P2P), you must configure a peer unicast destination to request the peer delay from. Format is a single unicast IPv4 address.- default:
[none]
- default:
ptpengine:management_enable[BOOLEAN] โ enable handling of PTP management messages. OnlyGETmessages get processed by default. Peepptpengine:management_set_enablefor the spicier stuff ๐ถ๏ธ- default:
Y
- default:
ptpengine:management_set_enable[BOOLEAN] โ acceptSETandCOMMANDmanagement messages.- default:
N
- default:
ptpengine:igmp_refresh[BOOLEAN] โ send explicit IGMP joins between engine resets, and periodically while in master state.- default:
Y
- default:
ptpengine:master_igmp_refresh_interval[INT:0 .. 255] โ the periodic IGMP join interval (in seconds) while in master state when running IPv4 multicast. Heads up: if it's set below10, or ifptpengine:igmp_refreshis disabled, this setting does literally nothing ๐- default:
60
- default:
ptpengine:multicast_ttl[INT:1 .. 64] โ multicast time to live for multicast PTP packets (ignored and set to1for peer to peer messages).- default:
64
- default:
ptpengine:ip_dscp[INT:0 .. 63] โ DiffServ CodepPoint for packet prioritisation (decimal). When it's set to zero, this option is not used. Use46for Expedited Forwarding (0x2e) ๐- default:
0
- default:
ptpengine:sync_stat_filter_enable[BOOLEAN] โ okay bestie hold that thought, this one's got more coming ๐- ...and to finish off the one that got cut off right above this: its whole personality is enable the statistical filter for Sync messages, and it ships off by default (
N). (Name's on the previous line bestie, we're mid-list, keep up ๐ ) ptpengine:sync_stat_filter_type [SELECT]โ the vibe check for your Sync filter: which flavour of filter is doing the filtering on Sync messages:noneโ no filtering โ pass-through, zero thoughts, just vibesmeanโ mean (average) โ smooth results but influenced by outliersminโ minimal value โ useful for high packet delay variation ("lucky packets")maxโ maximal value โ useful for testing worst case scenariosabsminโ absolute minimum โ value closest to zero. Also useful for test purposes.absmaxโ absolute maximum value farthest away from zeromedianโ median (middle value) โ more robust than mean, not influenced by outliers- Default:
min
ptpengine:sync_stat_filter_window [INT: 3 .. 128]โ how many samples get to hang out in the Sync statistical filter's little friend group- Default:
4
- Default:
ptpengine:sync_stat_filter_window_type [SELECT]โ how the sampling window behaves for the Sync statistical filter:slidingโ sliding window โ a value is output every time the filter runs, which can result in duplicatesintervalโ only output a value every n-th sample (full window) โ independent sampling periods- Default:
sliding
ptpengine:delay_stat_filter_enable [BOOLEAN]โ turn on the statistical filter for Delay messages โจ- Default:
N
- Default:
ptpengine:delay_stat_filter_type [SELECT]โ which flavour of filter is doing the filtering on Delay messages:noneโ no filtering โ pass-through, unbothered, unproblematicmeanโ mean (average) โ smooth results but influenced by outliersminโ minimal value โ useful for high packet delay variation ("lucky packets")maxโ maximal value โ useful for testing worst case scenariosabsminโ absolute minimum โ value closest to zero. Also useful for test purposes.absmaxโ absolute maximum value farthest away from zeromedianโ median (middle value) โ more robust than mean, not influenced by outliers- Default:
min
ptpengine:delay_stat_filter_window [INT: 3 .. 128]โ number of samples used for the Delay statistical filter- Default:
4
- Default:
ptpengine:delay_stat_filter_window_type [SELECT]โ sampling window behaviour for the Delay statistical filter:slidingโ sliding window โ a value is output every time the filter runs, which can result in duplicatesintervalโ only output a value every n-th sample (full window) โ independent sampling periods- Default:
sliding
๐ซถ delay outlier filter (slave state, delay response edition)
ptpengine:delay_outlier_filter_enable [BOOLEAN]โ enable the outlier filter for the Delay Response component, but only when you're in slave state ๐- Default:
N
- Default:
ptpengine:delay_outlier_filter_action [SELECT]โ what to do when the Delay Response outlier filter catches an outlier. If it's set tofilter, the outliers are replaced with moving average ๐ชdiscardfilter- Default:
discard
ptpengine:delay_outlier_filter_capacity [INT: 4 .. 60]โ how many samples get to fit in the Delay Response outlier filter buffer ๐- Default:
20
- Default:
ptpengine:delay_outlier_filter_threshold [FLOAT: 0.001000 .. 1000.000000]โ the Delay Response outlier filter threshold: a multiplier for Peirce's maximum standard deviation. Set it below 1.0 and the filter is tighter; set it above 1.0 and it's looser than the standard Peirce's test.- Default:
1.000000
- Default:
ptpengine:delay_outlier_filter_always_filter [BOOLEAN]โ always run the Delay Response outlier filter, even if the clock is being slewed at maximum rate. No days off, no excuses ๐- Default:
N
- Default:
ptpengine:delay_outlier_filter_autotune_enable [BOOLEAN]โ enable automatic threshold control for the Delay Response outlier filter โจ- Default:
Y
- Default:
ptpengine:delay_outlier_filter_autotune_minpercent [INT: 0 .. 99]โ Delay Response outlier filter autotune low watermark: the minimum percentage of discarded samples in the update period before the filter gets tightened by the autotune step value- Default:
20
- Default:
ptpengine:delay_outlier_filter_autotune_maxpercent [INT: 1 .. 100]โ Delay Response outlier filter autotune high watermark: the maximum percentage of discarded samples in the update period before the filter gets loosened by the autotune step value- Default:
95
- Default:
ptpengine:delay_outlier_filter_autotune_step [FLOAT: 0.010000 .. 10.000000]โ the value the Delay Response outlier filter threshold gets increased or decreased by when auto-tuning- Default:
0.100000
- Default:
ptpengine:delay_outlier_filter_autotune_minthreshold [FLOAT: 0.010000 .. 10.000000]โ minimum Delay Response filter threshold value used when auto-tuning- Default:
0.100000
- Default:
ptpengine:delay_outlier_filter_autotune_maxthreshold [FLOAT: 0.010000 .. 10.000000]โ maximum Delay Response filter threshold value used when auto-tuning- Default:
5.000000
- Default:
ptpengine:delay_outlier_weight [FLOAT: 0.010000 .. 2.000000]โ Delay Response outlier weight: if an outlier gets detected, this decides the amount of its deviation from mean that's used to build the standard deviation statistics and influence further outlier detection. Set it to1.0and the outlier is used as-is ๐ฆ- Default:
1.000000
- Default:
ptpengine:delay_outlier_filter_stepdetect_enable [BOOLEAN]โ enable Delay Response filter step detection (delaySM) so it can block when a certain level is exceeded- Default:
N
- Default:
ptpengine:delay_outlier_filter_stepdetect_threshold [INT: 50000 .. 999999999]โ Delay step detection threshold. Step detection only happens whendelaySMis below this threshold (nanoseconds)- Default:
1000000
- Default:
ptpengine:delay_outlier_filter_stepdetect_level [INT: 50000 .. 999999999]โ Delay step level. When step detection is enabled and operational, adelaySMabove this level (nanoseconds) is considered a clock step and updates are paused โธ๏ธ- Default:
500000
- Default:
ptpengine:delay_outlier_filter_stepdetect_credit [INT: 50 .. 1000]โ the initial credit (number of samples) the Delay step detection filter is allowed to block for. Once the credit is exhausted, the filter stops blocking. Credit is gradually restored (seeptpengine:delay_outlier_filter_stepdetect_credit_increment)- Default:
200
- Default:
ptpengine:delay_outlier_filter_stepdetect_credit_increment [INT: 1 .. 100]โ how much credit for the Delay step detection filter gets restored every full sample window- Default:
10
- Default:
๐ sync outlier filter (slave state, sync edition)
ptpengine:sync_outlier_filter_enable [BOOLEAN]โ enable the outlier filter for the Sync component, in slave state ๐- Default:
N
- Default:
ptpengine:sync_outlier_filter_action [SELECT]โ Sync outlier filter action. If it's set tofilter, the outliers are replaced with moving average ๐ชdiscardfilter- Default:
discard
ptpengine:sync_outlier_filter_capacity [INT: 4 .. 60]โ number of samples in the Sync outlier filter buffer ๐- Default:
20
- Default:
ptpengine:sync_outlier_filter_threshold [FLOAT: 0.001000 .. 1000.000000]โ Sync outlier filter threshold: a multiplier for the Peirce's maximum standard deviation. Below1.0= tighter filter, above1.0= looser than the standard Peirce's test.- Default:
1.000000
- Default:
ptpengine:sync_outlier_filter_always_filter [BOOLEAN]โ always run the Sync outlier filter, even if the clock is being slewed at maximum rate. It's giving dedication ๐- Default:
N
- Default:
ptpengine:sync_outlier_filter_autotune_enable [BOOLEAN]โ enable automatic threshold control for the Sync outlier filter โจ- Default:
Y
- Default:
ptpengine:sync_outlier_filter_autotune_minpercent [INT: 0 .. 99]โ Sync outlier filter autotune low watermark: the minimum percentage of discarded samples in the update period before the filter gets tightened by the autotune step value- Default:
20
- Default:
ptpengine:sync_outlier_filter_autotune_maxpercent [INT: 1 .. 100]โ Sync outlier filter autotune high watermark: the maximum percentage of discarded samples in the update period before the filter gets loosened by the autotune step value- Default:
95
- Default:
ptpengine:sync_outlier_filter_autotune_step [FLOAT: 0.010000 .. 10.000000]โ the value the Sync outlier filter threshold gets increased or decreased by when auto-tuning- Default:
0.100000
- Default:
ptpengine:sync_outlier_filter_autotune_minthreshold [FLOAT: 0.010000 .. 10.000000]โ minimum Sync filter threshold value used when auto-tuning- Default:
0.100000
- Default:
ptpengine:sync_outlier_filter_autotune_maxthreshold [FLOAT: 0.010000 .. 10.000000]โ- usage โ the maximum Sync filter threshold value used when auto-tuning โจ
- default โ
5.000000
- default โ
ptpengine:sync_outlier_weight [FLOAT: 0.010000 .. 2.000000]- usage โ the Sync outlier weight ๐ซถ if an outlier gets detected, this value decides how much of its deviation from the mean is used to build the standard deviation statistics and to influence further outlier detection. Set it to
1.0and the outlier is used as is, no filter, no edits, periodt. - default โ
1.000000
- usage โ the Sync outlier weight ๐ซถ if an outlier gets detected, this value decides how much of its deviation from the mean is used to build the standard deviation statistics and to influence further outlier detection. Set it to
ptpengine:sync_outlier_filter_stepdetect_enable [BOOLEAN]- usage โ turn on Sync filter step detection (delayMS) so it blocks once a certain level gets exceeded ๐ง
- default โ
N
ptpengine:sync_outlier_filter_stepdetect_threshold [INT: 50000 .. 999999999]- usage โ the Sync step detection threshold. Step detection only even happens when
delayMSis below this threshold, in nanoseconds ๐ - default โ
1000000
- usage โ the Sync step detection threshold. Step detection only even happens when
ptpengine:sync_outlier_filter_stepdetect_level [INT: 50000 .. 999999999]- usage โ the Sync step level. When step detection is enabled and operational, a
delayMSabove this level (nanoseconds) counts as a clock step and updates get paused ๐ - default โ
500000
- usage โ the Sync step level. When step detection is enabled and operational, a
ptpengine:sync_outlier_filter_stepdetect_credit [INT: 50 .. 1000]- usage โ the initial credit (number of samples) the Sync step detection filter is allowed to block for. Once the credit is exhausted, the filter stops blocking. Credit gets gradually restored (peep
ptpengine:sync_outlier_filter_stepdetect_credit_increment) ๐๏ธ - default โ
200
- usage โ the initial credit (number of samples) the Sync step detection filter is allowed to block for. Once the credit is exhausted, the filter stops blocking. Credit gets gradually restored (peep
ptpengine:sync_outlier_filter_stepdetect_credit_increment [INT: 1 .. 100]- usage โ how much credit the Sync step detection filter gets restored every full sample window ๐ซ
- default โ
10
ptpengine:sync_sequence_checking [BOOLEAN]- usage โ when this is on, Sync messages only get accepted if the sequence ID is increasing ๐
- note โ this can make the slave temporarily lock up if the GM restarts before the announce timeout, so it's limited to 50 consecutive sequence errors. Alternatively,
ptpengine:clock_update_timeoutcan be used to reset the slave beforehand ๐ - default โ
N
ptpengine:clock_update_timeout [INT: 0 .. 3600]- usage โ if you set this to non-zero, it's the time (seconds) before the slave is reset back into
PTP_LISTENINGwhen there were no clock updates. So useful for when the slave is sitting in SLAVE state (receiving Announce) but isn't receiving, or isn't accepting, Sync messages ๐ญ - default โ
0
- usage โ if you set this to non-zero, it's the time (seconds) before the slave is reset back into
ptpengine:calibration_delay [INT: 0 .. 300]- usage โ the delay (seconds) between moving into slave state and enabling clock updates. This lets mean path delay stabilise before clock updates kick off. It activates when going into slave state and during the slave's GM failover.
0means it's not used ๐ - default โ
0
- usage โ the delay (seconds) between moving into slave state and enabling clock updates. This lets mean path delay stabilise before clock updates kick off. It activates when going into slave state and during the slave's GM failover.
ptpengine:idle_timeout [INT: 10 .. 3600]- usage โ PTP idle timeout (seconds): if PTPd is in SLAVE state and there have been no clock updates for this long, PTPd releases clock control ๐ฐ๏ธ
- default โ
0
ptpengine:panic_mode [BOOLEAN]- usage โ enable panic mode: when the offset from master is above 1 second, stop updating the clock for a period of time, and then step the clock if the offset is still above 1 second ๐ฑ
- default โ
N
ptpengine:panic_mode_duration [INT: 1 .. 60]- usage โ how long the panic mode period lasts, in minutes (no clock updates), once an offset above 1 second gets detected โณ
- default โ
2
ptpengine:panic_mode_release_clock [BOOLEAN]- usage โ when entering panic mode, release clock control for as long as panic mode lasts. If it's not set, PTP holds onto clock control during panic mode. If it's set together with
ntpengine:*configured, this will fail over to NTP ๐ - default โ
N
- usage โ when entering panic mode, release clock control for as long as panic mode lasts. If it's not set, PTP holds onto clock control during panic mode. If it's set together with
ptpengine:panic_mode_exit_threshold [INT: 0 .. 999999999]- usage โ do not exit panic mode until the offset drops below this value (nanoseconds).
0= not used ๐ช - default โ
0
- usage โ do not exit panic mode until the offset drops below this value (nanoseconds).
ptpengine:pid_as_clock_identity [BOOLEAN]- usage โ use PTPd's process ID as the middle part of the PTP clock ID โ iconic for running multiple instances ๐ฏ
- default โ
N
ptpengine:ntp_failover [BOOLEAN]- usage โ fail over to NTP when PTP time sync isn't available. It requires
ntpengine:enabled, but it does not require the rest of the NTP configuration: if it can't control ntpd it'll warn instead of failing over ๐จ - default โ
N
- usage โ fail over to NTP when PTP time sync isn't available. It requires
ptpengine:ntp_failover_timeout [INT: 0 .. 1800]- usage โ the NTP failover timeout in seconds: the time between the PTP slave going into LISTENING state and failing over to NTP.
0= fail over immediately. This setting controls the time provider election hold time โฑ๏ธ - default โ
60
- usage โ the NTP failover timeout in seconds: the time between the PTP slave going into LISTENING state and failing over to NTP.
ptpengine:prefer_ntp [BOOLEAN]- usage โ prefer NTP time synchronisation. Only use PTP when NTP isn't available. Could be used when NTP runs with a local GPS receiver or another hardware reference ๐ฐ๏ธ
- default โ
N
ptpengine:panic_mode_ntp [BOOLEAN]- usage โ deprecated as of 2.3.1, but still supported: see
ptppengine:panic_mode_release_clock. (yes bestie, that's spelled with two p's, I'm not touching it ๐) - default โ
N
- usage โ deprecated as of 2.3.1, but still supported: see
ptpengine:sigusr2_clears_counters [BOOLEAN]- usage โ clear the counters after dumping all their values on
SIGUSR2๐งน - default โ
N
- usage โ clear the counters after dumping all their values on
ptpengine:timing_acl_permit [STRING]- usage โ the permit access control list for timing and signaling messages. Format is a series of network prefixes and/or IP addresses separated by commas, spaces, tabs or semicolons. Accepted formats are CIDR notation (
a.b.c.d/mm), a single IP address (a.b.c.d), or a full network/mask (a.b.c.d/m.m.m.m). Shortcuts work too:172.16/12is expanded to172.16.0.0/12;192.168/255.255is expanded to192.168.0.0/255.255.0.0, etc. The match is performed on the source IP address of the incoming messages. IP access lists are only supported when using the IP transport ๐ก๏ธ - default โ
[none]
- usage โ the permit access control list for timing and signaling messages. Format is a series of network prefixes and/or IP addresses separated by commas, spaces, tabs or semicolons. Accepted formats are CIDR notation (
ptpengine:timing_acl_deny [STRING]- usage โ the deny access control list for timing and signaling messages. Format is a series of network prefixes and/or IP addresses separated by commas, spaces, tabs or semicolons. Accepted formats are CIDR notation (
a.b.c.d/mm), a single IP address (a.b.c.d), or a full network/mask (a.b.c.d/m.m.m.m). Shortcuts work too:172.16/12is expanded to172.16.0.0/12;192.168/255.255is expanded to192.168.0.0/255.255.0.0, etc. The match is performed on the source IP address of the incoming messages. IP access lists are only supported when using the IP transport ๐ก๏ธ - default โ
[none]
- usage โ the deny access control list for timing and signaling messages. Format is a series of network prefixes and/or IP addresses separated by commas, spaces, tabs or semicolons. Accepted formats are CIDR notation (
ptpengine:management_acl_permit [STRING]- usage โ the permit access control list for management messages. Format is a series of network prefixes and/or IP addresses separated by commas, spaces, tabs or semicolons. Accepted formats are CIDR notation (
a.b.c.d/mm), a single IP address (a.b.c.d), or a full network/mask (a.b.c.d/m.m.m.m). Shortcuts work too:172.16/12is expanded to172.16.0.0/12;192.168/255.255is expanded to192.168.0.0/255.255.0.0, etc. The match is performed on the source IP address of the incoming messages. IP access lists are only supported when using the IP transport ๐ก๏ธ - default โ
[none]
- usage โ the permit access control list for management messages. Format is a series of network prefixes and/or IP addresses separated by commas, spaces, tabs or semicolons. Accepted formats are CIDR notation (
ptpengine:management_acl_deny [STRING]- usage โ the deny access control list for management messages. Format is a series of network prefixes and/or IP addresses separated by commas, spaces, tabs or semicolons. Accepted formats are CIDR notation (
a.b.c.d/mm), a single IP address (a.b.c.d), or a full network/mask (a.b.c.d/m.m.m.m). Shortcuts work too:172.16/12is expanded to172.16.0.0/12;192.168/255.255is expanded to192.168.0.0/255.255.0.0, etc. The match is performed on the source IP address of the incoming messages. IP access lists are only supported when using the IP transport ๐ก๏ธ - default โ
[none]
- usage โ the deny access control list for management messages. Format is a series of network prefixes and/or IP addresses separated by commas, spaces, tabs or semicolons. Accepted formats are CIDR notation (
ptpengine:timing_acl_order [SELECT]- options โ
permit-deny,deny-permit - usage โ the order the permit and deny access lists get evaluated in for timing and signaling messages. The evaluation process is the same as for Apache httpd. See:
http://httpd.apache.org/docs/current/mod/mod_access_compat.html#order๐ - default โ
deny-permit
- options โ
ptpengine:management_acl_order [SELECT]- options โ
permit-deny,deny-permit - usage โ the order the permit and deny access lists get evaluated in for management messages. The evaluation process is the same as for Apache httpd. See:
http://httpd.apache.org/docs/current/mod/mod_access_compat.html#order๐ - default โ
deny-permit
- options โ
okay bestie, vibe shift ๐ซ we're out of the engine tuning and into the clock options โ these are the ones that decide whether PTPd is even allowed to touch your system time. buckle up ๐
clock:no_adjust [BOOLEAN]- usage โ do not adjust the clock ๐ โโ๏ธ
- default โ
N
clock:no_reset [BOOLEAN]- usage โ do not reset the clock โ only slew ๐
- default โ
N
clock:step_startup_force [BOOLEAN]- usage โ force a clock step on the first sync after startup, regardless of offset and regardless of
clock:no_reset๐ฅ - default โ
N
- usage โ force a clock step on the first sync after startup, regardless of offset and regardless of
clock:step_startup [BOOLEAN]- usage โ step the clock on startup only if the offset is >= 1 second, ignoring panic mode and
clock:no_reset๐ฅ - default โ
N
- usage โ step the clock on startup only if the offset is >= 1 second, ignoring panic mode and
clock:set_rtc_on_step [BOOLEAN]clock:set_rtcโ Attempt setting the RTC when stepping the clock. (Linux only โ FreeBSD does this for us, bestie ๐ )
โ ๏ธ WARNING: this will always set the RTC to OS clock time, regardless of time zones, so this assumes that RTC runs in UTC or otherwise in the same timescale as PTP. True at least on most single-boot x86 Linux systems. So like, be careful, okay? ๐ญ
Default: N
clock:drift_handlingโ SELECT. Observed drift handling method between servo restarts. Your choices are:resetโ set to zero (not recommended, bestie, don't do it) ๐ โโ๏ธpreserveโ use kernel valuefileโ load/save to drift file on startup/shutdown, use kernel value inbetween. To specify drift file, use theclock:drift_filesetting.
Default: preserve
clock:drift_fileโ STRING. Specify drift file. Just point me to the file, bestie ๐
Default: /etc/ptpd2_kernelclock.drift
clock:leap_seconds_fileโ STRING. Specify leap second file location. (up to date version can be downloaded from:http://www.ietf.org/timezones/data/leap-seconds.list). When configured, PTP master will use data from this file to announce leap flags and UTC offset, overriding OS information, and PTP slave will use data from this file as well as information supplied by the GM. If configured, this file is always reloaded on configuration reload (SIGHUP), reloaded on clock step and reloaded after a leap second event to ensure the information is up to date. As of ptpd 2.3.1, the file is bundled with ptpd and is installed into(prefix)/share/ptpd/leap-seconds.list.ddMMMyyyywhereddMMMyyyyis the leap seconds file expiry date. Iconic.
Default: [none]
clock:leap_second_pause_periodโ INT: 5 .. 600. Time (seconds) before and after midnight that clock updates should be suspended for during a leap second event. The total duration of the pause is twice the configured duration. Clock updates are suspended when there is a leap second event pending and time to midnight is less than or equal to this value and resumed no earlier than this value after midnight. Clock updates are resumed in a controlled manner โ after a control message, such as PTP announce. This ensures that the updated UTC offset is received before any further clock updates. So like, we pause, we vibe, we resume properly. Periodt.
Default: 5
clock:leap_second_notice_periodโ INT: 3600 .. 86400. Time (seconds) before midnight that PTPd starts announcing the leap second if it's running as master. The IEEE 1588 standard suggests 12 hours notice and this is the default, but it may be changed to allow more flexibility. 12 hours notice? That's like, so much notice, but okay ๐
Default: 43200
clock:leap_second_handlingโ SELECT. Clock sync behaviour during leap second events. Your options are:acceptโ Inform OS kernel about the leap second and let the kernel insert or delete the leap second.ignoreโ Do not inform the kernel โ this ends with a +/-1-second offset which is then slewed back down.stepโ Do not inform the kernel and step the clock immediately after the leap second event.smearโ Gradually introduce an extra offset over a period of time before the leap second event, which accumulates to +/-1 second (seeclock:leap_second_smear_period). Once the clock stabilises, this results in a clock frequency shift which is taken off after the event. Once the leap second event is over, the extra offset is also removed and time is back in line with master time. Smear is giving smooth operator energy โจ
Default: accept
clock:leap_second_smear_periodโ INT: 3600 .. 86400. Whenclock:leap_second_handlingis set tosmear, this setting defines the period (in seconds) before the leap second event, over which the leap second offset is gradually added. Example: when set to 24 hours (86400), an extra +/-11.5 microseconds is added every second (11.5 ppm clock frequency offset). Math is mathing, bestie ๐งฎ
Default: 86400
clock:max_offset_ppmโ INT: 500 .. 1000. Maximum absolute frequency shift which can be applied to the clock servo when slewing the clock. Expressed in parts per million (1 ppm = shift of 1 us per second). Values above 512 will use the tick duration correction to allow even faster slewing. Default maximum is 512 without using tick. So like, don't go over 512 unless you know what you're doing, okay? ๐
Default: 500
servo:delayfilter_stiffnessโ INT. Mean Path Delay filter stiffness. Stiffness, but make it delay filter ๐
Default: 6
servo:kpโ FLOAT: min: 0.000001. Clock servo PI controller proportional component gain (kP). PI controller? More like pie controller, because it's sweet ๐ฅง
Default: 0.100000
servo:kiโ FLOAT: min: 0.000001. Clock servo PI controller integral component gain (kI). And here's the integral part, bestie ๐
Default: 0.001000
servo:dt_methodโ SELECT. How servo update interval (delta t) is calculated. Your choices:noneโ servo not corrected for update interval (dtalways1),constantโ constant value (target servo update rate) โ sync interval for PTP,measuredโ servo measures how often it's updated and uses this interval.
Default: constant
servo:dt_maxโ FLOAT: 1.500000 .. 100.000000. Maximum servo update interval (delta t) when using measured servo update interval (servo:dt_method = measured), specified as sync interval multiplier. So like, the max delta t, but make it a multiplier ๐
Default: 5.000000
servo:stability_detectionโ BOOLEAN. Enable clock synchronisation servo stability detection (based on standard deviation of the observed drift value) โ drift will be saved to drift file / cached when considered stable, also clock stability status will be logged. Stability check! We love a stable queen ๐
Default: N
servo:stability_thresholdโ FLOAT: 1.000000 .. 10000.000000. Specify the observed drift standard deviation threshold in parts per billion (ppb) โ if standard deviation is within the threshold, servo is considered stable. So like, if the std dev is under this, we're stable, periodt.
Default: 5.000000
servo:stability_periodโ INT: 1 .. 100. Specify for how many statistics update intervals the observed drift standard deviation has to stay within threshold to be considered stable. How many intervals? Like, how many times do we need to see it be stable? This many.
Default: 3
servo:stability_timeoutโ INT: 1 .. 60. Specify after how many minutes without stabilisation servo is considered unstable. Assists with logging servo stability information and allows one to preserve observed drift if servo cannot stabilise. If it takes too long, we call it unstable. No cap.
Default: 10
servo:max_delayโ INT: 0 .. 999999999. Do not accept master to slave delay (delayMSโ from Sync message) or slave to master delay (delaySMโ from Delay Response message) if greater than this value (nanoseconds).0= not used. So like, if the delay is too big, we reject it. Simple.
Default: 0
servo:max_delay_max_rejectedโ INT: min: 0. Maximum number of consecutive rejected delay measurements exceeding the maxDelay threshold (servo:max_delay), before slave is reset.0= not checked. How many rejections before we reset? This many. 0 means don't check.
Default: 0
servo:max_delay_stable_onlyโ BOOLEAN. Ifservo:max_delayis set, perform the check only if clock servo has stabilised. Only check when stable? Okay, we love a conditional queen ๐
Default: N
servo:max_offsetโ INT: 0 .. 999999999. Do not reset the clock if offset from master is greater than this value (nanoseconds).0= not used. So like, if the offset is too big, don't reset. Got it.
Default: 0
global:enable_snmpโ BOOLEAN. Enable SNMP agent (if compiled withPTPD_SNMP). SNMP? Only if you compiled with it, bestie ๐ฟ
Default: N
global:use_syslogโ BOOLEAN. Send log messages to syslog. Disabling this sends all messages to stdout (or specified log file). Syslog or stdout? Your choice. ๐
Default: N
global:lock_fileโ STRING. Lock file location. Where's the lock file? Right here, bestie ๐
Default: [none]
global:auto_lockfileโ BOOLEAN. Use mode specific and interface specific lock file (overridesglobal:lock_file). Auto lock file? It's giving automatic vibes โจ
Default: N
global:lock_directoryโ STRING. Lock file directory: used with automatic mode-specific lock files, also used when no lock file is specified. When lock file is specified, it's expected to be an absolute path. Directory for locks. Absolute path only if you specify one. Periodt.
Default: /var/run
global:ignore_lockโ BOOLEAN. Skip lock file checking and locking. Ignoring locks? Risky but okay, bestie ๐
Default: N
global:quality_fileโ STRING. File used to record data about sync packets. Enables recording when set. Quality file? For sync packet data. Set it to enable. ๐
Default: [none]
global:quality_file_max_sizeโ INT: min: 0. Maximum sync packet record file size (in kB) โ file will be truncated if size exceeds the limit.0โ no limit. Max size in kB. 0 means no limit. So like, go off, file.
Default: 0
global:quality_file_max_filesโ INT: 0 .. 100. Enable log rotation of the sync packet record file up to n files.0โ do not rotate. Rotate up to n files. 0 means don't rotate. We love a rotating queen ๐
Default: 0
global:quality_file_truncateโ BOOLEAN.global:sync_packet_record_file_truncateโ bestie, this one is giving โfresh file, who dis?โ energy: truncate the sync packet record file every single time it gets (re)opened โ that means startup andSIGHUP. Default:N. ๐global:status_file[STRING]โ the file whereptpd2logs its status info. Default:/var/run/ptpd2.status. ๐global:log_status[BOOLEAN]โ turn writing status information to that file on or off. Default:N.global:status_update_interval[INT: 1 .. 30]โ how often the status file gets updated, in seconds. Default:1.global:log_file[STRING]โ set the log file path for the event log. The way that setting this literally enables logging to file? Iconic. Default:[none]. โจglobal:log_file_max_size[INT: min: 0 ]โ maximum log file size in kB. If the size exceeds the limit, the log file will be truncated.0means no limit. Default:0.global:log_file_max_files[INT: 0 .. 100]โ enable log rotation of the sync packet record file up to n files.0means do not rotate. Default:0.global:log_file_truncate[BOOLEAN]โ truncate the log file every time itโs (re)opened: startup andSIGHUP. Default:N.global:log_level[SELECT]โ specify the log level, aka only messages at this priority or higher will be logged. The minimal level isLOG_ERR.LOG_ALLenables debug output if compiled withRUNTIME_DEBUG.- options:
LOG_ERRLOG_WARNINGLOG_NOTICELOG_INFOLOG_ALL - default:
LOG_ALL
- options:
global:statistics_file[STRING]โ specify the statistics log file path. Setting this enables logging of statistics, but it can be overridden withglobal:log_statistics. Default:[none]. ๐global:statistics_log_interval[INT: min: 0 ]โ log timing statistics every n seconds for Sync and Delay messages (0means log all). Default:0.global:statistics_file_max_size[INT: min: 0 ]โ maximum statistics log file size in kB. If the size exceeds the limit, the log file will be truncated.0means no limit. Default:0.global:statistics_file_max_files[INT: 0 .. 100]โ enable log rotation of the statistics file up to n files.0means do not rotate. Default:0.global:statistics_file_truncate[BOOLEAN]โ truncate the statistics file every time itโs (re)opened: startup andSIGHUP. Default:N.global:dump_packets[BOOLEAN]โ dump the contents of every PTP packet. Yes, every single one. Default:N. ๐global:verbose_foreground[BOOLEAN]โ run in foreground with statistics and all messages logged to stdout. This overrides log file and statistics file settings and disables syslog. Default:N.global:foreground[BOOLEAN]โ run in foreground. This is ignored whenglobal:verbose_foregroundis set. Default:N.global:log_statistics[BOOLEAN]โ log timing statistics for every PTP packet received. Output is in CSV format, and field headers are always printed when starting or refreshing the statistics log. Default:N.global:statistics_timestamp_format[SELECT]โ timestamp format used when logging timing statistics (whenglobal:log_statisticsis enabled):datetimeโ formatted date and time:YYYY-MM-DD hh:mm:ss.uuuuuuunixโ Unix timestamp with nanoseconds:s.nsbothโ formatted date and time followed by unix timestamp (adds one extra field to the log)- default:
datetime
global:periodic_updates[BOOLEAN]โ log a status update every time statistics are updated (global:statistics_update_interval). This update is written to the main log target. Status updates are logged even ifptpdis configured without support for statistics. Default:N. ๐ฆglobal:cpuaffinity_cpucore[INT: -1 .. 255]โ bind theptpd2process to a selected CPU core number.0= first CPU core, etc.-1= do not bind to a single core. Default:0.global:statistics_update_interval[INT: 1 .. 60]โ clock synchronisation statistics update interval in seconds. Also controls how often periodic status information is logged (when usingglobal:statistics_update_interval). Default:30.global:timingdomain_election_delay[INT: 0 .. 3600 ]โ delay in seconds before releasing a time service (NTP or PTP) and electing a new one to control a clock.0= elect immediately. Default:15.ntpengine:enabled[BOOLEAN]โ enable NTPd integration. Default:N.ntpengine:control_enabled[BOOLEAN]โ enable control over the local NTPd daemon. Default:N.ntpengine:check_interval[INT: 5 .. 600]โ NTP control check interval in seconds. Default:15.ntpengine:key_id[INT: 0 .. 65535]โ NTP key number. It must be configured as a trusted control key inntp.conf, and it must be non-zero for thentpengine:control_enabledsetting to take effect. Default:0.ntpengine:key[STRING]โ NTP key (plain text, max. 20 characters). It must match the key configured inntpdโs keys file, and it must be non-zero for thentpengine:control_enabledsetting to take effect. Default:[none]. ๐
๐ BUGS ๐
Configuration file support has only been introduced in version 2.3. There may still be some inconsistencies in the way some settings are parsed, and while order should not make any difference, for some complex behaviours it may still be the case. ๐ญ
Please report any bugs using the bug tracker on the SourceForge page: http://sourceforge.net/projects/ptpd/
๐ SEE ALSO ๐
๐ AUTHORS ๐
- Steven Kreuzer
<skreuzer@freebsd.org> - Gael Mace
<gael_mace@users.sourceforge.net> - George Neville-Neil
<gnn@freebsd.org> - Wojciech Owczarek
<wojciech@owczarek.co.uk> - Alexandre Van Kempen
The ptpd2.conf(5) man page was first written by Wojciech Owczarek for ptpd 2.3.0 in November 2013. ๐ธ
And thatโs the whole vibe, bestie. This page is from version 2.3.1, dated June, 2015, and itโs the ptpd2.conf(5) manual โ slay, you made it to the end. ๐
โจ
๐ฆ where this page comes from
- debian bookworm: ptpd 2.3.1-debian1-4+b1
- debian trixie: ptpd 2.3.1-debian1-4+b2
- ubuntu jammy: ptpd 2.3.1-debian1-4
- ubuntu noble: ptpd 2.3.1-debian1-4build2
- ubuntu questing: ptpd 2.3.1-debian1-4build2
- ubuntu resolute: ptpd 2.3.1-debian1-5
- ubuntu stonking: ptpd 2.3.1-debian1-6
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms