Re: Firefox profiles on a tmpfs (ramdisk)?

2010-10-26 Thread Phillip Susi
On 10/25/2010 5:18 PM, Jouko Orava wrote: (You can take a snapshot opportunistically at any time, by first taking the snapshot of the profile, and then checking that the files were not modified in the last two seconds, and will not be modified in the next two seconds. If the profile is on

Re: Firefox profiles on a tmpfs (ramdisk)?

2010-10-26 Thread Chris Coulson
On Mon, 2010-10-25 at 17:56 -0400, Micah Gersten wrote: On 10/24/2010 10:12 AM, Jouko Orava wrote: Hello, For a couple of years now I've kept my active Firefox profiles on a tmpfs (mounted size=128M,mode=01777,atime,auto,rw,nodev,noexec,nosuid) on both my desktop workstation and on my

Re: Firefox profiles on a tmpfs (ramdisk)?

2010-10-25 Thread Jouko Orava
The question is, are Ubuntu developers interested in this? No. Understood. Would it be possible to add the Firefox startup and shutdown script hooks into Firefox run-mozilla.sh in Ubuntu, though? Have you tried using libeatmydata? The only key difference there should be with using tmpfs

Re: Firefox profiles on a tmpfs (ramdisk)?

2010-10-25 Thread Phillip Susi
On 10/25/2010 1:34 PM, Jouko Orava wrote: Using tmpfs, I can save and snapshot the active profile at any time, for example in suspend scripts. As long as Firefox syncs changesets to the profile files properly, the profile can be copied at any time. With a helper, one could save the profile

Re: Firefox profiles on a tmpfs (ramdisk)?

2010-10-25 Thread Jouko Orava
Using tmpfs, I can save and snapshot the active profile at any time, This is not true. If you copy the file wile ff is changing it, you can end up with a corrupt copy. I meant that you can get a copy of the profile state as if Firefox had crashed at that point. (You can take a snapshot

Re: Firefox profiles on a tmpfs (ramdisk)?

2010-10-25 Thread Micah Gersten
On 10/24/2010 10:12 AM, Jouko Orava wrote: Hello, For a couple of years now I've kept my active Firefox profiles on a tmpfs (mounted size=128M,mode=01777,atime,auto,rw,nodev,noexec,nosuid) on both my desktop workstation and on my minilaptop. It feels subjectively much snappier, but I haven't

Firefox profiles on a tmpfs (ramdisk)?

2010-10-24 Thread Jouko Orava
Hello, For a couple of years now I've kept my active Firefox profiles on a tmpfs (mounted size=128M,mode=01777,atime,auto,rw,nodev,noexec,nosuid) on both my desktop workstation and on my minilaptop. It feels subjectively much snappier, but I haven't actually measured the difference. On the

Re: Firefox profiles on a tmpfs (ramdisk)?

2010-10-24 Thread Phillip Susi
On 10/24/2010 10:12 AM, Jouko Orava wrote: The question is, are Ubuntu developers interested in this? No. Have you tried using libeatmydata? The only key difference there should be with using tmpfs is that it effectively makes fsync() a noop. Aside from fsync and friends, the filesystem