Re: [patch 0/6] Guest page hinting version 7.

From: Rik van Riel
Date: Thu Apr 02 2009 - 16:16:42 EST


Jeremy Fitzhardinge wrote:
The more complex host policy decisions of how to balance overall memory use system-wide are much in the same for both mechanisms.
Not at all. Page hinting is just an optimization to host swapping, where
IO can be avoided on many of the pages that hit the end of the LRU.

No decisions have to be made at all about balancing memory use
between guests, it just happens through regular host LRU aging.

Automatic ballooning requires that something on the host figures
out how much memory each guest needs and sizes the guests
appropriately. All the proposed policies for that which I have
seen have some nasty corner cases or are simply very limited
in scope.
--
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/