summaryrefslogtreecommitdiffstats
path: root/man/oomd.conf.xml
diff options
context:
space:
mode:
authorAnita Zhang <the.anitazha@gmail.com>2021-02-02 23:16:03 +0100
committerAnita Zhang <the.anitazha@gmail.com>2021-02-03 02:52:48 +0100
commit0a9f93443be9e04fa77317bc5e28742b433277c6 (patch)
tree9b17a938938730ac1035f57f4d4ff8e09e5db5a9 /man/oomd.conf.xml
parentparse-util: add permyriad parsing (diff)
downloadsystemd-0a9f93443be9e04fa77317bc5e28742b433277c6.tar.xz
systemd-0a9f93443be9e04fa77317bc5e28742b433277c6.zip
oom: rework *MemoryPressureLimit= properties to have 1/10000 precision
Requested in https://github.com/systemd/systemd/pull/15206#discussion_r505506657, preserve the full granularity for memory pressure limits (permyriad) instead of capping out at percent.
Diffstat (limited to 'man/oomd.conf.xml')
-rw-r--r--man/oomd.conf.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/man/oomd.conf.xml b/man/oomd.conf.xml
index bb5da87c54..2a12be8cad 100644
--- a/man/oomd.conf.xml
+++ b/man/oomd.conf.xml
@@ -59,10 +59,10 @@
</varlistentry>
<varlistentry>
- <term><varname>DefaultMemoryPressureLimitPercent=</varname></term>
+ <term><varname>DefaultMemoryPressureLimit=</varname></term>
<listitem><para>Sets the limit for memory pressure on the unit's cgroup before <command>systemd-oomd</command>
- will take action. A unit can override this value with <varname>ManagedOOMMemoryPressureLimitPercent=</varname>.
+ will take action. A unit can override this value with <varname>ManagedOOMMemoryPressureLimit=</varname>.
The memory pressure for this property represents the fraction of time in a 10 second window in which all tasks
in the cgroup were delayed. For each monitored cgroup, if the memory pressure on that cgroup exceeds the
limit set for longer than the duration set by <varname>DefaultMemoryPressureDurationSec=</varname>,
@@ -78,7 +78,7 @@
<listitem><para>Sets the amount of time a unit's cgroup needs to have exceeded memory pressure limits before
<command>systemd-oomd</command> will take action. Memory pressure limits are defined by
- <varname>DefaultMemoryPressureLimitPercent=</varname> and <varname>ManagedOOMMemoryPressureLimitPercent=</varname>.
+ <varname>DefaultMemoryPressureLimit=</varname> and <varname>ManagedOOMMemoryPressureLimit=</varname>.
Defaults to 30 seconds when this property is unset or set to 0.</para></listitem>
</varlistentry>