mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [question] hugetlb: how to find who use hugetlb?
@ 2016-09-19  2:39 Xishi Qiu
  2016-09-20  2:46 ` Xishi Qiu
  0 siblings, 1 reply; 2+ messages in thread
From: Xishi Qiu @ 2016-09-19  2:39 UTC (permalink / raw)
  To: Linux MM, LKML

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-20  2:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-19  2:39 [question] hugetlb: how to find who use hugetlb? Xishi Qiu
2016-09-20  2:46 ` Xishi Qiu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome