[ovs-discuss] High CPU load (up to 100%) with OVS+DPDK+vHOST usage.

Loftus, Ciara ciara.loftus at intel.com
Thu Jun 11 10:16:58 UTC 2015


> Hello Ciara Loftus!
> 
> Thank you for the information.

You're welcome.

> The reason I'm using 2.0 qemu is that on newest versions following
> INSTALL.DPDK.md I've received following error
> 
> ERROR:/build/buildd/qemu-
> 2.0.0+dfsg/qom/object.c:437:object_new_with_type: assertion failed: (type
> != NULL)

QEMU 2.0 will not work with dpdkvhost ports, you cannot use it.
I get the same error as this when I try to use QEMU 2.0, you need to use QEMU 2.1 or later.

> 
> While using this command
> 
> /usr/bin/qemu-system-x86_64
>  -name qemu_smatov-0 -cpu host -m 2048 -smp 2 -boot once=c -drive
> file=/var/lib/libvirt/images/qemu_smatov-0.qcow2 -enable-kvm -net none -
> object memory-backend-file,id=mem,size=2048M,mem-
> path=/dev/hugepages, share=on -numa node,memdev=mem -mem-
> prealloc -netdev
> type=tap,id=net1,script=no,downscript=no,ifname=dpdkvhost0,vhost=on,v
> hostfd=3 -device virtio-net-
> pci,netdev=net1,mac=52:54:f1:61:4c:84,csum=off,gso=off,guest_tso4=off,gu
> est_tso6=off,guest_ecn=off
> 
> It's blocked me to configure appropriate VM attached to file descriptor.
> 
> Does the configuration above correct to launch VM instance?

Yes it should, but only if you use QEMU v2.1 or later. Use this same command with QEMU v2.1 and your VM should boot.

> 
> 
> 


More information about the discuss mailing list