Bug 1026136
Summary: | Volume download speed is slow | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Luwen Su <lsu> | |
Component: | libvirt | Assignee: | Martin Kletzander <mkletzan> | |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 7.0 | CC: | acathrow, berrange, chhu, cross, cwei, dallan, david.pravec, dyuan, gsun, jyang, mjenner, mzhan, vbudikov, xuzhang, yanyang, ydu, yisun | |
Target Milestone: | rc | Keywords: | Reopened, Upstream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | libvirt-1.3.1-1.el7 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 950416 | |||
: | 1026137 (view as bug list) | Environment: | ||
Last Closed: | 2016-11-03 18:06:59 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1026137 |
Description
Luwen Su
2013-11-04 02:39:42 UTC
Needinfo per osier's comment "I think it's not related with libvirt, but I also have no idea why it becomes slow in the end of the transfering (when we talked f2f, time said that for a 1G volume, it becomes slow about at the point of 800M, before that it just looks fine), Dan, I think you are the more appropriate person for this question?" (In reply to time.su from comment #0) > And in the second time , the speed can be accepted if the target is same . > > # time virsh vol-download --vol test.img --pool default --file /home/a > real 3m38.059s > user 3m32.044s > sys 0m2.489s > > # time virsh vol-download --vol test.img --pool default --file /home/a > real 0m10.085s > user 0m1.719s > sys 0m2.323s > > # time virsh vol-download --vol test.img --pool default --file /home/b > ;;cancel > ^C > real 1m49.476s > user 1m45.474s > sys 0m1.921s If the cache effects make the problem go away, this is not a libvirt bug. Re-opening based on info added to https://bugzilla.redhat.com/show_bug.cgi?id=1026137#c5 Fixed upstream with v1.2.18-5-gd9c9e138f22c: commit d9c9e138f22c48626f719f880920e04c639e0177 Author: Ossi Herrala <oherrala> Date: Mon Jul 20 12:44:32 2015 +0000 rpc: Fix slow volume download (virsh vol-download) Verified with libvirt libvirt-1.3.2-1.el7.x86_64 compared with libvirt libvirt-1.2.17-13.el7.x86_64 Result is obviously improved, so mark as PASSED. =============== raw ================== # rpm -qa | grep libvirt-1 libvirt-1.2.17-13.el7.x86_64 # virsh vol-list --details default Name Path Type Capacity Allocation ------------------------------------------------------------------------------------------------------------------ ... vol-download-test.img /var/lib/libvirt/images/vol-download-test.img file 1.46 GiB 1.46 GiB ... # time virsh vol-download --vol vol-download-test.img --pool default --file /tmp/img real 6m2.767s user 5m57.464s sys 0m3.326s #yum update libvirt -y # service libvirtd restart # rpm -qa | grep libvirt-1 libvirt-1.3.2-1.el7.x86_64 # time virsh vol-download --vol vol-download-test.img --pool default --file /tmp/img_fixed real 0m7.229s user 0m0.777s sys 0m3.172s # diff /tmp/img /tmp/img_fixed # echo $? 0 =============== qcow2 =============== # rpm -qa | grep libvirt-1 libvirt-1.2.17-13.el7.x86_64 # virsh vol-list --details default Name Path Type Capacity Allocation --------------------------------------------------------------------------------------------------- ... rhel7.qcow2 /var/lib/libvirt/images/rhel7.qcow2 file 10.00 GiB 10.00 GiB ... # time virsh vol-download --vol rhel7.qcow2 --pool default --file /tmp/qcow2 ^C <==== too long, just terminate it... real 10m29.729s user 10m21.927s sys 0m3.562s #yum update libvirt -y # service libvirtd restart # rpm -qa | grep libvirt-1 libvirt-1.3.2-1.el7.x86_64 # time virsh vol-download --vol rhel7.qcow2 --pool default --file /tmp/qcow2_fixed real 3m1.307s user 0m6.381s sys 0m21.614s =============== iscsi =============== # rpm -qa | grep libvirt-1 libvirt-1.2.17-13.el7.x86_64 # virsh vol-list --details iscsi Name Path Type Capacity Allocation --------------------------------------------------------------------------------------------------------------------------------- ... unit:0:0:3 /dev/disk/by-path/ip-10.66.5.88:3260-iscsi-iqn.2014-12.com.redhat:libvirt-manual-lun-3 block 1.00 GiB 1.00 GiB # time virsh vol-download --vol unit:0:0:3 --pool iscsi --file /tmp/iscsi real 2m11.461s user 2m1.718s sys 0m2.731s #yum update libvirt -y # service libvirtd restart # rpm -qa | grep libvirt-1 libvirt-1.3.2-1.el7.x86_64 # time virsh vol-download --vol unit:0:0:3 --pool iscsi --file /tmp/iscsi_fixed real 0m14.522s user 0m0.653s sys 0m2.350s # diff /tmp/iscsi /tmp/iscsi_fixed # echo $? 0 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-2577.html |