Disk thrashing while browsing
Categories
(Toolkit :: Places, defect, P3)
Tracking
()
People
(Reporter: aros, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
Steps to reproduce:
Open https://www.techpowerup.com/review/red-dead-redemption-2-benchmark-test-performance-analysis/2.html
Select any screenshot and try clicking right or left.
Actual results:
Here's the disk activity generated for each new screenshot:
profile.default/ MODIFY cookies.sqlite-wal
profile.default/ MODIFY cookies.sqlite-wal
profile.default/ MODIFY cookies.sqlite-wal
profile.default/ MODIFY cookies.sqlite-wal
profile.default/ MODIFY cookies.sqlite-wal
profile.default/ MODIFY places.sqlite-wal
profile.default/ MODIFY places.sqlite-wal
profile.default/ MODIFY places.sqlite-wal
profile.default/ MODIFY places.sqlite-wal
profile.default/ MODIFY places.sqlite-wal
profile.default/ MODIFY places.sqlite-wal
profile.default/ MODIFY places.sqlite-wal
profile.default/ MODIFY places.sqlite-wal
profile.default/ MODIFY places.sqlite-wal
profile.default/ MODIFY places.sqlite-wal
profile.default/ MODIFY places.sqlite-wal
profile.default/ MODIFY places.sqlite-wal
profile.default/ MODIFY favicons.sqlite-wal
profile.default/ MODIFY favicons.sqlite-wal
profile.default/ MODIFY favicons.sqlite-wal
profile.default/ MODIFY favicons.sqlite-wal
profile.default/ MODIFY favicons.sqlite-wal
profile.default/ MODIFY favicons.sqlite-wal
profile.default/ CLOSE_WRITE,CLOSE prefs-2.js
profile.default/ MODIFY prefs-2.js
profile.default/ MODIFY prefs-2.js
profile.default/ MODIFY prefs-2.js
profile.default/ MODIFY prefs-2.js
profile.default/ MODIFY prefs-2.js
profile.default/ MODIFY prefs-2.js
profile.default/ MODIFY prefs-2.js
profile.default/ CLOSE_WRITE,CLOSE prefs-2.js
profile.default/ MOVED_FROM prefs-2.js
profile.default/ MOVED_TO prefs.js
profile.default/weave/changes/ MODIFY history.json.tmp
profile.default/weave/changes/ DELETE history.json
profile.default/weave/changes/ MOVED_FROM history.json.tmp
profile.default/weave/changes/ MOVED_TO history.json
profile.default/weave/changes/ CLOSE_WRITE,CLOSE history.json
A Linux command to see it:
inotifywait -e modify -e attrib -e move -e delete -e close_write -m -r ~/.mozilla
Expected results:
I do understand writes to places.sqlite.
I do not understand why Firefox:
- Updates cookies when none are set
- Updates favicons when none are being retrieved or saved
- Deletes and recreates prefs-2.js
- Deletes and recreates some files under /weave/changes/
There's too much activity when I expect at most writes to places.sqlite.
Comment 1•5 years ago
|
||
Could be related to bug #1138151
Updated•5 years ago
|
Comment 2•5 years ago
|
||
it's very likely the same as bug 1138151, the page generates a bunch of refs, and we don't yet have history flooding prevention on that.
Updated•5 years ago
|
Reporter | ||
Comment 3•5 years ago
|
||
It would be great if there were an option to coalesce disk writes in Firefox and the minimum interval to do that could be changed by the user.
Comment 4•5 years ago
|
||
(In reply to Marco Bonardo [:mak] from comment #2)
it's very likely the same as bug 1138151, the page generates a bunch of refs, and we don't yet have history flooding prevention on that.
So let's keep this in one bug.
Description
•