From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36066 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PFjcf-00073Q-Us for qemu-devel@nongnu.org; Tue, 09 Nov 2010 03:32:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PFjcU-00059F-5m for qemu-devel@nongnu.org; Tue, 09 Nov 2010 03:32:09 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:35443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PFjcT-00058l-On for qemu-devel@nongnu.org; Tue, 09 Nov 2010 03:31:58 -0500 Message-ID: <4CD905FE.20204@web.de> Date: Tue, 09 Nov 2010 09:27:42 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <20101108133310.NDW2tl7gaq4uLMdHXOT0UP@consulting.lsexperts.de> <4CD88C58.9030501@msgid.tls.msk.ru> In-Reply-To: <4CD88C58.9030501@msgid.tls.msk.ru> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig318175B040CA3FDC041DDEC6" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: KVM: High CPU load with audio enabled List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: qemu-devel , kvm@vger.kernel.org, Stefan Pietsch 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--