libvirt: tx/rx queue length and max queues are not updated on live migration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Triaged
|
Medium
|
sean mooney |
Bug Description
While addressing https:/
i noticed that we currently have no way of reporting per host networking config options such
as rx_queue_size(https:/
this means that on live migration the source node values are used on the destination which may be invalid. https:/
could change per host. at this time it is not clear if libvirt would allow the number of queues or queue length to be change as part of a live migration, as such it is not clear it the existing behaviour is correct and nova should select a host with a matching value or if the value can
be updated.
cold migration can be used as a workaround today as can shelved.
where live migration is used today and it is successfully a hard reboot will result in the
correct values for rx/tx_queue_size and max_queues being used. as such i am triaging this as low
given this is a latent issue that has not been reported for several release since the introduction
of rx/tx queue size in rocky https:/
description: | updated |
summary: |
- libvirt: tx/rx queue lenght and max queues are not updtated on live + libvirt: tx/rx queue lenght and max queues are not updated on live migration |
summary: |
- libvirt: tx/rx queue lenght and max queues are not updated on live + libvirt: tx/rx queue length and max queues are not updated on live migration |
following downstream bug report https:/ /bugzilla. redhat. com/show_ bug.cgi? id=2135392
i can confirm that qemu does not allow the queue count to change during live migration.
the path forward for the queue count is to record the current queue count in use and restore that when we generate the updated XML.
the tx/rx queue size should be maintained the same way as should the mtu however long term it would be better to either schedule on these parmater or validate compatibility in pre live migration.