Skip to content

Hugetlb subsystem can not limit hugetlb reservations #244

@gaohuatao-1

Description

@gaohuatao-1

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions