]> git.proxmox.com Git - mirror_ovs.git/blame - lib/stress-unixctl.man
Always treat datapath ports as 32 bits.
[mirror_ovs.git] / lib / stress-unixctl.man
CommitLineData
cc01d0bb
BP
1.SS "STRESS OPTION COMMANDS"
2These command manage stress options, which allow developers testing
3Open vSwitch to trigger behavior that otherwise would occur only in
4corner cases. Developers and testers can thereby more easily discover
5bugs that would otherwise manifest only rarely or
6nondeterministically. Stress options may cause surprising behavior
7even when they do not actually reveal bugs, so they should only be
8enabled as part of testing Open vSwitch.
9.
10.IP "\fBstress/enable\fR"
11.IQ "\fBstress/disable\fR"
12All stress options are disabled by default. Use \fBstress/enable\fR
13to enable stress options and \fBstress/disable\fR to disable them.
14.
15.IP "\fBstress/list\fR"
16Lists and describes the available stress options and their settings in
17tabular form. The columns in the table are:
18.RS
19.IP "NAME"
20A single-word identifier for the option, used to identify stress
21options to \fBstress/set\fR.
22.
23.IP "DESCRIPTION"
24A description for a person unfamiliar with the detailed internals of
25the code what behavior the option affects.
26.
27.IP "PERIOD"
28Currently configured trigger period. If the stress option is
29disabled, this is \fBdisabled\fR. Otherwise this is a number giving
30the number of occurrences of the event between activations of the
31stress option triggers.
32.
33.IP "MODE"
34If the stress option is disabled, this is \fBn/a\fR. Otherwise it is
35\fBperiodic\fR if the stress option triggers after exactly the period,
36or \fBrandom\fR if it triggers randomly but on average after the
37number of occurrences specified by the period.
38.
39.IP "COUNTER"
40If the stress option is disabled, this is \fBn/a\fR. Otherwise it is
41the number of occurrences of the event before the next time the stress
42option triggers.
43.
44.IP "HITS"
45The number of times that this stress option has triggered since this
46program started.
47.
48.IP "RECOMMENDED"
49A suggested period for a person unfamiliar with the internals. It
50should put reasonable stress on the system without crippling it.
51.
52.IP "MINIMUM"
53.IQ "MAXIMUM"
54Minimum and maximum values allowed for the period.
55.
56.IP "DEFAULT"
57The default period, used when stress options have been enabled (with
58\fBstress/enable\fR) but this particular stress option has not been
59specifically configured (with \fBstress/set\fR). It is \fBdisabled\fR
60if the option is disabled by default. It is nonzero for options that
ae490a56 61can be left on at low levels without noticeable impact to the end user.
cc01d0bb
BP
62.RE
63.
64.IP "\fBstress/set \fIoption\fR \fIperiod\fR [\fBrandom\fR|\fBperiodic\fR]"
65Sets the period at which stress \fIoption\fR triggers to
66\fIperiod\fR. A \fIperiod\fR of 0 disables \fIoption\fR. Specify
67\fBrandom\fR to make the option trigger randomly with an average
68period of \fIperiod\fR, or \fBperiodic\fR to trigger exactly every
69\fIperiod\fR events; the latter is the default.
70.IP
71If stress options have not been enabled with \fBstress/enable\fR, this
72command has no effect.