Open Bug 973888 Opened 9 years ago Updated 4 years ago

mozStorage threads periodically write to disk during idle

Categories

(Core :: General, defect)

x86
All
defect
Not set
normal

Tracking

()

People

(Reporter: rvitillo, Unassigned)

References

Details

(Whiteboard: [Power:P2])

Many of the periodic disk writes on a complete idle system seems to be generated periodically from the mozStorage threads (measured with iotop with 6 tabs open pointing to cnn.com). Those writes account for about 25% of the total writes performed by FF in an one hour period (~60MB).
OS: Mac OS X → All
(In reply to Roberto Agostino Vitillo (:rvitillo) from comment #0)
> Many of the periodic disk writes on a complete idle system seems to be
> generated periodically from the mozStorage threads (measured with iotop with
> 6 tabs open pointing to cnn.com). Those writes account for about 25% of the
> total writes performed by FF in an one hour period (~60MB).

note that on idle we do maintenance work in various components, though those should only happen once in an idle cycle, not periodically. If some component is doing period writes continuously that should definitely be changed.
Also, there is bug 973591 that makes the system come back from idle unexpectedly due to content events.
Roberto, by any chance, do you know which files are hit?
About 90% of the times the file cookies.sqlite-wal is being written to.
I wonder if that is caused by the webpage actually storing cookies on idle... not many webpages care about stopping on idle and IIRC the cookies service doesn't do any special periodic work
Whiteboard: [Power]
Whiteboard: [Power] → [Power:P2]
You need to log in before you can comment on or make changes to this bug.