autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autotest speedups


From: Eric Blake
Subject: Re: autotest speedups
Date: Fri, 12 Oct 2007 21:28:54 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Ralf Wildenhues on 10/12/2007 1:06 PM:
> * Paolo Bonzini wrote on Fri, Oct 12, 2007 at 07:51:47PM CEST:
>>> 6 seconds (35% speedup) for executing just one test!  And when executing 
>>> ten tests, 17 seconds speedup!
>> Wow indeed.  But what are the timings on Linux? :-)
> 
> Much smaller absolute differences, and 28% speedup vs. 16% slowdown:

That sways it - since Linux doesn't get the speedup for having less in
memory, the penalty of extra sed invocations contributes to the slowdown
with no fork() savings to make up for it.  And since in the GNU
philosophy, Linux is a primary platform while cygwin is not, I don't want
to be adding that much slowdown.  So I'll work on option 1: making a
single sed script to parse out all relevant test functions up front,
instead of on a per-test basis.  I still think we give cygwin some benefit
from ideas learned in option 2, though, by unset'ing functions after they
are no longer needed; hopefully the final tests in the suite will run
faster in relation to the earlier tests as memory is freed before the
cygwin fork().

> (beware, timings are quite variable on this laptop, best of three
> shown).  And yes, the whole testsuite takes on the order of 20 mins.

Much faster than the several hours it takes on cygwin, whether or not we
speed it up.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHEDt284KuGfSFAYARAqhHAJ9eMR9qxopBpAYTT/MPYUP6r6aPbgCfXIf0
uF/gmxtQQ96Z4gmPHanCyjM=
=DKW8
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]