Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FxCye-0008Tt-Ut for qemu-devel@nongnu.org; Sun, 02 Jul 2006 21:11:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FxCyd-0008RY-Ch for qemu-devel@nongnu.org; Sun, 02 Jul 2006 21:11:52 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxCyd-0008RF-6U for qemu-devel@nongnu.org; Sun, 02 Jul 2006 21:11:51 -0400 Received: from [209.204.185.216] (helo=mail.bitblocks.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FxDBy-0008Cm-Bm for qemu-devel@nongnu.org; Sun, 02 Jul 2006 21:25:38 -0400 Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 48E93294C1 for ; Sun, 2 Jul 2006 18:11:50 -0700 (PDT) Subject: Re: [Qemu-devel] qemu with kqemu freezes when more than one qemu is running In-reply-to: Your message of "Sat, 01 Jul 2006 23:40:34 +0200." <200607012340.35577.frank@barda.agala.net> From: Bakul Shah Date: Sun, 02 Jul 2006 18:11:50 -0700 Sender: bakul@bitblocks.com Message-Id: <20060703011150.48E93294C1@mail.bitblocks.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org "Frank J. Beckmann" wrote: > > qemu-0.8.1_1 with kqemu-kmod-1.3.0.p9 on FreeBSD 6.1-RELEASE i386 freezes > after less than one hour runtime when more than one qemu is running. If only > one qemu is running everything works fine. When more than one qemu runs none > of them can use kqemu without freezing after a short time. The frozen qemu > can get killed only by a kill -9. The same happened with kqemu-kmod-1.3.0.p7. > > > The processor is an AMD Athlon 64, but I use the i386 release of FreeBSD. I ran two plan9 guests for over two hours now on my laptop with no crash. They are both doing a ping every 10 ms and continuous floating pt additions. kqemu is enabled but not kernel-kqemu (as plan9performance under kernel-kqemu is abysmal). This is a Pentium M machine with 1GB of memory, running FreeBSD-current. plan9 is not very resource hungry (RSS is about 70MB) so if this is a resource related problem my test won't catch it. A quick reading of kqemu-freebsd.c does not reveal any problems for a uniprocessor machine (but I am not too sure of SMP). Can people who are seeing crashes or hangs provide some more information? - symptom: (host crashes, guest crashes, guest hangs, guest loses its mind) - freebsd version (also if UP or SMP version) - processor - command line used to invoke each qemu instance - what guest oses are run when this happens - if this is triggered more often by specific guest programs - what happens if you run the same guests with less memory. - output of sysctl kern.smp.cpus - VSZ and RSS of these images (from ps axlw). - whether -kernel-kqemu was used I am hoping a pattern will emerge that will help us debug this.