Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use a lot of tabs and after a while less recently opened tabs take some time to become responsive, which I guess is because they're being un-cached to HDD as they're not required.

So after creating a Ram-Disk I have two options, use

--disk-cache-dir="G:/"

switch to do what it does. Or what I'm currently doing: using a directory junction for

"[...]\AppData\Local\Google\Chrome\User Data\Default"

to move that entire folder over to Ram-Disk. I thought this would be better than just disk-cache but what do I know. Is it?

As one can guess it'll be a pain saving/loading the Ram-Disk image each time I start chrome but if it really is better than the former approach I'll write a script or something.

EDIT: enter image description here

So the "Default\cache" is not the only folder which is being accessed frequently. I took this screenshot when there were 21 tabs open and was trying to access least used ones way in the background window.

From this I conclude that moving entire folder to Ram would be faster that just cache. Any insights are more than welcome.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

In general, the virtual memory subsystem and filesystem of your OS are smarter than you about how to allocate and use physical memory (especially for filesystem buffer caching). By devoting a chunk of RAM to a ramdisk, you are reducing the amount of RAM available to your OS by dedicating it to one single purpose. If you take too much RAM away from your OS, you will experience general performance degradation caused by low availability of RAM, though the application(s) that use the ramdisk may perform better. This is a trade-off you have to make.

share|improve this answer
    
I understand this general note of wisdom but there is a situation one would need to bypass the Operating System: A very quirky hard disk that isn't of importance to be replaced but it does create problems the OS does not detect (for example parking its heads excessively and its power options being quirky, not allowing disabling it, even if its data is secure). –  leladax Feb 14 '13 at 10:25

Nik Tang wrote an article on how to use Chrome with Dataram Ramdisk software on Windows.

I found it quite helpful.

Note: If you use his scripts, you may encounter a problem; when Windows starts, you will have two drive letters pointing to the same ramdisk drive, however, he provided a fix at the end of the post.

Cheers!

share|improve this answer
    
Welcome to Super User! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  slhck May 17 '12 at 12:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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