[pve-devel] [PATCH] add virtio-vhost-user nic support

Alexandre DERUMIER aderumier at odiso.com
Fri May 6 13:13:19 CEST 2016


>>Just to be sure, THP does not work? We need to use hugetlbfs? 

For Vhost_user, yes, hugetlbfs need to be used.


Also, AFAIK, THP don't work with 1GB hugepages, only 2MB.

So, this could make sense to add an hugepage option, for vm with big memory databases workload for example.


----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "Wolfgang Bumiller" <w.bumiller at proxmox.com>, "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Vendredi 6 Mai 2016 12:42:26
Objet: Re: [pve-devel] [PATCH] add virtio-vhost-user nic support

> On May 6, 2016 at 11:38 AM Alexandre DERUMIER <aderumier at odiso.com> wrote: 
> 
> 
> >>I was confused for a minute by this. This modifies the variable outside 
> >>the loop to be used afterwards to decide on the $numa_object. 
> 
> I wonder if it could be better to enable hugepage with a new vm config option. 
> It can be used without vhost_user (some very specific vm workloads can 
> benefit from hugepages). 
> 
> It could also help with vhost_user nic hotplug. 
> (currently, start a vm without vhost_user, don't enable hugepage, so hotplug a 
> vhost_user nic after that, will not work) 
> 
> Any opininion ? 

Just to be sure, THP does not work? We need to use hugetlbfs? 



More information about the pve-devel mailing list