Re: [libvirt] [PATCH] Add huge page support to libvirt..

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

 



Hey,

For anyone interested, there is more background here:

https://fedoraproject.org/wiki/Features/KVM_Huge_Page_Backed_Memory

On Wed, 2009-07-22 at 21:25 -0400, john cooper wrote:
> This patch allows passing of a "-mem-path <arg>"
> flag to qemu for support of huge page backed
> guests.  A guest may request this option via
> specifying:
> 
>     <hugepage>on</hugepage>

Other options include:

  - <hugepages/>

  - <memory hugepages="yes">XXXXX</memory>

> in its domain definition xml file.  The request
> for huge page backing will be attempted within
> libvirt if the host system has indicated a
> hugetlbfs mount point in qemu.conf, for example:
> 
>     hugepage_mount = "/hugetlbfs"

I'd suggest /dev/hugepages as the default - /hugetlbfs has an seriously
unstandard whiff about it

Apart from that, the patch looks good to me - it needs to be re-based
onto latest master, but the conflict is no big deal.

Cheers,
Mark.

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]