Open
Bug 699410
Opened 13 years ago
Updated 2 years ago
Add telemetry for memory used by active disk cache entries
Categories
(Core :: Networking: Cache, defect, P5)
Core
Networking: Cache
Tracking
()
NEW
People
(Reporter: u408661, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-would-take])
Attachments
(1 file)
4.71 KB,
patch
|
taras.mozilla
:
feedback+
|
Details | Diff | Splinter Review |
We would like to know how much memory overhead we have in the disk cache caused by entries that are in use in some way or another (reading, writing, not-yet-deactivated). Not 100% sure WHEN to probe this number, and whether to do the actual memory calculation or just count the number of active entries and extrapolate as best as possible from there.
Comment 1•13 years ago
|
||
Please use moz_malloc_usable_size() if you can -- see bug 669409 comment 5.
This patch builds on the one for bug 699951, so just requesting feedback for now, but it's in the final form that I'd like it to be in barring any problems.
Attachment #575903 -
Flags: feedback?(jduell.mcbugs)
Comment 3•13 years ago
|
||
Comment on attachment 575903 [details] [diff] [review]
patch
Review of attachment 575903 [details] [diff] [review]:
-----------------------------------------------------------------
Looks fine to me, but I'm not familiar with the "gather-telemetry" event, so asking Taras to glance at it too.
Attachment #575903 -
Flags: feedback?(jduell.mcbugs) → feedback?(tglek)
Comment 4•13 years ago
|
||
Comment on attachment 575903 [details] [diff] [review]
patch
gather-telemetry is an event we fire to give stuff a chance to gather one-off (and possibly async+expensive) telemetry data.
Attachment #575903 -
Flags: feedback?(tglek) → feedback+
Reassigning to default owner, 'cause this will all change when we get our new cache, and someone else will likely be more appropriate to do this then.
Assignee: hurley → nobody
Updated•9 years ago
|
Whiteboard: [necko-would-take]
Comment 6•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•