qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] Release SMP restriction on Windows host
@ 2013-04-09 16:06 Fabien Chouteau
  2013-04-09 16:06 ` [Qemu-devel] [PATCH 1/3] Check effective suspension of TCG thread Fabien Chouteau
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Fabien Chouteau @ 2013-04-09 16:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: hainque, peter.maydell, sw, blauwirbel, pbonzini, afaerber

As I already explained to this mailling list, we (AdaCore) use QEMU to run a
lot of short executable (~2 secs) on many different targets. In that
configuration the SMP restriction on Windows (QEMU runs only on 1 core) was not
efficient on our 16 cores servers.

Few months ago I asked on this mailing list if the restriction could be
removed. There was no clear answer because nobody was able to tell if it would
work. We decided to give it a try.

During the last months we only found one problem, it was a dead lock between
the TCG and IO thread, this is fixed by the second patch.

We also found that suspendThread() and resumeThread() were not synchronous on
SMP systems, so we added a busy loop to wait for effective suspension.

Since then, we run thousands of QEMU on our SMP Windows servers each day
without any problem. And of course we greatly improve the execution time of our
test-suites.

Fabien Chouteau (1):
  Release SMP restriction on Windows

Olivier Hainque (2):
  Check effective suspension of TCG thread
  Ensure good ordering of memory instruction in cpu_exec

 cpu-exec.c |    8 ++++++++
 cpus.c     |   24 ++++++++++++++++++++++--
 os-win32.c |   18 ------------------
 3 files changed, 30 insertions(+), 20 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-04-12  8:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-09 16:06 [Qemu-devel] [PATCH 0/3] Release SMP restriction on Windows host Fabien Chouteau
2013-04-09 16:06 ` [Qemu-devel] [PATCH 1/3] Check effective suspension of TCG thread Fabien Chouteau
2013-04-09 16:06 ` [Qemu-devel] [PATCH 2/3] Ensure good ordering of memory instruction in cpu_exec Fabien Chouteau
2013-04-09 16:06 ` [Qemu-devel] [PATCH 3/3] Release SMP restriction on Windows Fabien Chouteau
2013-04-09 16:16 ` [Qemu-devel] [PATCH 0/3] Release SMP restriction on Windows host Paolo Bonzini
2013-04-11 18:57   ` Stefan Weil
2013-04-12  6:40     ` Paolo Bonzini
2013-04-12  8:20       ` Olivier Hainque

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