Hugepages usage

General support questions
Post Reply
JackBauer
Posts: 19
Joined: 2020/05/19 13:56:35

Hugepages usage

Post by JackBauer » 2020/05/19 13:59:45

Hello,

How can we monitor the usage of hugepages?

Can that be done with top?

Thanks

User avatar
TrevorH
Forum Moderator
Posts: 29136
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Hugepages usage

Post by TrevorH » 2020/05/19 14:29:48

[root@centos8 ~]# grep -i huge /proc/meminfo
AnonHugePages: 4096 kB
ShmemHugePages: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 0 kB
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

JackBauer
Posts: 19
Joined: 2020/05/19 13:56:35

Re: Hugepages usage

Post by JackBauer » 2020/05/19 15:45:54

And how do you check if it has reached 100%?

chemal
Posts: 682
Joined: 2013/12/08 19:44:49

Re: Hugepages usage

Post by chemal » 2020/05/20 04:13:09

If you are using transparent huge pages the only hard limit is available memory. Otherwise 'HugePages_Free: 0' in the above output obviously means that 100% are used.

JackBauer
Posts: 19
Joined: 2020/05/19 13:56:35

Re: Hugepages usage

Post by JackBauer » 2020/05/20 18:37:25

Is there a way to get this kind of info? Where it shows the %HP?

Image

Post Reply

Return to “CentOS 6 - General Support”