Re: [RFC] respect the referenced bit of KVM guest pages?

From: Wu Fengguang
Date: Thu Aug 06 2009 - 05:25:35 EST


On Thu, Aug 06, 2009 at 05:22:23PM +0800, Avi Kivity wrote:
> On 08/05/2009 10:18 PM, Dike, Jeffrey G wrote:
> >> How did you create that 128M memory compartment?
> >>
> >> Did you use cgroups on the host system?
> >>
> >
> > Yup.
> >
> >
> >> How much memory do you give your virtual machine?
> >>
> >> That is, how much memory does it think it has?
> >>
> >
> > 256M.
> >
>
> So you're effectively running a 256M guest on a 128M host?
>
> Do cgroups have private active/inactive lists?

Yes, and they reuse the same page reclaim routines with the global
LRU lists.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/