Monday, March 23, 2009

Tune MicroB

You can edit your /home/user/.mozilla/microb/prefs.js in terminal or via ssh ( when microb is not running ) and drop in some or all of these changes. You can also use the about:config page. It's slow, but will get the job done eventually.

# Too many connections and you will swap this poor CPU, this will allow it to be much more responsive.
user_pref("network.http.max-connections", 2);
user_pref("network.http.max-connections-per-server", 1);
user_pref("network.http.max-persistent-connections-per-server", 1);
user_pref("network.http.pipelining.maxrequests", 10000);

# Increase the cache size
user_pref("browser.cache.memory.capacity", 16384);

# Improve readability and clickability of most sites
user_pref("font.minimum-size.x-central-euro", 18);
user_pref("font.minimum-size.x-cyrillic", 18);
user_pref("font.minimum-size.x-unicode", 18);
user_pref("font.minimum-size.x-user-def", 18);
user_pref("font.minimum-size.x-western", 18);

# dunno how much help this is
user_pref("browser.sessionhistory.max_entries", 2);

# Impersonate the iphone. Works better than you might think most of the time.
user_pref("general.useragent.override", "Mozilla/5.0 (N8x0 like iPhone; U; Linux like Mac OS X; ARM; en) AppleWebkit/420+ (Gecko, like KHTML)");


I also recommend turning on swap space if you have not done so already. Control Panel -> memory -> virtual -> Extend virtual memory: Yes size 64MB


It's not perfect, but it's an improvement. I'm still tracking a few areas where I think we can improve the speed.

No comments:

Post a Comment