Comment 16 for bug 1577088

Revision history for this message
Thiago Martins (martinx) wrote : Re: OVS+DPDK segfault at the host, after running "ovs-vsctl set Open_vSwitch . other_config:n-dpdk-rxqs=4" within a KVM Guest

This is still a bug on Xenial with OpenvSwitch-2.6 and DPDK-16.07, from Ubuntu Cloud Archive.

I just crashed the OVS+DPDK running at the host, right after trying to enable multiqueue inside of a KVM Guest, also running OVS+DPDK.

NOTE: Multiqueue was enabled at the host in advance, on both OVS and Libvirt VM XML.

I also noted that right after enabling 2 queues at the host, the speed improved inside of the running guest! Without doing anything with it. But, then, after trying to enable multiqueue at the KVM guest, on its OVS+DPDK on top of VirtIO, host crashed.

After running on the KVM Guest:

---
root@ubuntu-ovs-dpdk-vm-1:~# ovs-vsctl set interface dpdk0 options:n_rxq=2 ; ovs-vsctl set interface dpdk1 options:n_rxq=2
---

At the host, ovs-vswitchd crashed:

---
root@ubuntu-ovs-dpdk-kvm-1:~# tail -F /var/log/openvswitch/ovs-vswitchd.log
......
2016-12-02T04:11:28.578Z|00127|dpdk(vhost_thread2)|INFO|State of queue 0 ( tx_qid 0 ) of vhost device '/var/run/openvswitch/vhost-user1'changed to 'enabled'
2016-12-02T04:11:28.578Z|00128|dpdk(vhost_thread2)|INFO|State of queue 2 ( tx_qid 1 ) of vhost device '/var/run/openvswitch/vhost-user1'changed to 'enabled'
2016-12-02T04:11:28.956Z|00002|daemon_unix(monitor)|ERR|1 crashes: pid 3841 died, killed (Segmentation fault), core dumped, restarting
---

I REALLY want to be able to use DPDK Apps, on top of OVS+DPDK at the host but, it still looks unstable to me.

:-(