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

Re: How to run tests in a RAM disk on Windows?

From: Branko Cibej <brane_at_xbc.nu>
Date: Mon, 10 Aug 2009 21:19:43 +0200

Mark Phippard wrote:
> I have spent time on this and got it working. The performance speedup
> was pretty minimal though. Windows does not come with a RAM disk
> driver so you have to get something third party. Maybe they are not
> high quality?
>
> I am on Vista which makes this a little easier to setup because it has
> a "mklink" command that lets you create a symbolic link, just as you
> can on Unix. I setup a RAM disk and formatted it as NTFS. This is
> important because FAT32 has a two-second timestamp resolution on files
> and the test suite will slow itself down to accommodate that.
>
> I then create a "tests" folder on the RAM disk and use the mklink
> command to make a symbolic link from svn-tests-work to this folder. I
> also pointed TEMP and TMP to the RAM disk.
>
> It definitely works, but the speedup was just a couple minutes over
> the entire test run.
>

Hm, that's improbable. When I was still running the Windows tests, on a
ramdisk, I got a very substantial speedup. I did have to put the whole
tree on ramdisk, though, including source and binaries. Which makes for
a fairly large ramdisk, and you have to enable test cleanup; several
gigs of RAM does help here.

(*And* turn off all virus scanners *and* unplug the computer from the
'net. No, Windows is not a comfortable development platform.)

-- Brane

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2382177
Received on 2009-08-10 21:20:06 CEST

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