From: Vladyslav Drok <vdrok@mirantis.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Tracking hugepages usage
Date: Thu, 1 Jun 2017 13:38:39 +0300 [thread overview]
Message-ID: <CAEcfeEx1nB-jZwLO1kmt1Mv+3JoBtrWPVpCaAkSEpLXne6oL1Q@mail.gmail.com> (raw)
Hello qemu community!
I come from openstack world, and one of our customers complains about an
issue with huge pages on compute nodes. From the "virsh frepages --all" and
"cat /proc/meminfo", they see that 4 huge pages are consumed:
http://paste.openstack.org/show/611186/
In total there are 239 1G pages, 120 in numa node 0, and 119 in numa node
1. There are no VMs running at this point.
When trying to find out what consumes the 4 1G huge pages from node 0, I
was suggesting "grep 1048576 /proc/*/numa_maps" to find out which processes
are using 1G pages, but in this particular case it shows no processes.
While when some VM is running, I can see the qemu process that's consuming
huge pages, numa_maps reports the correct amount of pages, corresponding to
what has been requested for the VM's RAM.
Are there any recommended ways for trying to track what consumes these 4
"lost" pages? (I might be a bit slow providing more info, as I don't have
access to this environment :( )
Thanks,
Vlad
next reply other threads:[~2017-06-01 10:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-01 10:38 Vladyslav Drok [this message]
2017-06-01 10:56 ` [Qemu-devel] Tracking hugepages usage Andrey Korolyov
2017-06-01 11:55 ` Vladyslav Drok
2017-06-01 16:24 ` Vladyslav Drok
2017-06-02 11:30 ` Vladyslav Drok
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAEcfeEx1nB-jZwLO1kmt1Mv+3JoBtrWPVpCaAkSEpLXne6oL1Q@mail.gmail.com \
--to=vdrok@mirantis.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).