[pve-devel] [PATCH 1/2] add hugepages option

Alexandre DERUMIER aderumier at odiso.com
Fri May 13 08:32:16 CEST 2016


>>Also, allocation 1GB pages may can fail due to fragmentation, while
>>allocation of 2MB pages still work?

yes.
But this is a little bit more complex to manage. 

In this case we need to try to alloc pages before generate the qemu command line
as we generate qemu command line, with 1GB or 2M hugepagemount point.

(I have in mind to alloc pages after config_to_command, to avoid alloc pages if config is wrong)



----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Vendredi 13 Mai 2016 07:26:22
Objet: Re: [pve-devel] [PATCH 1/2] add hugepages option

> Technically, it's possible to allocate, 1pages of 1GB and 250pages of 2MB, 
> with 2 mounts point. 
> 
> But It's a little bit more complex 
> 
> Opinions ? 

Why not. Also, allocation 1GB pages may can fail due to fragmentation, while 
allocation of 2MB pages still work? 



More information about the pve-devel mailing list