X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.resource-control.xml;h=80c365bb1d121c81697c9029b9c5feb5f49bf1d2;hb=ead349509e325aad720bb0349521a9e56e2ac7c0;hp=e923b6da867cf1363a13a725bb8e25174792b157;hpb=5556b5fe41173107a67dbe875fbd916a46e52a02;p=elogind.git diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index e923b6da8..80c365bb1 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -105,8 +105,11 @@ along with systemd; If not, see . Turn on CPU usage accounting for this unit. Takes a boolean argument. Note that turning on CPU accounting for one unit might also implicitly turn it on for all units - contained in the same slice and for all its parent slices and - the units contained therein. + contained in the same slice and for all its parent slices + and the units contained therein. The system default for this + setting maybe controlled with + DefaultCPUAccounting= in + systemd-system.conf5. @@ -114,11 +117,53 @@ along with systemd; If not, see . CPUShares=weight - Assign the specified overall CPU time share weight to - the processes executed. Takes an integer value. This - controls the cpu.shares control group - attribute, which defaults to 1024. For details about this - control group attribute, see Assign the specified CPU time share weight to the + processes executed. Takes an integer value. This controls + the cpu.shares control group attribute, + which defaults to 1024. For details about this control group + attribute, see sched-design-CFS.txt + The available CPU time is split up among all units within a + slice relative to their CPU time share weight. + + Implies CPUAccounting=true. + + + + + CPUQuota= + + + Assign the specified CPU time quota to the processes + executed. Takes a percentage value (suffixed with "%") or an + absolute time (suffixed by one of the common time units, us, + ms, s, ...). The percentage specifies how much CPU time the + unit shall get at maximum, relative to the total CPU time + available on one CPU. Use values > 100% for alloting CPU + time on more than one CPU. If an absolute time is specified + the processes of this unit will get this much absolute time + within each quota period, at maximum. This controls the + cpu.cfs_quota_us control group + attribute. For details about this control group attribute, + see sched-design-CFS.txt. + + Example: CPUShares=20% ensures that + the executed processes will never get more than 20% CPU time + on one CPU. + + Implies CPUAccounting=true. + + + + + CPUQuotaPeriodSec= + + + Specify the CPU quota period to use. Defaults to + 100ms. This controls the cpu.cfs_period_us + control group attribute. For details about this control + group attribute, see sched-design-CFS.txt. Implies CPUAccounting=true. @@ -132,8 +177,10 @@ along with systemd; If not, see . Turn on process and kernel memory accounting for this unit. Takes a boolean argument. Note that turning on memory accounting for one unit might also implicitly turn it on for - all units contained in the same slice and for all its parent - slices and the units contained therein. + all its parent slices. The system default for this setting + maybe controlled with + DefaultMemoryAccounting= in + systemd-system.conf5. @@ -164,8 +211,11 @@ along with systemd; If not, see . Turn on Block IO accounting for this unit. Takes a boolean argument. Note that turning on block IO accounting for one unit might also implicitly turn it on for all units - contained in the same slice and all for its parent slices and - the units contained therein. + contained in the same slice and all for its parent slices + and the units contained therein. The system default for this + setting maybe controlled with + DefaultBlockIOAccounting= in + systemd-system.conf5. @@ -267,12 +317,16 @@ along with systemd; If not, see . followed by a device group name, as listed in /proc/devices. The latter is useful to whitelist all current and future devices belonging to a - specific device group at once. Examples: - /dev/sda5 is a path to a device node, - referring to an ATA or SCSI block + specific device group at once. The device group is matched + according to file name globbing rules, you may hence use the + * and ? + wildcards. Examples: /dev/sda5 is a + path to a device node, referring to an ATA or SCSI block device. char-pts and char-alsa are specifiers for all pseudo - TTYs and all ALSA sound devices, respectively. + TTYs and all ALSA sound devices, + respectively. char-cpu/* is a specifier + matching all CPU related device groups.