diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-02-15 12:11:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-15 12:11:42 +0100 |
commit | eca3d5d567fe3c85a10b22af2e2e8ba7e0dd480f (patch) | |
tree | 93166c4eb4bf4b370d54593e7726bcffd1741e7c /man | |
parent | 5c5c21835a606542f2da6b6705cf2994c8c57d2d (diff) | |
parent | 527ede0c638b47b62a87900438a8a09dea42889e (diff) | |
download | systemd-eca3d5d567fe3c85a10b22af2e2e8ba7e0dd480f.tar.gz systemd-eca3d5d567fe3c85a10b22af2e2e8ba7e0dd480f.tar.bz2 systemd-eca3d5d567fe3c85a10b22af2e2e8ba7e0dd480f.zip |
Merge pull request #9594 from filbranden/cpu_quota_period1
core: add CPUQuotaPeriodSec=
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.resource-control.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index a4d793c32e..744bfa938f 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -199,6 +199,25 @@ </varlistentry> <varlistentry> + <term><varname>CPUQuotaPeriodSec=</varname></term> + + <listitem> + <para>Assign the duration over which the CPU time quota specified by <varname>CPUQuota=</varname> is measured. + Takes a time duration value in seconds, with an optional suffix such as "ms" for milliseconds (or "s" for seconds.) + The default setting is 100ms. The period is clamped to the range supported by the kernel, which is [1ms, 1000ms]. + Additionally, the period is adjusted up so that the quota interval is also at least 1ms. + Setting <varname>CPUQuotaPeriodSec=</varname> to an empty value resets it to the default.</para> + + <para>This controls the second field of <literal>cpu.max</literal> attribute on the unified control group hierarchy + and <literal>cpu.cfs_period_us</literal> on legacy. For details about these control group attributes, see + <ulink url="https://www.kernel.org/doc/Documentation/cgroup-v2.txt">cgroup-v2.txt</ulink> and + <ulink url="https://www.kernel.org/doc/Documentation/scheduler/sched-design-CFS.txt">sched-design-CFS.txt</ulink>.</para> + + <para>Example: <varname>CPUQuotaPeriodSec=10ms</varname> to request that the CPU quota is measured in periods of 10ms.</para> + </listitem> + </varlistentry> + + <varlistentry> <term><varname>MemoryAccounting=</varname></term> <listitem> |