File: miscopt.adoc

package info (click to toggle)
ntpsec 1.2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 10,360 kB
  • sloc: ansic: 62,698; python: 32,477; sh: 1,575; yacc: 1,331; makefile: 193; javascript: 138
file content (101 lines) | stat: -rw-r--r-- 4,817 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
= Miscellaneous Commands and Options
include::include-html.ad[]

[cols="10%,90%",frame="none",grid="none",style="verse"]
|==============================
|image:pic/boom3.gif[]|
{millshome}pictures.html[from 'Pogo', Walt Kelly]

We have three, now looking for more.

|==============================

== Related Links

include::includes/miscopt.adoc[]

'''''

== Commands and Options

include::includes/misc-options.adoc[]

// A subset of the tos options is described on the ntp.conf manual page.
// If you change this, be very sure to keep that synchronized.

[[tos]]
+tos+ [+ceiling+ 'ceiling' | +floor+ 'floor' | +maxclock+ 'maxclock' | +maxdist+ 'maxdist' | +minclock+ 'minclock' | +mindist+ 'mindist' | +minsane+ 'minsane' | +orphan+ 'stratum' | +orphanwait+ 'delay']::
  This command alters certain system variables used by the clock
  selection and clustering algorithms. The default values of these
  variables have been carefully optimized for a wide range of network
  speeds and reliability expectations. Very rarely is it necessary to
  change the default values; but, some folks can't resist twisting the
  knobs. It can be used to select the quality and quantity of peers used
  to synchronize the system clock and is most useful in dynamic server
  discovery schemes. The options are as follows:
  +ceiling+ 'ceiling';;
    Specify the maximum stratum (exclusive) for acceptable server
    packets. The default is 16. See the link:discover.html[Automatic
    Server Discovery] page for further details.
  +floor+ 'floor';;
    Specify the minimum stratum (inclusive) for acceptable server
    packets. The default is 1. See the link:discover.html[Automatic
    Server Discovery] page for further details.
  +maxclock+ 'maxclock';;
    Specify the maximum number of servers retained by the server
    discovery schemes. The default is 10, which should typically be changed.
    This should be an odd number (to most effectively outvote
    link:ntpspeak.html[falsetickers]) typically two or three more than
    +minclock+, plus the number of +pool+ entries.  The pool entries
    must be added as +maxclock+, but not +minclock+, also counts the +pool+
    entries themselves.  For example, +tos maxclock 11+ with four +pool+ lines
    would keep 7 associations.  See the link:discover.html[Automatic Server
    Discovery] page for further details.
  +maxdist+ 'maxdistance';;
    Specify the synchronization distance threshold used by the clock
    selection algorithm. The default is 1.5 s. This determines both the
    minimum number of packets to set the system clock and the maximum
    roundtrip delay. It can be decreased to improve reliability or
    increased to synchronize clocks on the Moon or planets.
  +maxdisp+ 'maxdispersion';;
    Specify the maximum dispersion used by the clock synchronization
    algorithm. The default is 16 s.  This is also the dispersion
    assigned to missing data. See RFC 5905 for discussion.
  +minclock+ 'minclock';;
    Specify the number of servers used by the clustering algorithm as
    the minimum to include on the candidate list. The default is 3. This
    is also the number of servers to be averaged by the combining
    algorithm.
  +mindist+ 'mindistance';;
    Specify the minimum distance used by the selection and anticlockhop
    algorithm. Larger values increase the tolerance for outliers;
    smaller values increase the selectivity. The default is .001 s. In
    some cases, such as reference clocks with high jitter and a PPS
    signal, it is useful to increase the value to insure the
    intersection interval is always nonempty.
  +minsane+ 'minsane';;
    Specify the number of servers used by the selection algorithm as the
    minimum to set the system clock. The default is 1 for legacy
    purposes; however, for critical applications the value should be
    somewhat higher (e.g. 3) but less than +minclock+.
  +orphan+ 'stratum';;
    Specify the orphan stratum with default 16. If less than 16 this is
    the stratum assumed by the root servers. See the
    link:orphan.html[Orphan Mode] page for further details.
  +orphanwait+ 'delay';;
    Specify the delay in seconds from the time all sources are lost
    until orphan parent mode is enabled with default 300 s (five
    minutes). During this period, the local clock driver and the modem
    driver are not selectable, unless marked with the +prefer+ keyword.
    This allows time for one or more primary sources to become reachable
    and selectable before using backup sources, and avoids transient use
    of the backup sources at startup.

+dscp+ 'dscp'::
  This command specifies the Differentiated Services Code Point (DSCP)
  value that is used in sent NTP packets. The default value is 46 for
  Expedited Forwarding (EF).

'''''

include::includes/footer.adoc[]