From: Anthony Liguori <aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Dietmar Maurer <dietmar-GhD4xmeTzCPby3iVrkZq2A@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Guest memory usage
Date: Tue, 05 Feb 2008 10:36:11 -0600 [thread overview]
Message-ID: <47A8907B.7040206@us.ibm.com> (raw)
In-Reply-To: <E88155B5BD67CE4D87A3F1F70950B96A1AFF63-Mtm3uwm0nrWenyD9vqZGNUEOCMrvLtNR@public.gmane.org>
Dietmar Maurer wrote:
> Is there a monitor command to query the guest memory usage?
>
> Using Host VSZ/RSS gives wrong values - looks like allocated pages get
> never free?
>
The VSZ/RSS is correct. What you're seeing is probably a mix of two
things. In the absence of MMU notifiers, not all memory is reclaimable
all the time. Second, reducing the RSS size and free()'ing in the guest
are not related operations.
Regards,
Anthony Liguori
> - Dietmar
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
next prev parent reply other threads:[~2008-02-05 16:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-05 13:23 Guest memory usage Dietmar Maurer
[not found] ` <E88155B5BD67CE4D87A3F1F70950B96A1AFF63-Mtm3uwm0nrWenyD9vqZGNUEOCMrvLtNR@public.gmane.org>
2008-02-05 16:36 ` Anthony Liguori [this message]
[not found] ` <47A8907B.7040206-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-02-06 5:10 ` Dietmar Maurer
[not found] ` <E88155B5BD67CE4D87A3F1F70950B96A1AFF69-Mtm3uwm0nrWenyD9vqZGNUEOCMrvLtNR@public.gmane.org>
2008-02-06 19:44 ` Anthony Liguori
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=47A8907B.7040206@us.ibm.com \
--to=aliguori-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
--cc=dietmar-GhD4xmeTzCPby3iVrkZq2A@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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