This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Does running a parallel "make -jN check" work safely?
- From: Jim Wilson <wilson at specifixinc dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 24 Feb 2004 00:27:06 -0800
- Subject: Re: Does running a parallel "make -jN check" work safely?
- References: <200402221320.i1MDKuOF015443@caip.rutgers.edu>
Kaveh R. Ghazi wrote:
I'm wondering whether running "make -jN check" is safe. I'm
I have problems with the java testsuite when I use make -jN. Some of
the java tests are self-timing. They time a loop, use that timing info
to set a timer, and then do something that might hang. See for instance
libjava/testsuite/libjava.lang/Thread_Interrupt.java. These tests work
fine normally, but are unreliable with make -jN. I suspect that the
changing load average disrupts the timing of them. I avoid parallel
make checks because of this problem. I am talking about using N >
number of processors here. Maybe they work OK if N <= number of processors.
If your target is a simulator, and you have a broken simulator that
requires the dejagnu testglue.o file, then running tests in parallel may
fail because of conflicts with the testglue.o file. This one might have
been fixed though; I am not sure.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com