[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Running the test suite faster.

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2007-11-03 21:19:38 CET

On Sat, 3 Nov 2007, Karl Fogel wrote:
> "Justin Erenkrantz" <justin@erenkrantz.com> writes:
>> I'm running it under oprofile to see if something jumps out, but I
>> doubt that the CPU or HDD differences should account for 20 seconds
>> vs. 1:30 for basic_tests - something else is going on. And I know
>> it's not entropy-based as the times are consistent between
>> /dev/urandom and /dev/random. -- justin
>
> In IRC just now, I did some testing for Justin on my own machine:
>
> - http://www.red-bean.com/kfogel/thinkpad-r60-debian.html
> - HEAD of Subversion trunk
> - Python 2.4.4
> - subversion/tests/cmdline/svn-test-work mounted as ramdisk
>
> Timing just basic_tests.py over ra_local, we saw:
>
> With /dev/random:
> real 3m40.892s
> user 0m10.793s
> sys 0m7.792s
>
> With /dev/urandom:
> real 0m16.539s
> user 0m9.517s
> sys 0m7.108s
>
> It's amazing what the addition of one little letter 'u' can do!
>

Yep. I'm down from 4+ hours (or more?) down to 1.5 hours. A SIGNIFICANT
speed increase.

Thanks to Philip Martin for that neat trick with re-directing the 'open'
call for /dev/random -> /dev/urandom.

Thanks to multiple people for the PARALLEL=1 setting.

--
David Wayne Summers        "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  0B44 B118 85CC F4EC 7021  1ED4 1516 5B78 E320 2001
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 3 21:19:48 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.