Received: from eggs.gnu.org ([208.118.235.92]:40803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPb4Z-0005Np-IS for qemu-devel@nongnu.org; Tue, 09 Apr 2013 12:07:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPb4Y-0004Hm-9G for qemu-devel@nongnu.org; Tue, 09 Apr 2013 12:07:03 -0400 Received: from mel.act-europe.fr ([194.98.77.210]:58694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPb4Y-0004H1-1h for qemu-devel@nongnu.org; Tue, 09 Apr 2013 12:07:02 -0400 From: Fabien Chouteau Date: Tue, 9 Apr 2013 18:06:52 +0200 Message-Id: <1365523615-5177-1-git-send-email-chouteau@adacore.com> Subject: [Qemu-devel] [PATCH 0/3] Release SMP restriction on Windows host List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: hainque@adacore.com, peter.maydell@linaro.org, sw@weilnetz.de, blauwirbel@gmail.com, pbonzini@redhat.com, afaerber@suse.de 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