Necoro’s Blog

Blog? Blog? There is no blog…

Posts Tagged ‘speedup

moztmp update

leave a comment »

Someone has obviously discovered my old post about moving the .mozilla directory of firefox into RAM. Unfortunately it did not work anymore and I also stopped using it (one reason: well – it did not work, second reason: my computer was quite unstable for some time and thus I lost quite often my FF-data).

But now I took the time to look into it and fix it. I also moved it from bzr to git: It can now be found at github.

Feel free to play around with it. And if you want to add nice features: do so. Remember that it is quite easy to fork and push-back repositories with git and github :)


Written by Necoro

March 14, 2011 at 21:01

Posted in Gentoo

Tagged with , ,

Firefox Directory in RAM

with one comment

So I’ve read Nikos’ post about putting the mozilla stuff into RAM to speed up Firefox. But the script he posted is not really suited for Gentoo. So I thought to use it and pour it into a Gentoo-Init-Script. Using it results in quite a good speed-up – especially as FF used to block when another process makes heavy use of the HDD.

You can find the script and its config file in a git repository at github. Just branch (or download directly) and put the files in the correct directories.

Note: Works only with OpenRC and not with the old baselayout-1.

Note: If you computer does not shutdown properly, all changes you made during your browsing session are lost.

Note: Only use this script, if you have sufficient free RAM, as firefox profiles can be quite large (>100MB). One point to reduce the size is to delete the urlclassifier3.sqlite (which can be about 50MB) and is only used for the phishing protection (i.e. ask google for each site you are visiting :/). See for example this post about the details (or use $SEARCH_ENGINE).

A further idea would be to have an inotify-task, which looks for the lock file in the firefox dir. If it is removed (i.e. firefox is closed), it could to a sync.

/edit[2011-03-04]: Moved from bzr to git.

Written by Necoro

May 8, 2009 at 10:21

Posted in Gentoo

Tagged with , , ,