Soren Harward on 17 Apr 2015 07:41:59 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] swappiness and ssd

On Fri, Apr 17, 2015 at 10:26 AM, Walt Mankowski <> wrote:
> On Fri, Apr 17, 2015 at 10:00:01AM -0400, Soren Harward wrote:
>> On Thu, Apr 16, 2015 at 3:36 PM, Eric H. Johnson
>> <> wrote:
>> > If you use Firefox a lot, you may want to move it's cache to ram as well. Your fstab line will look something like this:
>> >
>> > tmpfs /home/les/.mozilla/firefox/vkuuxfit.default/Cache tmpfs defaults,noatime 0 0
>> If you have /tmp mounted in RAM (which you should), then a cleaner way
>> to do this is just to change Firefox's cache directory to /tmp using
>> the browser.cache.disk.parent_directory configuration setting.
>> Chromium can do the same using the --disk-cache-dir command-line
>> option.
> If you do this, you're essentially dedicating a portion of your RAM
> solely to your web browser cache.  If you don't, the kernel's disk
> cache will still keep frequently accessed web content in RAM, plus you
> won't have to download everything again if you reboot.  Is it really
> that much faster to justify dedicating RAM to it?

No.  But we were talking about putting web cache in RAM as a strategy
for minimizing writes to physical disk, not as a way of speeding up
web browsing.

Soren Harward
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --