qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [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

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).