* [Qemu-devel] multi-threaded smp support
@ 2010-10-21 4:09 Wenhao Xu
2010-10-21 5:47 ` Mulyadi Santosa
0 siblings, 1 reply; 2+ messages in thread
From: Wenhao Xu @ 2010-10-21 4:09 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 700 bytes --]
Hi, Folks,
AFAIK, QEMU supports SMP, but by using one thread to execute the
translated blocks of different CPU in an interleaving way. This makes the
SMP emulation very slow. I am wondering what are difficulties to use
multit-thread to emulate the SMP, e.g. using one thread to execute the
translated block of one CPU (core).
As as I can see, there are several difficulties (from a high level):
1. Dealing with global variables used by QEMU
2. Dealing with LOCK instructions
3. Dealing with other automatic memory update (setting page dirty bits)
I am interested in building this, but not sure about the potential
difficulties. Could anybody explain more on this? Thanks!
Wenhao
--
~_~
[-- Attachment #2: Type: text/html, Size: 766 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] multi-threaded smp support
2010-10-21 4:09 [Qemu-devel] multi-threaded smp support Wenhao Xu
@ 2010-10-21 5:47 ` Mulyadi Santosa
0 siblings, 0 replies; 2+ messages in thread
From: Mulyadi Santosa @ 2010-10-21 5:47 UTC (permalink / raw)
To: Wenhao Xu; +Cc: qemu-devel
On Thu, Oct 21, 2010 at 11:09, Wenhao Xu <xuwenhao2008@gmail.com> wrote:
> Hi, Folks,
> AFAIK, QEMU supports SMP, but by using one thread to execute the
> translated blocks of different CPU in an interleaving way. This makes the
> SMP emulation very slow. I am wondering what are difficulties to use
> multit-thread to emulate the SMP, e.g. using one thread to execute the
> translated block of one CPU (core).
A research group from China posted this exactly kind of work weeks
ago..COREMU or something like that...they modify Qemu quite a lot..and
from what I read (in this list..) they are in middle of process to
gradually submit patches to be considered as part of mainline Qemu.
Sorry couldn't recall the exact name, so I'll leave you with the
search engine to search it.
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-21 5:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-21 4:09 [Qemu-devel] multi-threaded smp support Wenhao Xu
2010-10-21 5:47 ` Mulyadi Santosa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).