diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2024-07-03 00:36:46 +0000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-07-03 08:08:43 -1000 |
commit | 1028f391d5f9d4248e2f49193e6de2516ad630f8 (patch) | |
tree | 9b638468e910f0fc27e048229d416e5494d2ef0c /Documentation | |
parent | 7a4479680d7fd05c7a3efa87b41f421af48fbbdf (diff) |
cgroup/misc: Introduce misc.peak
Introduce misc.peak to record the historical maximum usage of the
resource, as in some scenarios the value of misc.max could be
adjusted based on the peak usage of the resource.
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/admin-guide/cgroup-v2.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst index 2e4e74bea6ef..52763d6b2919 100644 --- a/Documentation/admin-guide/cgroup-v2.rst +++ b/Documentation/admin-guide/cgroup-v2.rst @@ -2642,6 +2642,15 @@ Miscellaneous controller provides 3 interface files. If two misc resources (res_ res_a 3 res_b 0 + misc.peak + A read-only flat-keyed file shown in all cgroups. It shows the + historical maximum usage of the resources in the cgroup and its + children.:: + + $ cat misc.peak + res_a 10 + res_b 8 + misc.max A read-write flat-keyed file shown in the non root cgroups. Allowed maximum usage of the resources in the cgroup and its children.:: |