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

run 'make check' twice as fast with tmpfs

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-01-07 16:37:51 CET

Hi

Running 'make check' is tedious: lots of disk activity and very little
CPU. Not really surprising as this is a version control system and
disk activity is what it does.

However, if you have lots of RAM you can use tmpfs!

$ cd <path to working copy>
$ tar cf tests.tar subversion/tests
$ su root
# mount -t tmpfs tmpfs <path to working copy>/subversion/tests
# exit
$ tar xf tests.tar
$ make check

On my box, which has reiserfs on RAID0 and linux kernel 2.4.16, this
causes 'make check' to run twice as fast. The tmpfs filesystem uses
approx. 150MB.

*WARNING:* if you edit the test code on the tmpfs make sure that any
changes you make are copied out of the subversion/tests directory onto
a disk base file system before unmounting the tmpfs. I will *not* come
round and retrieve your changes from the aether if you forget!

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:55 2006

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.