On 9/14/20 1:20 PM, Wittling, Mark (CCI-Atlanta) wrote:
I did some more testing today on this issue. I will include some more
information lest anyone be able to provide me a suggestion on how to fix
this.
Next, we will add our dpdkvhost1 vhostuser port.
Let’s dump the log of ovs-vswitchd.log – which shows everything to be in
order.
2020-09-14T20:04:28.237Z|00217|bridge|INFO|bridge br-tun: deleted
interface dpdkvhost1 on port 2
2020-09-14T20:04:28.237Z|00218|dpif_netdev|INFO|Core 2 on numa node 0
assigned port 'dpdk0' rx queue 0 (measured processing cycles 0).
2020-09-14T20:05:19.296Z|00219|dpdk|INFO|VHOST_CONFIG: vhost-user
server: socket created, fd: 49
2020-09-14T20:05:19.296Z|00220|netdev_dpdk|INFO|Socket
/var/run/openvswitch/dpdkvhost1 created for vhost-user port dpdkvhost1
2020-09-14T20:05:19.296Z|00221|dpdk|INFO|VHOST_CONFIG: bind to
/var/run/openvswitch/dpdkvhost1
2020-09-14T20:05:19.296Z|00222|dpif_netdev|INFO|Core 2 on numa node 0
assigned port 'dpdkvhost1' rx queue 0 (measured processing cycles 0).
2020-09-14T20:05:19.296Z|00223|dpif_netdev|INFO|Core 3 on numa node 0
assigned port 'dpdk0' rx queue 0 (measured processing cycles 0).
2020-09-14T20:05:19.296Z|00224|bridge|INFO|bridge br-tun: added
interface dpdkvhost1 on port 2
Next, we will launch our virtual machine with virt-manager GUI. Here is
our xml:
Here is my xml file snippet:
<interface type=’vhostuser’>
<mac address=’52:54:00:d1:ba:7a’/>
<source type=’unix’ path=’/var/run/openvswitch/dpdkvhost1’
mode=’client’/>
<model type=’virtio’/>
<address type=’pci’ domain=’0x0000’ bus=’0x00’ slot=’0x0b’ function=’0x0’/>
</interface>
Have you enabled memAccess in your VM's configuration? Something like:
<cpu mode='host-model' check='partial'>
<model fallback='allow'/>
<numa>
<cell id='0' cpus='0-7' memory='8388608' unit='KiB'
memAccess='shared'/>
</numa>
</cpu>
And what about hugepage setup?
<memoryBacking>
<hugepages>
<page size='1048576' unit='KiB' nodeset='0'/>
</hugepages>
</memoryBacking>
I recall having a non-obvious issue without the "memAccess" setting in
place.
Dave
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss