Bug 1017636
Summary: | PATCH: fix qemu using 50% host cpu when audio is playing | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Hans de Goede <hdegoede> |
Component: | qemu-kvm | Assignee: | Miroslav Rezanina <mrezanin> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | acathrow, hhuang, juzhang, knoel, mazhang, mrezanin, qiguo, virt-maint, wquan, xigao |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-1.5.3-38.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 11:31:41 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: |
Description
Hans de Goede
2013-10-10 09:27:59 UTC
(In reply to Miroslav Rezanina from comment #1) > Using patches lower cpu consumption to less then half of the consumption > without them. However, only one of patches applied upstream, waiting for > second to be applied. The second one may cause issues with Windows guests (this needs more testing), which is why it was not applied. Most of the benefits come from the first patch, so I suggest just moving forward with only the 1st patch, the 2nd patches may very well never get applied upstream. Quick update on this, the second patch has been accepted upstream now: http://git.qemu.org/?p=qemu.git;a=commitdiff;h=40a814b0b1789b94c483190b3208729b5182e5bd There also is a related patch which we should probably also pick up (although it is unlikely to impact typical RHEL qemu use): http://git.qemu.org/?p=qemu.git;a=commitdiff;h=0e8ae611bda0dfb038da2d865801d8adbd692bad Fix included in qemu-kvm-1.5.3-38.el7 Hi, Miroslav Does this bug related with virtual sound deivces, do we qe need test this bug with which sound deivce (AC97/intel-hda)? And should we test both windows/linux guests? Thanks, Hi Qian, this should be applicable to both sound device on both windows/linux guests to see full impact of patches (I was able to test only with linux). Test this bug with qemu-kvm-1.5.3-30.el7.x86_64 and qemu-kvm-1.5.3-48.el7.x86_64, and guests I used rhel7 and win7, the following matrix is the result that I got: 1.Reproduce this bug with qemu-kvm-1.5.3-30.el7.x86_64, the value is the cpu usage: | RHEl7 | Win7 ------------|-------------|------------------------------------------- intel-hda | 42%~55% | 25%~34% ------------|-------------|------------------------------------------- AC97 | 40%~55% | Windows not support AC97 by default 2.Verify this bug with qemu-kvm-1.5.3-48.el7.x86_64: | RHEl7 | Win7 ------------|-------------|------------------------------------------- intel-hda | 17%~25% | 11%~15% ------------|-------------|------------------------------------------- AC97 | 15%~25% | Windows not support AC97 by default Hi, Miroslav windows can not use AC97 sound device, and accoridng to above, can it verify this bug? thanks Hi Qian, yes, these numbers verify the fix is working. Mirek Thank Mirek for the quick response. So according to comment #9 and comment #10, this bug is fixed by qemu-kvm-1.5.3-48.el7.x86_64 This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |