summaryrefslogtreecommitdiffstats
path: root/docs/TRANSIENT-SETTINGS.md
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2018-11-02 17:21:57 +0100
committerFilipe Brandenburger <filbranden@google.com>2019-02-14 20:04:42 +0100
commit10f28641115733c61754342d5dcbe70b083bea4b (patch)
treef0f8ab9e60ffa381fed0ad638e785ac601d29164 /docs/TRANSIENT-SETTINGS.md
parenttime-util: Introduce parse_sec_def_infinity (diff)
downloadsystemd-10f28641115733c61754342d5dcbe70b083bea4b.tar.xz
systemd-10f28641115733c61754342d5dcbe70b083bea4b.zip
core: add CPUQuotaPeriodSec=
This new setting allows configuration of CFS period on the CPU cgroup, instead of using a hardcoded default of 100ms. Tested: - Legacy cgroup + Unified cgroup - systemctl set-property - systemctl show - Confirmed that the cgroup settings (such as cpu.cfs_period_ns) were set appropriately, including updating the CPU quota (cpu.cfs_quota_ns) when CPUQuotaPeriodSec= is updated. - Checked that clamping works properly when either period or (quota * period) are below the resolution of 1ms, or if period is above the max of 1s.
Diffstat (limited to 'docs/TRANSIENT-SETTINGS.md')
-rw-r--r--docs/TRANSIENT-SETTINGS.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/TRANSIENT-SETTINGS.md b/docs/TRANSIENT-SETTINGS.md
index 0ac77f0497..ac89fb174f 100644
--- a/docs/TRANSIENT-SETTINGS.md
+++ b/docs/TRANSIENT-SETTINGS.md
@@ -224,6 +224,7 @@ All cgroup/resource control settings are available for transient units
✓ CPUShares=
✓ StartupCPUShares=
✓ CPUQuota=
+✓ CPUQuotaPeriodSec=
✓ MemoryAccounting=
✓ MemoryMin=
✓ MemoryLow=