|
Speed up Chrome & Firefox by using a RAM disk
|
|
06-21-2012, 06:31 PM
|
|||
|
|||
![]() Moving your browser's cache to a RAM disk It’s no secret that Google’s Chrome browser is fast. Really fast. But with a little help from our friend the RAM disk, we can make it even faster. If you’ve never used a RAM disk before, you’ve been missing out on a potential speed increase, especially those of you on laptops who often have slower hard drives than their desktop counterparts, but plenty of RAM. What’s a RAM disk? As the name suggests, a RAM disk is a virtual disk drive mapped to a specific amount of RAM. As RAM is considerably faster than hard drives, we move our browser’s cache to the RAM disk and greatly increase cache read and write times. *However, this comes at a flaw: RAM, by nature, is volatile and is flashed whenever the PC is turned off or rebooted. Your login information will be lost every time you reboot your PC. While this is better on a security standpoint, it does tend to get annoying to constantly have to login to the same sites over and over. You also lose a little bit of RAM, but in most cases, the difference will be negligible or downright invisible. *Note: That this can now be avoided thanks to the Load & Save feature now implemented in RAMDisk. Instructions on how to do so below under "Configuring the volatile RAMDisk so it becomes non-volatile". Download and Configure RAMDisk We’ll be using the RAM Disk application by Dataram. It’s free and works on Windows XP X86 to Windows 7 X64. It’s also very simple to configure. Keep in mind that the free version will have an ad when launched, but does not have pop-ups. Download and install as prompted. Configuration
It’ll take a minute or two to create the disk. Once it’s done, a new drive will appear in My Computer. My RAMDisk: ![]() ![]() Configuring your browser Google Chrome Chrome, unfortunately, does not currently have an easy-access GUI to change advanced settings. We’ll need to use switches. Right-click your Chrome shortcut and select Properties from the menu. We need to add the following switches to our shortcut. Change the cache’s directory, where the G: drive should be changed to reflect the location of your RAM disk. [Example Image] Code: --disk-cache-dir="G:/"Change the cache size. In bytes; the example below is 200MB. Code: --disk-cache-size=209715200Here’s an example of a complete shortcut. Code: C:\Users\MrXidus\AppData\Local\Google\Chrome\Application\chrome.exe --disk-cache-dir="G:/" --disk-cache-size=209715200Mozilla Firefox Firefox settings can be changed from the configuration panel (about:config) where a few settings will need to be changed. Change the cache’s directory, where the G: drive should be changed to reflect the location of your RAM disk. If the key doesn’t exist, create a new String. Key / Value Code: browser.cache.disk.parent_directoryCode: G:\Change the cache size. In bytes; the example below is 200MB. Key / Value Code: browser.cache.disk.capacityCode: 209715200Opera
Configuring the volatile RAMDisk so it becomes non-volatile The way the RAMDisk is set up for now, it will delete all files on the RAMDisk when it is stopped (volatile). If you want the files to be stored, you can click on the Load and Save tab, where we can set the content of the disk, to be loaded and stored at startup and shutdown, to an image file. If you now check “Save Disk Image on shutdown”, give it a filename, and press “Save disk image now”, then it will create the image of your RAMDisk. The image will be the same size as your RAMDisk. Then, check the box, “Load Disk Image at Startup”, specify you image file, and optionally give your disk a label, “Ramdisk” or something describing. Then go to File -> Save settings. ![]() Tips By MrXidus: Once you have completed the steps above, Within your selected browser, Browse your most visited websites, Once they have been cached, You'll then notice the speed improvement in loading times next time you visit the page! ![]() If you don't wish for a website to be cached, (Such as visiting it for one time only and want to save space by not caching the website). Browse the site using Chromes Incognito Mode or Firefox Private Browsing as these disable the caching of temp files, cookies etc. You can use CrystalDiskMark to test the read and write speeds of your RAMDisk compared to your regular HDD. My result here. Source: Thanks to SteelFrog for the original guide. I have built upon this but do not claim or endorse this work. I am simply sharing knowledge. Acer Aspire V3-771G | Windows 8 Pro | 64-bit
Intel Core i7-3632QM 3.2Ghz | 16GB DDR3 RAM | 1TB HDD | NVIDIA GT730M 4GB GPU | 17.3" @ 1920 x 1080 Windows Defender | Windows Firewall | UAC | Windows SmartScreen | Malwarebytes | RollbackRX | RAMDisk |
|||
|
|
06-21-2012, 07:25 PM
|
|||
|
|||
|
RE: Speed up Chrome & Firefox by using a RAM disk
Hay MrXidus thanks for the tutorial!
How do you calculate GB to bytes? or MB to bytes? I also configured my RAMDISK to 2GB but you haven't listed how many bytes are in 2GB. |
|||
|
|
06-21-2012, 07:30 PM
|
|||
|
|||
RE: Speed up Chrome & Firefox by using a RAM disk
(06-21-2012 07:25 PM)ChromiumHF wrote: Hay MrXidus thanks for the tutorial! 1 GB = 1073741824 bytes 2 GB = 2147483648 bytes There are free online conversion calculators on Google.
Acer Aspire V3-771G | Windows 8 Pro | 64-bit
Intel Core i7-3632QM 3.2Ghz | 16GB DDR3 RAM | 1TB HDD | NVIDIA GT730M 4GB GPU | 17.3" @ 1920 x 1080 Windows Defender | Windows Firewall | UAC | Windows SmartScreen | Malwarebytes | RollbackRX | RAMDisk |
|||
|
06-21-2012, 07:38 PM
|
|||
|
|||
RE: Speed up Chrome & Firefox by using a RAM disk
(06-21-2012 07:30 PM)MrXidus wrote:(06-21-2012 07:25 PM)ChromiumHF wrote: Hay MrXidus thanks for the tutorial! Thanks for the fast reply! - can you please link the online converter which you use?
|
|||
|
06-21-2012, 07:41 PM
|
|||
|
|||
RE: Speed up Chrome & Firefox by using a RAM disk
(06-21-2012 07:38 PM)ChromiumHF wrote: Thanks for the fast reply! - can you please link the online converter which you use? Sure. ![]() http://www.t1shopper.com/tools/calculate/ Acer Aspire V3-771G | Windows 8 Pro | 64-bit
Intel Core i7-3632QM 3.2Ghz | 16GB DDR3 RAM | 1TB HDD | NVIDIA GT730M 4GB GPU | 17.3" @ 1920 x 1080 Windows Defender | Windows Firewall | UAC | Windows SmartScreen | Malwarebytes | RollbackRX | RAMDisk |
|||
|
06-21-2012, 07:44 PM
|
|||
|
|||
RE: Speed up Chrome & Firefox by using a RAM disk
(06-21-2012 07:41 PM)MrXidus wrote:(06-21-2012 07:38 PM)ChromiumHF wrote: Thanks for the fast reply! - can you please link the online converter which you use? Thanks!
|
|||
|
06-21-2012, 08:29 PM
|
|||
|
|||
|
RE: Speed up Chrome & Firefox by using a RAM disk
trouble is most people are still using 2-4gb of ram and can't really afford to lose any for a ramdisk. Now I tend to over ram machines because it's so cheap here in the US, I mean 16gb (4gb x 4 1600mhz) a month ago was about $80 and I picked up 32gb (8gb x 4, 1333mhz) for $200.
|
|||
|
|
06-27-2012, 11:38 AM
|
|||
|
|||
|
RE: Speed up Chrome & Firefox by using a RAM disk
thnx Bro i feel i buy anew pc no lagg in flash videos ,But i have a qusetion my Ram Disk not appeared like when it was just created ! should i worry about that ?
|
|||
|
06-27-2012, 02:50 PM
|
|||
|
|||
|
RE: Speed up Chrome & Firefox by using a RAM disk
Make sure that contribute the RAM itself equally since the other portion will use on other task and could take it a bit slowdown performance if happens.
![]()
|
|||
|
06-27-2012, 07:57 PM
|
|||
|
|||
|
RE: Speed up Chrome & Firefox by using a RAM disk
loosing login sessions everytime i close the browser is a real downside for me so i wont be using this but thanks for sharing.
|
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| How to Speed Up a Slow Computer | Brian | 3 | 1,108 |
06-05-2012 08:45 PM Last Post: WinAndLinuxTutorials |
|
User(s) browsing this thread: 1 Guest(s)
Contact Us |
Privacy policy |
Return to Top |
Return to Content |
Lite (Archive) Mode |
RSS Syndication |
Members List |
Forum Team
MalwareTips.com is an independent website.All trademarks mentioned on this page are the property of their respective owners.


![[Image: lOLJ3.png]](http://i.imgur.com/lOLJ3.png)
![[Image: S3YPn.png]](http://i.imgur.com/S3YPn.png)
![[Image: tGT7i.png]](http://i.imgur.com/tGT7i.png)
![[Image: HKMWQ.png]](http://i.imgur.com/HKMWQ.png)



![[Image: 2841f33fc6c2ddd879a680ae1a4c167a.gif]](http://i.picasion.com/pic67/2841f33fc6c2ddd879a680ae1a4c167a.gif)