All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Fabien Chouteau <chouteau@adacore.com>
Cc: hainque@adacore.com, peter.maydell@linaro.org, sw@weilnetz.de,
	qemu-devel@nongnu.org, blauwirbel@gmail.com, afaerber@suse.de
Subject: Re: [Qemu-devel] [PATCH 0/3] Release SMP restriction on Windows host
Date: Tue, 09 Apr 2013 18:16:41 +0200	[thread overview]
Message-ID: <51643EE9.5010300@redhat.com> (raw)
In-Reply-To: <1365523615-5177-1-git-send-email-chouteau@adacore.com>

Il 09/04/2013 18:06, Fabien Chouteau ha scritto:
> 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.

Awesome!  Thanks guys.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>

Paolo

  parent reply	other threads:[~2013-04-09 16:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Paolo Bonzini [this message]
2013-04-11 18:57   ` [Qemu-devel] [PATCH 0/3] Release SMP restriction on Windows host Stefan Weil
2013-04-12  6:40     ` Paolo Bonzini
2013-04-12  8:20       ` Olivier Hainque

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51643EE9.5010300@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=afaerber@suse.de \
    --cc=blauwirbel@gmail.com \
    --cc=chouteau@adacore.com \
    --cc=hainque@adacore.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=sw@weilnetz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.