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

Alexandre DERUMIER aderumier at odiso.com
Wed May 4 05:30:02 CEST 2016


>>Why does that 'require' NUMA and hugepages? Or is that a stupid question? 

Hugepage is required (and preallocated), because virtio-vhost-user memory is shared with openvswitch and physical nics. 
This is how they bypass completly the kernel network stack

memory-backend-file is only possible with numa


http://wiki.qemu.org/Features/vhost-user-ovs-dpdk
https://software.intel.com/en-us/articles/using-open-vswitch-with-dpdk-on-ubuntu



Why bypassing the kernel ?:
Current kernel stack have some limitations, around 1mpps (millions packets/s)  vs 10mpps for dpdk by cpu core, so for virtual routers and firewall (synflood,udpflood of 64bytes), this is really needed)




----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Mardi 3 Mai 2016 18:00:31
Objet: Re: [pve-devel] [PATCH] add virtio-vhost-user nic support

> On May 3, 2016 at 5:05 PM Alexandre Derumier <aderumier at odiso.com> wrote: 
> 
> 
> vm config: 
> 
> net0: virtio-vhost-user=66:32:37:61:66:64,bridge=vmbr0,tag=10 
> numa: 1 
> 
> virtio-vhost-user is userland only, so no tap interface 
> Numa need to be enabled, and all vm memory is mapped to hugepages 

Why does that 'require' NUMA and hugepages? Or is that a stupid question? 



More information about the pve-devel mailing list