Skip to contentSkip to conversation

Monitoring domU real memory usage

DISCUSSION bhavani krishnan 3 participants 3 messages Oct 16, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

xentop is only giving me the memory allocated to the a domU (Static info). It does not change this info at all. Is there anyway to get how much of the allocated memory is the domU using? I saw few other similar posts in the archives but no solution to it. Please help me out here.

Thanks,
Bhavani

#1 lore raw
Quoted 4 lines · bhavani krishnan

Hi,

xentop is only giving me the memory allocated to the a domU (Static info). It does not change this info at all. Is there anyway to get how much of the allocated memory is the domU using? I saw few other similar posts in the archives but no solution to it. Please help me out here.

Hi,

I don't know if that information is tracked.

Xen doesn't do memory overcommit, so it dedicates physical memory for each guest, so it's up to the guests what they do with it.

-- Pasi

#2 lore raw
Quoted 8 lines · bhavani krishnan
Quoted 3 lines

Hi,

xentop is only giving me the memory allocated to the a domU

(Static info). It does not change this info at all. Is there anyway to get how much of the allocated memory is the domU using? I saw few other similar posts in the archives but no solution to it. Please help me out here.

You'll have to define more precisely what "using" means since an OS "uses" (nearly) all the memory given to it for one thing or another. Are you referring to ballooning?

Quoted 6 lines

I don't know if that information is tracked.

Xen doesn't do memory overcommit, so it dedicates physical memory for each guest, so it's up to the guests what they do with it.

-- Pasi

Xen CAN do memory overcommit, just not transparently (yet).

In the xen tree, see tools/xenballoond. See this link from Xen Summit 2008 for more description:

http://wiki.xensource.com/xenwiki/Open_Topics_For_Discussion?action=AttachFile&do=get&target=Memory+Overcommit.pdf