You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Philip Martin <ph...@codematters.co.uk> on 2002/01/07 15:37:51 UTC
run 'make check' twice as fast with tmpfs
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