Firefox does a lot of IO to the disk even thou you have lots of spare Ram, due to Sqlite, Bookmarks, History and Cache.бизнес
To make Firefox faster is to store the whole profile folder into a Ram Disk.
RamDisk in Linux are called TmpFS. You can also use shared memory folder /dev/shm if you have it in your fstab.
This post in the gentoo forums explains how to do it in Gentoo linux.
I made a similar script to make it work in OSX Leopard.
The Script have 2 parts, Start.sh and Stop.sh
Here are the Scripts:
You can also use ‘tar’ instead of ‘rsync’. I just love rsync more.
* Warning: The ramdisk contents will be erased after you umount the ramdisk.
To speed up firefox even more run these commands: