Re: [kvm-devel] Guest memory usage

2008-02-06 Thread Anthony Liguori
Dietmar Maurer wrote: > Hi Anthony, > > The problem is that memory always grows, even after rebooting the VM. > When you start a VM, none of the memory for that VM has been reserved by Linux regardless of what you specify in the '-m' parameter. Instead, as the guest starts to access memory,

Re: [kvm-devel] Guest memory usage

2008-02-05 Thread Dietmar Maurer
Hi Anthony, The problem is that memory always grows, even after rebooting the VM. > The VSZ/RSS is correct. What you're seeing is probably a mix > of two things. In the absence of MMU notifiers, not all Sorry for asking stupid questions: Why are they absent? Isn't there a way to track memor

Re: [kvm-devel] Guest memory usage

2008-02-05 Thread Anthony Liguori
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

[kvm-devel] Guest memory usage

2008-02-05 Thread Dietmar Maurer
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? - Dietmar - This SF.net email is sponsored by: Microsoft Defy all challenges. Mi