Bug 601775
Summary: | libvirt: qemu: increase dd block size to speed up domain save | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Laine Stump <laine> |
Component: | libvirt | Assignee: | Laine Stump <laine> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | berrange, crobinso, dallan, eblake, hbrock, jyang, laine, mjenner, tscofield, yimwang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0_8_1-10_el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 599091 | Environment: | |
Last Closed: | 2010-11-11 14:50:32 UTC | Type: | --- |
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: | 599091 | ||
Bug Blocks: |
Description
Laine Stump
2010-06-08 15:20:45 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. libvirt-0_8_1-10_el6 has been built in RHEL-6-candidate with the fix. Dave libvirt-0.8.1-increase-dd-block-size.patch libvirt-0.8.1-reduce-wasted-padding.patch These two patches fix the problem. [root@dhcp-66-65-* SOURCES]# rpm -q libvirt libvirt-0.8.1-13.el6.x86_64 FYI: for people reading this ticket, there was actually an even more serious bug in QEMU itself. It would frequently sleep doing nothing due to small pipe buffer size, destroying performance. So for really fast domain save the QEMU fix is critical commit 5e77aaa0d7d2f4ceaa4fcaf50f3a26d5150f34a6 Author: Avi Kivity <avi> Date: Wed Jul 7 19:44:22 2010 +0300 QEMUFileBuffered: indicate that we're ready when the underlying file is ready QEMUFileBuffered stops writing when the underlying QEMUFile is not ready, and tells its producer so. However, when the underlying QEMUFile becomes ready, it neglects to pass that information along, resulting in stoppage of all data until the next tick (a tenths of a second). Usually this doesn't matter, because most QEMUFiles used with QEMUFileBuffered are almost always ready, but in the case of exec: migration this is not true, due to the small pipe buffers used to connect to the target process. The result is very slow migration. Verified this bug with RHEL6 RC build and it passed: libvirt-0.8.1-27.el6.x86_64 qemu-img-0.12.1.2-2.113.el6.x86_64 qemu-kvm-0.12.1.2-2.113.el6.x86_64 kernel-2.6.32-71.el6.x86_64 Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |