containerd / containerd/cgroups

Hugetlb subsystem can not limit hugetlb reservations

Open
#244 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
252
PR merge metrics
No merged PRs in 30d

Description

Brief summary of hugetlb subsystem control files:
hugetlb..rsvd.limit_in_bytes # set/show limit of "hugepagesize" hugetlb reservations
hugetlb..rsvd.max_usage_in_bytes # show max "hugepagesize" hugetlb reservations and no-reserve faults
hugetlb..rsvd.usage_in_bytes # show current reservations and no-reserve faults for "hugepagesize" hugetlb
hugetlb..rsvd.failcnt # show the number of allocation failure due to HugeTLB reservation limit
hugetlb..limit_in_bytes # set/show limit of "hugepagesize" hugetlb faults
hugetlb..max_usage_in_bytes # show max "hugepagesize" hugetlb usage recorded
hugetlb..usage_in_bytes # show current usage for "hugepagesize" hugetlb
hugetlb..failcnt # show the number of allocation failure due to HugeTLB usage limit
hugetlb..numa_stat # show the numa information of the hugetlb memory charged to this cgroup

ref: https://docs.kernel.org/admin-guide/cgroup-v1/hugetlb.html

Currently, only hugetlb.hugepagesize.limit_in_bytes is implemented. When it comes to hugepage reservation, hugetlb cannot limit the hugepages occupied by a process.

Do you have any plans to implement hugetlb..rsvd.limit_in_bytes functionality?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.