Re: [Xen-devel] Re: [XEN] using shmfs for swapspace

From: Luke Kenneth Casson Leighton
Date: Tue Jan 04 2005 - 04:22:38 EST


On Mon, Jan 03, 2005 at 03:07:42PM -0600, Adam Heath wrote:

> > so this tends to suggest a strategy where you allocate as
> > much memory as you can afford to the DOM0 VM, and as little
> > as you can afford to the guests, and make the guest swap
> > files bigger to compensate.
>
> But the guest kernels need real ram to run programs in.
>
> The problem with dom0 doing the caching, is that dom0 has no idea about the
> usage pattern for the swap. It's just a plain file to dom0. Only each guest
> kernel knows how to combine swap reads/writes correctly.

... hmm...

then that tends to suggest that this is an issue that should
really be dealt with by XEN.

that there needs to be coordination of swap management between the
virtual machines.

l.

--
--
<a href="http://lkcl.net";>http://lkcl.net</a>
--
-
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/