qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Looking for ideas: Single process vs multi process qemu


From: Ajallooiean Hossein
Subject: Re: [Qemu-devel] Looking for ideas: Single process vs multi process qemu instances
Date: Sat, 24 Jun 2017 09:57:03 +0000

Hi Alex,

Thanks for you email.

I'm on x86-64 and am emulating ARM64 using TCG - QEMU 2.9.

Well I was hoping to see if I can use a single process to have all the machines 
within it to do a simple lockstep execution among the emulating machines. 

Im assuming the biggest issue is the thread conflicts the machines would have? 
other than that do you see any other obstacles?

Thanks
Hoss

________________________________________
From: Alex Bennée <address@hidden>
Sent: Thursday, June 22, 2017 11:45 AM
To: Ajallooiean Hossein
Cc: address@hidden
Subject: Re: [Qemu-devel] Looking for ideas: Single process vs multi process 
qemu instances

Ajallooiean Hossein <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]