Difference between revisions of "Speeding Up Firefox"

From Digibase Knowledge Base
Jump to: navigation, search
Line 1: Line 1:
''To readers from outside of Digibase Employees: This is just a working, terse form document, it's not a complete document as of yet, you may attempt to utilize content but it is at your own risk.''
+
''To readers from outside of Digibase Employees: This is just a working, terse form document, it's not a complete 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.''
  
  
Line 10: Line 10:
  
 
The location of the cache that may be relocated is:
 
The location of the cache that may be relocated is:
* /home/''username''/.mozilla/firefox/''profilename''/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)===
Line 16: Line 16:
 
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:
 
* /usr/share/mime (tmpfs of this should be 8 MBytes minimum or higher as needed by the contents that would occupy them)
 
* /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)
+
* /home/''<span style='color:blue'>$username</span>''/.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:
 
Alternate locations may be created at:
 
* /usr/share/mime_permanant
 
* /usr/share/mime_permanant
* /home/''username''/.local/share/mime_permanant
+
* /home/''<span style='color:blue'>$username</span>''/.local/share/mime_permanant
  
 
'''Note:''' the files must be available at the original locations, otherwise there may be malfunctions that may occur.
 
'''Note:''' the files must be available at the original locations, otherwise there may be malfunctions that may occur.

Revision as of 04:48, 29 December 2013

To readers from outside of Digibase Employees: This is just a working, terse form document, it's not a complete 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.


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)

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.