up vote 3 down vote favorite
1
share [g+] share [fb]

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?

link|improve this question

70% accept rate
feedback

2 Answers

up vote 2 down vote accepted

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

link|improve this answer
feedback

It's debatable.

Performance will indeed increase considerably. But if you have enough RAM to create a RAM Disk capable of storing a whole image, know that both VirtualBox, VMWare and VirtualPC are capable of caching your images as data is accessed. So while the RAM Disk doesn't necessarily become redundant, its performance increase over a cacheable image will not be that great.

It's also a risk. A power outage or any other situation where your PC is accidentally turned off will destroy you image (or any changes you made to it since you last load it).

Finally, it will make starting up and closing down the VM session slower as the whole image needs to be read from disk into memory and later saved back to disk.

link|improve this answer
right, it is more for experiment... and the RAM it eats up is huge... 2GB for the RAM DISK, 512MB for the Virtual PC to consume, and the original OS... so seems like it needs at least 4GB on the physical machine. – 動靜能量 Nov 4 '09 at 4:15
4gb is nothing these days ;) – Journeyman Geek Apr 11 '11 at 0:14
feedback

Your Answer

 
or
required, but never shown

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