Re: [PATCH] kvm tools: Add option to specify backing storage for RAM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2011-04-21 at 15:48 +0300, Pekka Enberg wrote:
> On Thu, Apr 21, 2011 at 3:45 PM, Sasha Levin <levinsasha928@xxxxxxxxx> wrote:
> > Add --use-backing to allow for the usage of a temporary backing file for guest RAM.
> > A temporary file is created and aollocated under /tmp and is used to back the RAM memory which is mmaped for the guest.
> > There should be enough storage space under /tmp to use this option (at least the size of the guest RAM).
> >
> > Signed-off-by: Sasha Levin <levinsasha928@xxxxxxxxx>
> 
> OK, but what is this useful for? Why would someone want to do this?

It's an alternative to creating more swap.
When using large RAM sizes for guests on hosts with limited physical
RAM/swap this option gives the user a way to use files instead of swap.

This can also be extended to use hugetlbfs.

-- 

Sasha.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux