Small block disk writes are the bane of SSD's everywhere, and Web browsers are one of the worst perpetrators of small block disk writes.
Two ways to address this are: Create a RAM disk and point the browser cache to it, -OR-
Set Firefox to use memory cache (thusly):
1. open up about:config (type it into the url bar)
2. type browser.cache into the filter bar at the top.
3. Find browser.cache.disk.enable and set it to false (by double clicking on it).
4. set browser.cache.memory.enable to true
5. create a new preference by right clicking anywhere, hit New, and choose Integer.
6. Call the new preference browser.cache.memory.capacity and hit OK.
7. In the next window, where it asks for the number of kilobytes you want to assign to the cache, just enter -1 to tell Firefox to dynamically determine the cache size.
See: Speed Up Firefox by Moving Your Cache to RAM, No RAM Disk Required
Truth in lending disclosure. The downsides (currently) are small but here they are:
-Disk cache, unlike the memory cache, persists across restarts.
-Size of memory cache is capped at a lower number than size of disk cache.
-Possible slight slowdown for some plug-ins such as Adobe reader, which get to their data as a disk file.
See: moving cache to RAM instructions making the rounds - mozilla.dev.apps.firefox | Google Groups
Future Firefox may be able to have both disk and memory cache and so will have the best of both worlds.
Edit: Accidentally wiped out the original post (intended to paste from it). so here it is recreated (as best as I could)
-
Is this really a good idea? The SSD is still thousands of times slower than RAM.
-
-
I haven't really noticed any difference.
Also, #4 was already set to true. -
I don't notice anything diff in while visiting flash intensive sites or watching vids through the browser. Everything is super snappy with 64bit 7 and SSD.
Has anyone tried the E9 beta in comparison? -
why would anyone use IE9 beta to begin with?
Anyway I don't see the bigger break through here on the SSD / memory front? -
Anyone know how to do this in Chrome?
-
Move Google Chrome Cache to a ram disk and speed up page loading | Around The Web
Ramdisk setup for Chrome (or Firefox):
http://www.downloadsquad.com/2010/1...efox-or-chrome-cache-to-a-ram-disk-and-speed/ -
-
OK. But can I use this advise if I have slow HDD (5400 rpm) to make my Mozilla go faster???
-
This completely defeats the purpose of having a cache. Every time the computer powers down you lose the cache... which makes it virtually useless.
Wait for firefox 4 to implement this. They're going to have a compromise of sorts where it's stored in both. -
-
Is there any way to do this on IE 8 ? 9 ?
-
But seriously, I disagree that it defeats the point of cache to use memory cache instead of disk. You still benefit from the cache in all the many ways in which one benefits from having a cache (and let's not forget that it all happens quicker in a memory based cache than disk based). The thing you lose is reloading some images, ads and whatnot the next time you boot up. Not so bad. Balance that against thousands writes to the ssd and quicker response all the while.
I can see where, in the case of a slow internet connection, it may be useful to have a gigantic disk cache to ensure nothing ever gets reloaded. But most of the time it doesn't offer so much benefit. -
Cache stores a page when you visit it so that the next time you use your computer it can load that page faster. When you delete your cash it has to build it again every time... This completely defeats the purpose of having a cache. Mozilla also reported this breaks some extensions.
This is not one of those "oh you can always wait for new technology" because there's only two steps here; right now with a poor workaround that will not benefit you all that much or in a month or two when mozilla has perfected this. -
The key to your statement is when you say " ...next time you use your computer...has to build it again every time...". Obviously if the cache were wiped every time you used your computer that would be stupid, but that's not really what we are talking about here is it?
On a more useful note, It would be interesting to know which extensions Mozilla has indicated would be impacted by this. -
I have several OCZ SSD's in my desktop and in another laptop. Here is a very complete discussion on various tweaks to Win 7 which will improve SSD performance and life.
Guide * Windows 7 Ultimate Tweaks & Utilities *
Near the bottom of the OCZ thread is a discussion of the Firefox cache tweak and just below is a similiar cache tweak for IE. -
-Enable Write Caching: On the Z use the Intel Rapid Storage Technology app: Manage | Advanced | Write-back cache: Enabled
-Disable indexing: In Windows Explorer (or My Computer): Right click on C: Drive -> Properties -> Uncheck Allow files on this drive to have contents indexed...
-Turn Off the Disk Defragmenter Schedule: Run Disk Defrag, turn off regular schedule
-Disable Superfetch: in regedit: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\Memory Management\PrefetchParameters. Change EnableSuperFetch value from 3 to 0.
-Disable Prefetch: in regedit: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\Memory Management\PrefetchParameters. Change EnablePrefetcher value from 3 to 0.
-Firefox - Use memory cache instead of disk cache (see OP or create a ram disk)
The other ones they recommend in there I'm not too sure I would recommend those on the Z, as either having no benefit or not being worth the risk:
-Disable the Page File
-Disable System Restore
-Disable Hibernate
-TRIM Commands
-TRIM Utility Script -
Why would you want to turn off indexing?
-
-
I'd die without indexing...I'll take the risk of premature wear. Especially in outlook, search is instantaneous and I use it a LOT.
-
Well, it's good then that you didn't disable it. It's certainly not worth dying.
I have created a more general thread, which includes the browser caching as well as the other suggestions that came up.
http://forum.notebookreview.com/sony/533819-ssd-tweaks-tips.html#post6891269
Maybe it's better to continue these discussions over there. -
I just set this up in Chrome, and it works great. One note about Chrome - you can only set the directory for all user-based data (bookmarks, history, etc), not just for the cache. This makes the persistable ramdisk even more important, though it may not be that big of a deal if you use Chrome's sync ability.
-Peter -
-
Yeah I couldn't find this topic after I last replied but I meant to mentioned ramdisk.
-
For browser disk cache, I augment it with caching proxy servers. Not only do I have far more cache than I have disk on my laptop, but it also works when I jump between computers.
-
SSD owners: Set Firefox to memory cache instead of disk
Discussion in 'VAIO / Sony' started by Oscar2, Nov 14, 2010.