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.
Bug 609261 - Exec outgoing migration is too slow
Summary: Exec outgoing migration is too slow
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.0
Hardware: All
OS: Linux
medium
high
Target Milestone: rc
: ---
Assignee: Karen Noel
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 591366 (view as bug list)
Depends On:
Blocks: 580953
TreeView+ depends on / blocked
 
Reported: 2010-06-29 19:18 UTC by Juan Quintela
Modified: 2013-01-09 22:47 UTC (History)
6 users (show)

Fixed In Version: qemu-kvm-0.12.1.2-2.95.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-20 10:31:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Juan Quintela 2010-06-29 19:18:26 UTC
Description of problem:

Exec migration is very slow (writes at the speed of 1.5MB/s on my hardware).

Version-Release number of selected component (if applicable):

All.

How reproducible:
Allways.

Steps to Reproduce:
1. start qemu
2. migrate in command line with something like:
   migrate -d "exec: dd of=/tmp/kkk"
3.
  
Actual results:

very low write speed (~1MB/s)

Expected results:

fastest write (~30MB/s at least)

Additional info:

Comment 1 Juan Quintela 2010-06-29 19:20:50 UTC
Problem is that code is using double buffering (using FILE on top of QEMUFile abstraction).  With a hack to change fwrite() to write() speeds got back to normal.  Will fix things properly.

Comment 3 Avi Kivity 2010-07-07 17:08:45 UTC
Real problem is that the small pipe buffers fill up easily, and QEMUFileBuffered clams up until 100 ms pass.

Fix is to let migration know we're ready when the pipes come back.

Comment 8 Mike Cao 2010-07-20 10:29:29 UTC
Verified in qemu-kvm-0.12.1.2-2.96.el6 ,Reproduced in Reproduce in qemu-kvm-0.12.1.2-2.94.el6

Steps:
1. start qemu-kvm
2. {"execute":"migrate","arguments":{"uri":"dd of=/home/tt"}}

Actual Results:
the write speed is 18MB/s ,the read speed is 91Mb/s

The bug has already been fixed.

Comment 9 Mike Cao 2010-07-20 10:30:50 UTC
According to comment #8 ,close this issue.

Comment 10 Avi Kivity 2010-11-18 10:25:21 UTC
*** Bug 591366 has been marked as a duplicate of this bug. ***


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