Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IEYmF-0002bz-Qp for qemu-devel@nongnu.org; Fri, 27 Jul 2007 18:59:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IEYmD-0002ac-B0 for qemu-devel@nongnu.org; Fri, 27 Jul 2007 18:59:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IEYmD-0002aZ-6E for qemu-devel@nongnu.org; Fri, 27 Jul 2007 18:59:17 -0400 Received: from web54112.mail.re2.yahoo.com ([206.190.39.50]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IEYmC-000142-Nc for qemu-devel@nongnu.org; Fri, 27 Jul 2007 18:59:16 -0400 Date: Fri, 27 Jul 2007 15:59:15 -0700 (PDT) From: n schembr Subject: Re: QEMU Automated Testing (was [Qemu-devel] qemu Makefile.target vl.h hw/acpi.c hw/adlib.c ...) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: <62024.20753.qm@web54112.mail.re2.yahoo.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 =0A=0A----- Original Message ----=0AFrom: Paul Brook =0ATo: qemu-devel@nongnu.org=0ACc: n schembr =0ASent: = Friday, July 27, 2007 1:38:19 PM=0ASubject: Re: QEMU Automated Testing (was= [Qemu-devel] qemu Makefile.target vl.h hw/acpi.c hw/adlib.c ...)=0A=0A> >A= s Qemu cannot use multicore CPUs (partially due to missing thread=0A> >safe= ty), yet, you won't benefit from this unless you want to run=0A> >multiple = instances of Qemu in parallel.=0A>=0A> how close is thread safey?=0A=0AIn a= useful form: a fair way off.=0A=0AIt's relatively simple to hack something= together than runs. Making it work =0Acorrectly and go fast is much harder= though. My current prototype (running on =0A2 cores) runs about a quarter = the speed of normal qemu, and dies shortly =0Aafter booting because the gue= st atomic synchronisation primitives don't work =0Aright.=0A=0AEither way, = for a tinderbox or automated testing yo *do* have lots of =0Adifferent test= s you can run in parallel, so it doesn't matter that each qemu =0Ainstance = only uses one core. We're only talking about small SMP here - maybe =0A16 c= ores, but not thousands.=0A=0APaul=0A--------------------------------------= -----------------------=0A=0AIs the the issue I had with qemu moving from c= pu to cpu? taskset -c 1 qemu or notsc=0A=0Ahttp://lists.gnu.org/archive/ht= ml/qemu-devel/2007-03/msg00652.html http://qemu-forum.ipi.fi/viewtopic.php= ?t=3D3714&highlight=3Dtaskset=0A=0A=0A=0AWhat about preforking the processe= s one per virtual cpu? =0A=0A=0A=0A=0A