From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: KVM: High CPU load with audio enabled Date: Tue, 09 Nov 2010 09:27:42 +0100 Message-ID: <4CD905FE.20204@web.de> References: <20101108133310.NDW2tl7gaq4uLMdHXOT0UP@consulting.lsexperts.de> <4CD88C58.9030501@msgid.tls.msk.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig318175B040CA3FDC041DDEC6" Cc: Stefan Pietsch , kvm@vger.kernel.org, qemu-devel , malc To: Michael Tokarev Return-path: Received: from fmmailgate01.web.de ([217.72.192.221]:35446 "EHLO fmmailgate01.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753654Ab0KIIb5 (ORCPT ); Tue, 9 Nov 2010 03:31:57 -0500 In-Reply-To: <4CD88C58.9030501@msgid.tls.msk.ru> Sender: kvm-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig318175B040CA3FDC041DDEC6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 suppor= t >> (-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? >=20 > 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=3D0 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 --------------enig318175B040CA3FDC041DDEC6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkzZBf4ACgkQitSsb3rl5xTRKgCZAaudf5eWs7jXuv6al/K20MLc gm0AoJdwLcbyqzolNinKTySvOwsEkiww =q4AD -----END PGP SIGNATURE----- --------------enig318175B040CA3FDC041DDEC6--