Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 653972 - qcow2: Backport performance related patches
qcow2: Backport performance related patches
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm (Show other bugs)
6.1
Unspecified Unspecified
low Severity high
: rc
: ---
Assigned To: Kevin Wolf
Virtualization Bugs
:
Depends On:
Blocks: Rhel6KvmTier1
  Show dependency treegraph
 
Reported: 2010-11-16 09:55 EST by Kevin Wolf
Modified: 2013-01-09 18:20 EST (History)
5 users (show)

See Also:
Fixed In Version: qemu-kvm-0.12.1.2-2.122.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-05-19 07:34:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0534 normal SHIPPED_LIVE Important: qemu-kvm security, bug fix, and enhancement update 2011-05-19 07:20:36 EDT

  None (edit)
Description Kevin Wolf 2010-11-16 09:55:16 EST
RHEL 6.0 suffers from qcow2 being slow, especially during cluster allocations. Upstream has got a number of improvements since then, which need to be backported. They include patches to reduce the number of cache flushes (for cluster allocation) as well as avoiding bounce buffers in the usual read/write paths (should help with already allocated clusters, too).
Comment 7 Quan Wenli 2011-04-06 22:52:39 EDT
Benchmark iozone test with qemu-kvm-0.12.1.2-2.113.el6.x86_64(rhel6.0)and qemu-kvm-0.12.1.2-2.152.el6.x86_64 (rhel6.1)and the results was the average of 3
iterations. 
iozone ci:
incache:iozone -a -i 0 -i 1 -s ${incache}k -r 64k -w -+u -R ./test -f /mnt/t1
dio:iozone -a -i 0 -i 1 -s ${incache}k -r 64k -I -w -+u  -R ./test -f /mnt/t2
outcache:iozone -a -i 0 -i 1 -s ${outcache}k -r 64k -w -+u  -R ./test -f /mnt/t3


Qcow2-local qcow2 cache=none elevator=deadline 		
Type                    Rhel6.0-virtio  Rhel6.1-virtio	Improvement%
Dio-Write               2982.33         111403.67       3635.46%
Dio-Rewrite             126111.67       127007.33       0.71%
Dio-Read                152177.33       148669.67       -2.30%
Dio-Reread              153957          151804          -1.40%
Incache-Write           33806.33        176658.67       422.56%
Incache-ReWrite         153125          179184.67       17.02%
Incache-Read            224914.67       995947          342.81%
Incache-Reread          608146.67       980144.67       61.17%
Out-of-Cache-Write      28324.67        156221          451.54%
Out-of-Cache-ReWrite    131248.67       156416          19.18%
Out-of-Cache-Read       122599          149164          21.67%
Out-of-Cache-Reread     121197         148777.33        22.76%
			
Qcow2-nfs qcow2 cache=none elevator=dealine		
Type                    Rhel6.0-virtio  Rhel6.1-virtio	Improvement%	
Dio-Write               43287           55643.33        28.55%
Dio-Rewrite             62998.67        60435           -4.07%
Dio-Read                58227.67        57521.67        -1.21%
Dio-Reread              58375           57936.33        -0.75%
Incache-Write           105898          133944.67       26.48%
Incache-ReWrite         131408          93042           -29.20%
Incache-Read            194638.33       956375.67	391.36%
Incache-Reread          577811.67       810256.33       40.23%
Out-of-Cache-Write      90921.67        100638          10.69%
Out-of-Cache-ReWrite    93297.33        76711.67        -17.78%
Out-of-Cache-Read       53543           58324.33        8.93%
Out-of-Cache-Reread     64981.33        83918           29.14%

From results,we could see qcow2 has been gotten highly improvements from dio-wirte,incache-write ,incache-Read,Out-of-Cache-Write Out-of-Cache-Reread secnarios.
So it's pass.~~
Comment 8 Quan Wenli 2011-04-08 02:06:33 EDT
According comment #7 ,change the bus status to verified.thanks~~
Comment 10 errata-xmlrpc 2011-05-19 07:34:09 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html
Comment 11 errata-xmlrpc 2011-05-19 09:00:13 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html

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