public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Dennis Clarke <dclarke@blastwave.org>
To: gcc-help@gcc.gnu.org
Cc: Jonathan Wakely <jwakely.gcc@gmail.com>,
	Ian Lance Taylor <iant@google.com>
Subject: parallel testsuite results differ from a single task approach
Date: Fri, 21 Dec 2012 04:06:00 -0000	[thread overview]
Message-ID: <fba9ba27861.50d39a00@blastwave.org> (raw)


I gad received some good advice to try using gmake -j X -k check for some X > 1 when running a testsuite in order to speed the process up. So I decided to test that theory with an eye on the results. I was surprised to see that the results when running "gmake -j 8 -k check" differ from a simple "gmake -k check" in the area of go and libmudflap : 

    1 ) parallel testsuite : 

        http://gcc.gnu.org/ml/gcc-testresults/2012-12/msg01903.html

    2 ) single process testsuite : 

        http://gcc.gnu.org/ml/gcc-testresults/2012-12/msg01935.html


In parallel we see this for "go" : 

                === go tests ===


Running target unix
FAIL: go.test/test/stack.go execution,  -O2 -g 

                === go Summary ===

# of expected passes            3293
# of unexpected failures        1
# of expected failures          4
# of untested testcases         4
/home/dclarke/pgm/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64.004/gcc/testsuite/go/../../gccgo  version 4.7.2 (Blastwave.org Inc. time_rfc-3339=2012-12-20 11:23:25+00:00) 




While the single process apporach reports : 


                === go Summary ===

# of expected passes            3294
# of expected failures          4
# of untested testcases         4
/home/dclarke/pgm/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64.004/gcc/testsuite/go/../../gccgo  version 4.7.2 (Blastwave.org Inc. time_rfc-3339=2012-12-20 11:23:25+00:00) 


Perhaps the go test "go.test/test/stack.go" is somehow sensitive to running on a busy machine? I am only guessing. 

The "libmudflap tests" results are wildly different. 

So at first glance it appears that the testsuite will in fact product different results if one chooses to use "gmake -j X" for X>1 but I am not sure why.  Felt is was worth pointing out as maybe no one else has done the comparison.

Dennis 


             reply	other threads:[~2012-12-21  4:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-21  4:06 Dennis Clarke [this message]
2012-12-21 13:01 ` Tim Prince
2012-12-21 14:56   ` Dennis Clarke

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=fba9ba27861.50d39a00@blastwave.org \
    --to=dclarke@blastwave.org \
    --cc=gcc-help@gcc.gnu.org \
    --cc=iant@google.com \
    --cc=jwakely.gcc@gmail.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).