Closed Bug 488868 Opened 15 years ago Closed 12 years ago

[MSFT-7129] urlclassifier activity prevents disk from spinning down on Windows 7, reduces battery life

Categories

(Toolkit :: Safe Browsing, defect)

3.0 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 444942

People

(Reporter: beltzner, Unassigned)

Details

From Microsoft:
System process flushes to the following files every 30 minutes and each flush writes about 120MB and takes 500 seconds on average
\Device\HarddiskVolume2\Users\chxian\AppData\Local\Mozilla\Firefox\Profiles\kt1g9k3l.default\urlclassifier3.sqlite
\Device\HarddiskVolume2\Users\chxian\AppData\Local\Mozilla\Firefox\Profiles\kt1g9k3l.default\urlclassifier3.sqlite-journal

****Performance Impact****
Firefox causes periodic disk activity on the system which was not observed with other Internet browser applications.  This has a significant impact as it prevents the disk from spinning down to the periodicity of the disk activity. This has a huge impact on the battery life of the system as well.

Not sure that we can fix this, really, as this is our anti-phishing database. As I understand things, once the DB is created (takes about 10-12 hours to get the full DB) these flushes should be much, much smaller, though, right?

Possibly WONTFIX, though I'm always happy to take performance improvements here!
Dupe of bug 444942, though that bug has a bunch of crummy comments :(
Right, so this is a lot like bug 428565.  dcamp and I were talking a while back about ways to mitigate this, and that's why bug 454660 was filed (I should work on that one of these days...)
Can we either dupe bug 444942 to this (if we feel those comments have no value) or this to one of the mitigation bugs?
Summary: [MSFT] urlclassifier activity prevents disk from spinning down on Windows 7, reduces battery life → [MSFT-7129] urlclassifier activity prevents disk from spinning down on Windows 7, reduces battery life
Is the problem that we are flushing too often or flushing too much data (or both)?
HDD spinning down means too often. You can send an IDE command to a IDE-hdd that it automatically should shutdown after x minutes. The usual timeout set by the OS is for a HDD spin down is something like 15-60 Minutes.
In that case that you write it doesn't matter if it takes 1 or 5 Minutes to write tha data.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.