From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmmUD-0005oK-7O for qemu-devel@nongnu.org; Mon, 27 Apr 2015 13:06:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmmUA-0002iq-1K for qemu-devel@nongnu.org; Mon, 27 Apr 2015 13:06:25 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmmU9-0002ih-Ti for qemu-devel@nongnu.org; Mon, 27 Apr 2015 13:06:21 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 8CBB220AAD for ; Mon, 27 Apr 2015 13:06:21 -0400 (EDT) Date: Mon, 27 Apr 2015 13:06:55 -0400 From: "Emilio G. Cota" Message-ID: <20150427170655.GA32698@flamenco> References: <1421428797-23697-1-git-send-email-fred.konrad@greensocs.com> <87wq22bvmd.fsf@linaro.org> <551532CF.600@greensocs.com> <0ACA9B57-1DC6-4C75-8FA4-DEAA701B1E94@greensocs.com> <5527F444.7060808@greensocs.com> <55379366.9070304@greensocs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55379366.9070304@greensocs.com> Subject: Re: [Qemu-devel] [RFC 00/10] MultiThread TCG. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Frederic Konrad Cc: mttcg@listserver.greensocs.com, Peter Maydell , Jan Kiszka , Mark Burton , Alexander Graf , QEMU Developers , Paolo Bonzini , Alex =?iso-8859-1?Q?Benn=E9e?= Hi Fred, On Wed, Apr 22, 2015 at 14:26:14 +0200, Frederic Konrad wrote: > git clone git@git.greensocs.com:fkonrad/mttcg.git -b multi_tcg_v4 I've tried to run buildroot's vexpress-a9 with this, but unfortunately it gets stuck before showing much progress towards boot: [ messages in brackets are mine ] $ time arm-softmmu/qemu-system-arm -M vexpress-a9 -kernel img/arm/zImage \ -drive file=img/arm/rootfs.ext2,if=sd \ -append "console=ttyAMA0,115200 root=/dev/mmcblk0" -net nic,model=lan9118 \ -net user -nographic -smp 1 WARNING: Image format was not specified for 'img/arm/rootfs.ext2' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. tlb_flush: CPU 0 [ this 11 times more ] audio: Could not init `oss' audio driver tlb_flush: CPU 0 [ and this 31 times ] [ then here it stops printing, and one thread takes 100% CPU ] Note that I'm running with -smp 1. My guess is that the iothread is starved, since patch 472f4003 "Drop global lock during TCG code execution" removes from the iothread the ability to kick CPU threads. Thanks, Emilio