Difference between revisions of "Speeding Up Firefox"

From Digibase Knowledge Base
Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
''To readers from outside of Digibase Employees: This is just a working, terse form document, it's not a complete, stable research document as of yet, you may attempt to utilize content but it is at your own risk. Variables in this document that you must adapt to your system are prefixed with "$" and are blue.''
+
''To readers from outside of Digibase Employees: This is just a working, terse form document, it's not a complete, stable research document as of yet, you may attempt to utilize content but it is at your own risk. Variables in this document of paths that you must adapt to your system are denoted as <span style='color:blue'>$variable</span>.''
  
  
Line 12: Line 12:
 
* /home/''<span style='color:blue'>$username</span>''/.mozilla/firefox/''<span style='color:blue'>$profilename</span>''/Cache
 
* /home/''<span style='color:blue'>$username</span>''/.mozilla/firefox/''<span style='color:blue'>$profilename</span>''/Cache
  
===MIME type inefficiency (Linux)===
+
===MIME type inefficiency===
 
====Linux Solution====
 
====Linux Solution====
 
Relocate the following to tmpfs locations and create scripts to copy their contents from alternate locations into them at bootup:
 
Relocate the following to tmpfs locations and create scripts to copy their contents from alternate locations into them at bootup:

Latest revision as of 03:51, 29 December 2013

To readers from outside of Digibase Employees: This is just a working, terse form document, it's not a complete, stable research document as of yet, you may attempt to utilize content but it is at your own risk. Variables in this document of paths that you must adapt to your system are denoted as $variable.


Heavy Disk I/O

Firefox seems to have heavy disk I/O issues where it may actively read/write repeatedly to disk rapidly which slows down the function of the browser and may impact other programs operating on the system.

Cache

Linux Solution

Relocating the cache to tmpfs on systems with sufficient RAM (3-4 GBytes or higher) may improve performance, about:config item browser.cache.disk.capacity should be set to a size 10 MBytes below the tmpfs size. 512 MBytes tmpfs will work on a 4 GByte RAM system. This will have a side effect of clearing cache at every system shutdown.

The location of the cache that may be relocated is:

  • /home/$username/.mozilla/firefox/$profilename/Cache

MIME type inefficiency

Linux Solution

Relocate the following to tmpfs locations and create scripts to copy their contents from alternate locations into them at bootup:

  • /usr/share/mime (tmpfs of this should be 8 MBytes minimum or higher as needed by the contents that would occupy them)
  • /home/$username/.local/share/mime (tmpfs of this should be 1 MByte minimum or higher as needed by the contents that would occupy them)

Alternate locations may be created at:

  • /usr/share/mime_permanant
  • /home/$username/.local/share/mime_permanant

Note: the files must be available at the original locations, otherwise there may be malfunctions that may occur.