Closed Bug 973871 Opened 11 years ago Closed 10 years ago

Network Seer thread periodically writes to disk during idle

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1009122

People

(Reporter: rvitillo, Unassigned)

References

Details

The disk writes on a complete idle system are dominated by the ones performed periodically by the Network Seer thread (measured with iotop with 6 tabs open pointing to cnn.com). Are those writes necessary?
Blocks: power
No longer blocks: power
Blocks: power
Those writes account for about 50% of the total periodic writes performed by FF in an one hour period (~60MB).
The file being written to is netpredictions.sqlite.
Blocks: powah
Flags: needinfo?(jduell.mcbugs)
rvtillo - jduell is away this week. :hurley can certainly help you - but it isn't clear what info you are requesting. Is your data up to date - there have been a lot of seer changes since this was filed. (but again - nick is the person to follow up with)
It seems that the same behavior persists also with the latest changes. My question is what kind of event can cause a write to netpredictions.sqlite? Now, cnn.com is a particular case because the page reloads itself periodically but I still find surprising that the Network Seer threads performs more writes than any other thread.
It's probably the commit timer causing extraneous writes. That should be relatively easy to fix, if we want to pursue the patch. There are also (still relatively nascent) plans to rewrite the backend to not use sqlite, which would also fix the issue.
Flags: needinfo?(jduell.mcbugs)
How about both? Let's fix the commit timer now, regardless of a future backend rewrite.
OS: Linux → All
Hardware: x86 → All
Rewrote to no longer have a seer thread, so this is now effectively a dupe of the rewrite bug.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Blocks: powah
You need to log in before you can comment on or make changes to this bug.