Speed up compile and test by ramdisk

I compile Subversion source code and build it every day. After I make any change to the source code and test the code, it takes more than 30 mins to run all the tests and tell the result.

So, to speed up my ‘compile and test’ process, I made of my own ramdisk. I achieved it as follows,

$ mkdir -p /mnt/myramdisk

$ mount -t tmpfs -o size=1G tmpfs /mnt/myramdisk

I made my own ramdisk of 1GB and used this space to compile and test my code.

Now the process completes in just 10 mins !!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s