[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: KVM: High CPU load with audio enabled
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] Re: KVM: High CPU load with audio enabled |
Date: |
Tue, 09 Nov 2010 09:27:42 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
Am 09.11.2010 00:48, Michael Tokarev wrote:
> 08.11.2010 15:40, Stefan Pietsch wrote:
>> Hi,
>>
>> I'm running a Windows XP guest in KVM. After enabling the audio support
>> (-soundhw es1370) the CPU load of the KVM process in the host system
>> goes up to 100%.
>>
>> Tested with: qemu-kvm-0.13.0 Debian 0.13.0+dfsg-1
>>
>> KVM start command: kvm -m 512 -hda xp.img -soundhw es1370
>>
>> Did you experience similar problems?
>
> Yes, sound in 0.13 appears to be broken. It is looping in
> select/read loop forever, read returns EAGAIN and select
> says the filedescriptor is ready.
Try to set QEMU_AUDIO_DAC_TRY_POLL=0 for the environment of the qemu
process. That's long required to get sound out of the Musicpal emulation
as well (malc, you may recall this). It even got worse with current
qemu.git: previously, the sounds was just quirky. Now the system is
booting way slower in polling mode and is partially not reactive anymore.
Jan
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] Re: KVM: High CPU load with audio enabled,
Jan Kiszka <=