Re: [PATCH] add flag to enforce hugepage backing of guest RAM

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

 



On 02/04/2014 02:57 PM, Marcelo Tosatti wrote:
> 
>> So perhaps we do need some "policy" attribute on the <hugepages/>
>> element to indicate desired behaviour here.
> 
> What about the following new element under <hugepages/> ?
> 
> enforce_hugepage_size=integer 

Which feels a bit redundant (we're already under the <hugepages>
element, after all).  Maybe:

<hugepages>
  <size strict='yes' unit='G'>1</size>
</hugepages>

where strict could be no if we are giving a hint but don't care if the
hint cannot be honored (default yes if omitted), and where unit + value
allows the user to input the size in a sensible unit (on output, we'd
probably want to use unit='k' and spell out 1048576, for similarity with
all our other memory interfaces that output in k for back-compat reasons).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]