Bug 2089434 - [RFE] RFE to allow enabling ZEROCOPY live migration
Summary: [RFE] RFE to allow enabling ZEROCOPY live migration
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.5.0.8
Hardware: All
OS: Linux
high
high
Target Milestone: ovirt-4.5.3
: ---
Assignee: Milan Zamazal
QA Contact: Qin Yuan
URL:
Whiteboard:
Depends On: 2117272
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-23 16:29 UTC by Nils Koenig
Modified: 2023-09-18 04:37 UTC (History)
10 users (show)

Fixed In Version: vdsm-4.50.3.1
Clone Of:
Environment:
Last Closed: 2022-12-05 12:46:45 UTC
oVirt Team: Virt
Embargoed:
mperina: ovirt-4.5+
pm-rhel: planning_ack?
mperina: devel_ack+
pm-rhel: testing_ack?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-engine pull 606 0 None Merged core: Add support for zero-copy migrations 2022-09-13 10:36:25 UTC
Github oVirt vdsm pull 298 0 None open Zerocopy# 2022-09-13 10:36:35 UTC
Red Hat Bugzilla 2089433 1 high CLOSED [RFE] RFE backport allow enabling ZEROCOPY live migration to libvirt on RHEL8 2023-09-20 06:32:02 UTC
Red Hat Issue Tracker RHV-46105 0 None None None 2022-05-23 16:57:05 UTC

Comment 1 Milan Zamazal 2022-06-09 12:29:37 UTC
We don't know yet what libvirt will provide, but the following strings from the QEMU source code are important: 

- "Zero copy only available for non-compressed non-TLS multifd migration". 
- "Requires that QEMU be permitted to use locked memory for guest RAM pages."

Translated to oVirt terms it means this feature can be used only with non-encrypted parallel-connections migrations and we may need to set memtune hard limit for all VMs, not just those with q35 and VFIO devices. It would be easiest to use this feature automatically whenever the given constraints are satisfied. The only reason, currently known to me, not to do it is that it is a new feature, which may have unanticipated issues. Alternatively, there could be an Engine config option to enable/disable support for this feature, or a parallel migration connections option.

Comment 8 Qin Yuan 2022-09-22 12:42:45 UTC
Verified with:
ovirt-engine-4.5.3-0.2.el8ev.noarch
vdsm-4.50.3.1-1.el8ev.x86_64
libvirt-8.0.0-5.4.module+el8.6.0+16370+bb85faee.x86_64

Steps:
Run the cases in the attached Polarion test plan.

Results:
All cases passed.

Comment 9 Nils Koenig 2022-11-22 13:29:29 UTC
What's the status this one, do you have an eta when it will end up in ovirt?

Comment 10 Milan Zamazal 2022-11-22 13:55:37 UTC
It's in oVirt 4.5.3 (and the corresponding RHV version).

Comment 11 Red Hat Bugzilla 2023-09-18 04:37:43 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.