
It is true with the local.stop method too isn't it?truc wrote:and what if your computer hangs? you're losing, among other things, the history since the previous backup?

It works, indeed, and the difference here is abysmal. From 3-4 seconds chokes to near instantaneous seeking.Compintuit wrote:So... If I do this, having a 44MB places.sqlite file will no longer make searching my history take about 10 secs? Would we now be talking milliseconds? Because that would be nice... but I'm still a gentoo noob, so I think I'll have to wait a bit before I try. But this has definitely worked well for some people?

I too, tried this "solution", among MANY other combos, to try and improve firefox performance,Bircoph wrote:I don't see great benefit from this on my system.
I moved .firefox to /dev/shm and first startup time dropped from ~2.5 secs to 2.0 secs, repeated startups doesn't differ at all. Anyway, this is filesystem's job to cache I/O and ext4 does this in a nice way.

Wow I've used the 2 above settings + browser.cache.disk.enable set to false on my gentoo install on a slow (2MB/s write) sdhc card (using ext4 without journal) and I can already see a big speed improvement ! much less annoying slowdowns ... thanks for the tip !stevenrobertson wrote: set browser.safebrowsing.enabled to false
set browser.safebrowsing.malware.enabled to false
If no profile is set, the script will take care of it, mount the tmpfs and unpack the profile. Of course you'll had to manually rm your profile... The tmpfs will just be mounted over your original profile dir. There's no need for whatever fstab line. Just add the script in bashrc or in the autostart applications, so you can start browsing after loggin.#!/bin/sh
#~/.ffp-pack.sh
PF=""
FFH="${HOME}/.mozilla/firefox"
die() {
echo "$1"
exit 1
}
cd "${FFH}"
[ -n ${PF} ] || PF=`basename ${FFH}/*.default`
[ -z ${PF} ] && die "profile is empty."
[ -z "`mount|grep -F ${FFH}/${PF}`" ] && { sudo mount ff-p-`id -u` ${FFH}/${PF} -t tmpfs -o user,exec,uid=`id -u`,gid=`id -g`,size=128M || \
die "failed to mount ff-p-`id -u` tmpfs."; }
[ -f "${PF}/.unpacked" ] && {
tar --exclude $PF/.unpacked -cpf $PF.tmp.tbz2 $PF || die "failed to pack the profie."
mv $PF.tbz2 $PF.old.tbz2 || die "failed to override .old profile."
mv $PF.tmp.tbz2 $PF.tbz2 || die "failed to move the profile."
} || { tar xpf $PF.tbz2 && touch $PF/.unpacked || die "failed to unpack the profile."; }

I am from a world of security-first. So I am just asking - Is this good practice? I am just curious how this will affect my browsing if I do this.pierro78 wrote:Wow I've used the 2 above settings + browser.cache.disk.enable set to false on my gentoo install on a slow (2MB/s write) sdhc card (using ext4 without journal) and I can already see a big speed improvement ! much less annoying slowdowns ... thanks for the tip !stevenrobertson wrote: set browser.safebrowsing.enabled to false
set browser.safebrowsing.malware.enabled to false