]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: how to unset CPUQuota=
authorSho Iizuka <sho.i518@gmail.com>
Mon, 13 Dec 2021 13:53:36 +0000 (22:53 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 13 Dec 2021 19:43:56 +0000 (19:43 +0000)
This description will help users who are trying to reset the already configured
CPUQuota= by trying incorrect ways such as CPUQuota=0 or CPUQUota=infinity.

man/systemd.resource-control.xml

index 23aedc8d8dc9ed96f637382fc3468419ed4ee028..d9edb6ab74fd696ffa30ad11cfb8e9505cb47dc1 100644 (file)
           <literal>cpu.max</literal> attribute on the unified control group hierarchy and
           <literal>cpu.cfs_quota_us</literal> on legacy. For details about these control group attributes, see <ulink
           url="https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html">Control Groups v2</ulink> and <ulink
-          url="https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt">sched-bwc.txt</ulink>.</para>
+          url="https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt">sched-bwc.txt</ulink>.
+          Setting <varname>CPUQuota=</varname> to an empty value unsets the quota.</para>
 
           <para>Example: <varname>CPUQuota=20%</varname> ensures that the executed processes will never get more than
           20% CPU time on one CPU.</para>