Mac – Is using a Virtual PC on a RAM DISK super fast? (putting the .vhd file in a RAM DISK)

microsoft-virtual-pcramdisktmpfsvirtual machinevirtualbox

I wonder how or if any one tried to create a RAM DISK, and then put the 2GB (or sometimes 1.2GB) .vhd file into it, and then run the virtual PC using this image.

It should be running super fast, as the hard disk is now simulated by RAM… I never tried but saw that there is tmpfs on Linux. So with VirtualBox, it should be doable… How about on Windows or on a Mac, anybody tried before and saw how fast it is?

P.S. it was for the historical reason that the hard drive was not SSD in 2009 and it can take a lot of time accessing the physical spinning hard disk, with 1 file mapping to some virtual structure of a hard drive. I think the "state of the virtual PC" can all be in the physical RAM of the computer, so it is not a problem. Now that we have SSD, it is like a RAM Disk that pretends to be a hard drive, so it should be quite fast).

Best Answer

harddisk speed is the biggest bottleneck nowadays, there are other bottleneck also (e.g. drivers delay, OS architecture design for mechanical drive etc).