How to: Set up and Utilize RAM Disks
Information:
RAM disk is a program that takes a portion of your system memory and uses it as a disk drive. What is the benefit? In a word: SPEED! An additional feature of a RAM disk is that it will never wear out. You can access it at maximum bandwidth 24/7/365 without fear of mechanical failure, or fragmentation (a RAMDisk can become fragmented just like any other disk, but it does not take a performance hit like a physical disk does when it becomes fragmented). A RAM disk operating at maximum bandwidth does not produce excessive heat, noise or vibrations. The uses for RAM Disks are only limited to your imagination and amount of RAM. If you have to ask what to use one for leave this thread now. lol
Most users use RAM disk to speed up applications like:
- Databases
- Internet Explorer and Firefox cache for faster web surfing
- Audio and Video editing
- CAD programs
- Photoshop Scratch Disk
- Cache folder for Photoshop Lightroom
- Speeding up CD duplication
- Games
- SETI processing
- TEMP files
- Swap space
- Web server cache
- Custom applications with high I/O, high bandwidth, or high security requirements
What you should NOT use a RAM disk for :
- Windows Page File: (link) There is absolutely no reason to use a RAM disk for the page file. Think of a reason and I will show you a better solution.
Also, when the page file is on a RAM disk, if the system crashes it will not create a crash dump for you to retrieve and diagnose. This is because the driver for the RAM disk gets shut down before the data on the page file can be read to create the crash dump.
SoftPerfect RAM Disk: http://www.softperfect.com/products/ramdisk/
Instructions for ImDisk: Warning: Spoiler! (Click to show)
Very detailed guide here: (link)
Extra guide information here: (link)
My quick guide, will be expanded upon.
To delete or end the RAM Disk:
Extra guide information here: (link)
My quick guide, will be expanded upon.
- Download ImDisk here
- Install
- Open the Start Menu, in the search line, type CMD, hit Enter
- Type: imdisk -a -t vm -m P: -s 6G -p "/fs:ntfs /q /y, hit Enter
Note: Replace "P:" with the drive letter that you want.
"-a" specifies you want to create/attach a new virtual ram disk
"-t vm" specifies you want the data to be stored in RAM
"-m P:" specifies you want to mound the new disk to the specified drive letter, in this case P:
"-s 6G" specifies 6GB size
-p "/fs:ntfs /q /y" specifies you want to format the new disk using NTFS and using the quick format option
To delete or end the RAM Disk:
- Click Start
- Clcik Computer
- Rightclick the RAM Disk
- Click "Unmount ImDisk Virtual Disk"
Instructions for DataRAM RAMDisk: Warning: Spoiler! (Click to show)
- Download the RAMdisk and install it to your system. Download here.
- Once installed you can copy my system here which uses a 4092 MB Ram Disk. You may set a smaller or larger drive to use. This is up to you.
- Set what you see in the screen shot below. Notice the drive is set to Unformatted. You will see why in a moment.


- Once you have set what you see in the above pic go back to the Settings tab and hit Start RAMDisk
- Wait while it loads the driver.
- Then you need to mount the drive and format it.
- Start -> Control Panel -> System and Security -> Administrative Tools -> Computer Management -> Disk Management
- Here you should now be greeted with a prompt that you have a new drive.
- Mount the drive and quick format it NTFS or FAT32, give the name RamDrive and assign letter R.
- Once the drive is formatted navigate to My Computer, you should now see the RamDrive.
- Click to open the RamDrive.
- Once you have done this close down My Computer.
- It's now time to reboot the PC to make sure the RamDisk is working correctly.
- You can manually close the RamDisk window now [it has saved your settings] and all other apps you may have open and proceed to reboot.
Note: Now shutdown should take a little longer than normal, this is due to the image of data on the RamDisk being written to the SSD drive. On boot the machine should also take a few seconds longer than normal, this is due to the Ramdisk being formatted then the image that was written to the SSD is mounted on the RamDisk. So where you left off is where you restart. - Navigate back to my computer, you should see the RamDisk looking like a standard hard drive. If its not there you need to go back to the Ramdisk App settings and check its configured correctly.
Put your browser cache on your RAM disk: Warning: Spoiler! (Click to show)
This is how you put the browser cache on the RAMDisk. When you make the folder on the RAMDisk for the cache for each you need to go to that folder's properties and uncheck read only, I was having an issue where these weren't working b/c the cache folder couldn't be written to and that fixed it. 
Firefox Cache Tweak:
Internet Explorer Cache Tweak:
Chrome Cache Tweak:
Firefox Cache Tweak:
Information:
You will need to add a single command string into Firefox to make it store temporary internet files and all cache data to the RamDrive.
Instruction:
You will need to add a single command string into Firefox to make it store temporary internet files and all cache data to the RamDrive.
Instruction:
- Open up Firefox. In the address bar type about:config
- Click the I’ll be careful I promise button.
- Right click anywhere in the values in the lower portion of the screen and choose New -> String.
- Type in browser.cache.disk.parent_directory into the “Preference name”
- Click OK
- Type in R:\FF_Cache in the "string value" [if R: is the RamDisk and you created a folder called FF_Cache].
- Click OK.
- Restart Firefox.
Internet Explorer Cache Tweak:
Information:
You will need to move Temporary Internet Files folder of Internet Explorer to make it store temporary internet files and all cache data to the RamDrive.
Instruction:
You will need to move Temporary Internet Files folder of Internet Explorer to make it store temporary internet files and all cache data to the RamDrive.
Instruction:
- Open Internet Options.
- On the General tab look for "Temporary Internet files" or "Browsing history" and hit Settings.
- Set the box size to 50-250 MB.
- Then hit Move folder and point to the Cache folder you made on the RamDisk, e.g. R:\IE_Cache
- Click OK.
Chrome Cache Tweak:
How to Move Disk Cache Location:
How Change Disk Cache Size:
- Exit all Chrome browser windows
- Create a Chrome shortcut on your desktop.
- Right click and click properties
- In the target text box type in the below, with the space after the chrome.exe and before the --
"C:\Users\MYCOMPUTERNAME\AppData\Local\Google\Chrome\Application\chrome.exe" --disk-cache-dir="R:\tempfiles\Chrome_Cache"
How Change Disk Cache Size:
- Right click on the desired chrome shortcut and click Properties.
- Next to the Target: you will see the path for the chrome.exe location; after chrome.exe type in --disk-cache-size=1 --media-cache-size=1". This will change the maximum cache to 25mb.
Note:If you want to edit Chrome to change the directory and cache size, it would look like this: --disk-cache-dir="R:\TempFiles\Chrome Cache --disk-cache-size=1 --media-cache-size=1"
Some quick benches I did on my system: Warning: Spoiler! (Click to show)



















