chiark / gitweb /
core: add startup resource control option
[elogind.git] / man / systemd.resource-control.xml
index 5a996fd6df1a7e75b58f7cd8de1c276049d772fe..33d2f2e10263a0596156528b70915437ef83e2de 100644 (file)
@@ -139,7 +139,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
           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
+          available on one CPU. Use values &gt; 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
@@ -170,6 +170,18 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
         </listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><varname>StartupCPUShares=<replaceable>weight</replaceable></varname></term>
+
+        <listitem>
+          <para>Similar to <varname>CPUShares=</varname>. However,
+          only be assigned on startup state. After finishing startup, will be
+          re-assigned by <varname>CPUShares=</varname>. If
+          <varname>CPUShares=</varname> is not specified, then it will be
+          assigned to default(1024).</para>
+        </listitem>
+      </varlistentry>
+
       <varlistentry>
         <term><varname>MemoryAccounting=</varname></term>
 
@@ -240,6 +252,18 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
         </listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><varname>StartupBlockIOWeight=<replaceable>weight</replaceable></varname></term>
+
+        <listitem>
+          <para>Similar to <varname>BlockIOWeight=</varname>. However,
+          only be assigned on startup state. After finishing startup, will be
+          re-assigned by <varname>BlockIOWeight=</varname>. If
+          <varname>BlockIOWeight=</varname> is not specified, then it will be
+          assigned to default(1000).</para>
+        </listitem>
+      </varlistentry>
+
       <varlistentry>
         <term><varname>BlockIODeviceWeight=<replaceable>device</replaceable> <replaceable>weight</replaceable></varname></term>