qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: peter.maydell@linaro.org
Cc: "Alex Bennée" <alex.bennee@linaro.org>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	qemu-devel@nongnu.org, "Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Aleksandar Markovic" <aleksandar.qemu.devel@gmail.com>,
	"Aleksandar Rikalo" <aleksandar.rikalo@rt-rk.com>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>,
	"Aurelien Jarno" <aurelien@aurel32.net>
Subject: [PULL v2 07/12] configure: disable MTTCG for MIPS guests
Date: Fri, 27 Mar 2020 18:13:15 +0000	[thread overview]
Message-ID: <20200327181320.23329-8-alex.bennee@linaro.org> (raw)
In-Reply-To: <20200327181320.23329-1-alex.bennee@linaro.org>

While debugging check-acceptance failures I found an instability in
the mips64el test case. Briefly the test case:

  retry.py -n 100 -c -- ./mips64el-softmmu/qemu-system-mips64el \
    -display none -vga none -serial mon:stdio \
    -machine malta -kernel ./vmlinux-4.7.0-rc1.I6400 \
    -cpu I6400 -smp 8 -vga std \
    -append "printk.time=0 clocksource=GIC console=tty0 console=ttyS0 panic=-1" \
    --no-reboot

Reports about a 9% failure rate:

  Results summary:
  0: 91 times (91.00%), avg time 5.547 (0.45 varience/0.67 deviation)
  -6: 9 times (9.00%), avg time 3.394 (0.02 varience/0.13 deviation)
  Ran command 100 times, 91 passes

When re-run with "--accel tcg,thread=single" the instability goes
away.

  Results summary:
  0: 100 times (100.00%), avg time 17.318 (249.76 varience/15.80 deviation)
  Ran command 100 times, 100 passes

Which seems to indicate there is some aspect of the MIPS MTTCG fixes
that has been missed. Ideally we would fix that but I'm afraid I don't
have time to investigate and am not super familiar with the
architecture anyway. In lieu of someone tracking down the failure lets
disable it for now.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Aleksandar Rikalo <aleksandar.rikalo@rt-rk.com>
Message-Id: <20200323161514.23952-7-alex.bennee@linaro.org>

diff --git a/configure b/configure
index 89fe881dd46..e225a1e3ffe 100755
--- a/configure
+++ b/configure
@@ -7887,7 +7887,7 @@ case "$target_name" in
     TARGET_SYSTBL_ABI=n32
   ;;
   mips64|mips64el)
-    mttcg="yes"
+    mttcg="no"
     TARGET_ARCH=mips64
     TARGET_BASE_ARCH=mips
     echo "TARGET_ABI_MIPSN64=y" >> $config_target_mak
-- 
2.20.1



  parent reply	other threads:[~2020-03-27 18:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-27 18:13 [PULL v2 for 5.0 00/12] testing updates (+ one mttcg change) Alex Bennée
2020-03-27 18:13 ` [PULL v2 01/12] qemu/atomic.h: add #ifdef guards for stdatomic.h Alex Bennée
2020-03-27 18:13 ` [PULL v2 02/12] tests/vm: write raw console log Alex Bennée
2020-03-27 18:13 ` [PULL v2 03/12] tests/vm: move vga setup Alex Bennée
2020-03-27 18:13 ` [PULL v2 04/12] tests/vm: update FreeBSD to 12.1 Alex Bennée
2020-03-27 18:13 ` [PULL v2 05/12] tests/vm: update NetBSD to 9.0 Alex Bennée
2020-03-27 18:13 ` [PULL v2 06/12] tests/vm: fix basevm config Alex Bennée
2020-03-27 18:13 ` Alex Bennée [this message]
2020-03-27 18:13 ` [PULL v2 08/12] tests/docker: Keep package list sorted Alex Bennée
2020-03-27 18:13 ` [PULL v2 09/12] tests/docker: Install gcrypt devel package in Debian image Alex Bennée
2020-03-27 18:13 ` [PULL v2 10/12] tests/docker: Use Python3 PyYAML in the Fedora image Alex Bennée
2020-03-27 18:13 ` [PULL v2 11/12] tests/docker: Add libepoxy and libudev packages to " Alex Bennée
2020-03-27 18:13 ` [PULL v2 12/12] .travis.yml: Add a KVM-only s390x job Alex Bennée
2020-03-27 19:18 ` [PULL v2 for 5.0 00/12] testing updates (+ one mttcg change) Peter Maydell

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=20200327181320.23329-8-alex.bennee@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=aleksandar.qemu.devel@gmail.com \
    --cc=aleksandar.rikalo@rt-rk.com \
    --cc=aurelien@aurel32.net \
    --cc=f4bug@amsat.org \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /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 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).