I'm using ImDisk to create a RAM disk for the purposes of creating an environment where I can run some performance benchmarks and ensure that all benchmarks run are consistent, by making sure any advantages from caching are applied to them all (by having the entirety of the data in memory).

enter image description here

However, ImDisk allows for the creation of two types of RAM disk - one created in virtual memory, and one created in physical memory. I've already learnt that a RAM disk created in physical memory is not persistent after a reboot, but what other differences are there between the two? Would a virtual RAM disk be sufficient for my use case, or do I need to use one that relies on physical RAM?

I'm using Windows 7 64-bit.

  • 2
    Beware when using physical RAM only that you need to have more than enough RAM on the machine, or everything else will be constantly swapping. – Christopher Hostage Oct 1 '18 at 23:02

Assigning physical memory will yield more consistent and faster results. Anything 'virtual' will be slower as per the experience shared at http://www.tomshardware.com/answers/id-2047362/windows-virtual-memory-ram-disk.html . Virtual memory, as Microsoft describes it, will end up using hard disk space, which will definitely be slower.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.