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

From: Rik van Riel
Date: Thu Aug 13 2009 - 11:47:38 EST


Wu Fengguang wrote:
On Wed, Aug 12, 2009 at 10:31:41PM +0800, Rik van Riel wrote:

For zones it is a fixed value, which is available in
/proc/zoneinfo

On my 64bit desktop with 4GB memory:

DMA inactive_ratio: 1
DMA32 inactive_ratio: 4
Normal inactive_ratio: 1

The biggest zone DMA32 has inactive_ratio=4. But I guess the
referenced bit should not be ignored on this typical desktop
configuration?

We need to ignore the referenced bit on active anon pages
on very large systems, but it could indeed be helpful to
respect the referenced bit on smaller systems.

I have no idea where the cut-off between them would be.

Maybe at inactive_ratio <= 4 ?

--
All rights reversed.
--
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/