A random mix of stuff that doesn't fit elsewhere ...

Monday, March 27, 2006

Firefox memory consumption

I'm with jcm, that Firefox 1.5 is not performance tuned correctly.

What's the bottleneck?

If your usage style is like mine with lots of apps open, lots of tabs in Firefox, etc. -- RAM is almost always your primary system bottleneck, resulting in sluggishness and swapping delay of switching from one window/app to another. I want my apps to optimize for a minimized memory footprint.

But there's an inherent bias against that -- because if you're looking at one app's performance in isolation, you'll trade memory for fewer CPU cycles, or (as in this case), bigger caches to compensate for slow internet connections. You tend to optimize for the good of the one application, not for the good of the whole system.

Firefox 2.0 is bumping down some of the default caches (which are relative to system memory size), and that's a good first step. Detecting the speed of the internet connection (and reducing caching in tune with higher speeds) would be a cool next step.

Until then, here are two cache settings that can be tweaked back to improve performance if RAM is also your bottleneck (enter 'about:config' in the address line of the browser, to set/change any of these settings)


0 comments: