From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNyfj-0002QK-Bh for qemu-devel@nongnu.org; Thu, 22 Jun 2017 05:45:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNyff-00028A-8n for qemu-devel@nongnu.org; Thu, 22 Jun 2017 05:45:07 -0400 Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]:34881) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNyff-00026l-0n for qemu-devel@nongnu.org; Thu, 22 Jun 2017 05:45:03 -0400 Received: by mail-wr0-x22f.google.com with SMTP id k67so15584811wrc.2 for ; Thu, 22 Jun 2017 02:45:02 -0700 (PDT) References: <1498045580087.46004@epfl.ch> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <1498045580087.46004@epfl.ch> Date: Thu, 22 Jun 2017 10:45:45 +0100 Message-ID: <87injotkxi.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] Looking for ideas: Single process vs multi process qemu instances List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ajallooiean Hossein Cc: "qemu-devel@nongnu.org" Ajallooiean Hossein writes: > Hi All, > > > we are trying to do server simulation and for that purpose we need to > have multiple Qemu instances (each can have a different spec) that are > part of a virtual network (ns-3 in our case). So you are talking about using TCG for simulation rather than KVM here? > > > Now for the Qemu implementation part: would it be easier/better to > have all the Qemu instances under a single process or multiple > processes? i am assuming if one single process is used, there will be > a threading conflict that would probably need to be looked at. QEMU isn't really setup for multiple machine instances in the one binary. If you are simulating a complex set of communicating machines then you will need one QEMU instance per machine. TCG can now use multiple threads (one per emulated vCPU) but this has only been enabled for a subset of architectures so far. You don't say what architecture your servers machines are. > > > I am looking at this purely from a management/performance view. > > > Any ideas/suggestions? > > > Thanks > > Hoss -- Alex Bennée