Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Hit same issue on RHEL 6.1 host with .
When setting migration downtime to 0.0000001, migration works fine for me, but setting to 0.0000000001, migration speeds slow down to less than 100Kb/s
Version-Release number of selected component (if applicable):
kernel 2.6.32-132.el6.x86_64, qemu-kvm qemu-kvm-0.12.1.2-2.158.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1. start a guest by following cli:
/usr/libexec/qemu-kvm -M rhel6.1.0 -enable-kvm -m 4096 -smp 4 -name rhel6.1 -uuid `uuidgen` -rtc base=utc,clock=host,driftfix=slew -no-kvm-pit-reinjection -boot c -drive file=/root/RHEL-Server-6.1-64-virtio.raw,if=none,id=drive-virtio0-0-0,media=disk,format=raw,cache=none -device virtio-blk-pci,drive=drive-virtio0-0-0,id=virt0-0-0 -netdev tap,id=hostnet1 -device virtio-net-pci,netdev=hostnet1,id=net1,mac=52:54:40:13:15:53 -usb -device usb-tablet,id=input1 -vnc :6 -monitor stdio -balloon none
2. start another guest in listening mode
-incoming tcp:0:5880
3. (qemu)migrate_set_downtime 0.0000000001
4. check migration speed
Actual results:
migrate speed is less than 100Kb/s
Expected results:
Should affect migration speed.
Additional info:
Migration downtime affects migration speed because qemu has more work to do between iterations (checking the dirty bitmap, etc.). Besides, a downtime of 10^-10 seconds makes little sense when a clock cycle is three times that.
Relation here is that we we are never getting few enough pages to migrate in 0.0000001 secondos (that should be one page or something ridiculous like that). So we try to get to that single one page and stay forever trying (making final speed really small).