Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1486101

[question] hugetlb: how to find who use hugetlb?

From Xishi Qiu <qiuxishi@huawei.com>
Newsgroups linux.kernel
Subject [question] hugetlb: how to find who use hugetlb?
Date 2016-09-19 04:50 +0200
Message-ID <siWOB-87e-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


On my system, I set HugePages_Total to 2G(1024 x 2M), and I use 1G hugetlb,
but the HugePages_Free is not 1G(512 x 2M), it is 280(280 x 2M) left,
HugePages_Rsvd is 0, it seems someone use 232(232 x 2M) hugetlb additionally.

So how to find who use the additional hugetlb? 

I search every process and find the total hugetlb size is only 1G,
cat /proc/xx/smaps | grep KernelPageSize, then account the vma size
which KernelPageSize is 2048 kB.

Thanks,
Xishi Qiu

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[question] hugetlb: how to find who use hugetlb? Xishi Qiu <qiuxishi@huawei.com> - 2016-09-19 04:50 +0200
  Re: [question] hugetlb: how to find who use hugetlb? Xishi Qiu <qiuxishi@huawei.com> - 2016-09-20 04:50 +0200

csiph-web