[Bug 221009] Re: Firefox keeps forcing disk to spin up when browsing because its sqlite storage calls fsync() for every recorded entry

Philip Neustrom philipn at gmail.com
Thu Jul 16 23:23:51 UTC 2009


I can confirm this is still occuring with FF 3.5 in Ubuntu on a Thinkpad
x200s.

Every new location causes FF to write to disk.  lm-profiler clearly
shows this.  I tried compiling firefox to have:

PRAGMA default_synchronous='0';

after each sqlite3_open() in the code, but I think I screwed something
up.  I ended up just putting my profile on a tmpfs which solves the
problem (but this is not a fix).

I think setting the default_synchronous to zero would solve the problem,
though.  I'm not sure what additional issues this would cause, but
losing my places.sql because my machine crashes is definitely not a
concern -- losing my hard disk (and all my data on it) because it's
spinning up and down too quickly is :)

-- 
Firefox keeps forcing disk to spin up when browsing because its sqlite storage calls fsync() for every recorded entry
https://bugs.launchpad.net/bugs/221009
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox-3.0 in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list