<div dir="ltr">Guys,<div><br></div><div> I'm facing an issue here with ethtool, while trying to enable multi-queue from inside a VM.</div><div><br></div><div>---</div><div> *** How it works?</div><div><br></div><div> 1- Boot your Xenial guest, and run:</div><div><br></div><div> ethtool -L ens6 combined 4</div><div> ethtool -L ens8 combined 4</div><div><br></div><div> 2- Install openvswitch-switch-dpdk configure DPDK and OVS and fire it up.</div><div><br></div><div> service openvswitch-switch stop</div><div> service dpdk stop</div><div><br></div><div> service dpdk start</div><div> service openvswitch-switch start<br></div><div><br></div><div> - Enable multi-queue on OVS+DPDK inside of the VM:</div><div><br></div><div> ovs-vsctl set Open_vSwitch . other_config:n-dpdk-rxqs=4</div><div> ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0xff00</div><div><br></div><div> * Multi-queue apparently works! ovs-vswitchd consumes more that 100% of CPU, meaning that it multi-queue is there...</div><div><br></div><div> *** Where it fails?</div><div><br></div><div> 1- Reboot the VM and try to run ethtool again:</div><div><br></div><div> ethtool -L ens6 combined 4</div><div><br></div><div> # FAIL! It hangs, consuming 100% of guest's CPU...</div><div>---</div><div><br></div><div> So, is this the right procedure? I mean, I believe that ethtool settings doesn't survive across reboots, but, OVS settings are on its DB... Question is, do we need to run ethtool on each reboot before starting OVS+DPDK with VirtIO again?</div><div><br></div><div>Cheers!</div><div>Thiago</div></div>