Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion moving cache to RAM instructions making the rounds
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Boris Zbarsky  
View profile  
 More options Nov 12 2010, 2:42 pm
Newsgroups: mozilla.dev.apps.firefox
From: Boris Zbarsky <bzbar...@mit.edu>
Date: Fri, 12 Nov 2010 14:42:46 -0500
Local: Fri, Nov 12 2010 2:42 pm
Subject: Re: moving cache to RAM instructions making the rounds
On 11/12/10 2:24 PM, Asa Dotzler wrote:

> http://gizmodo.com/5688295/speed-up-firefox-by-moving-your-cache-to-r...

> This information has been making the rounds on twitter and tech blogs
> for a few days now. Just wanted to see if anyone thought there was
> anything immediately bad about it (will it hose users?) and if so
> whether or not we should say or do something to prevent users from doing
> this.

The main bad things are:

1)  This will slow down some plug-ins (Adober reader, for certain)
     which rely on being able to get to the data as a file; if we can't
     store it on disk in our cache, we'll have to stream it to a temp
     file instead.
2)  The size of the memory cache is capped at a much lower number than
     the size of the disk cache; it's a lot easier to fill it up and
     start evicting things.
3)  The disk cache, unlike the memory cache, persists across restarts.
     This means that you trade off slower startup (due to none of your
     restored tabs being in cache) and slower initial visits to all
     sites for slightly faster repeat visits to sites, as long as you
     didn't visit too much stuff in between.
4)  We have ongoing work for Fx4 to make use of the memory cache as
     well as the disc cache for the same content (right now we use one
     or the other but not both for any given resource).  Once we do
     that, you'll get all the benefits of this "tweak" without the
     drawbacks... and using the tweak at that point will be a strict
     loss.

-Boris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.