Closed
Bug 1052716
Opened 11 years ago
Closed 10 years ago
Add telemetry for GGC
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: terrence, Assigned: terrence)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
5.53 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
I expect we'll want pause time in microseconds for the minor gc itself and possibly also time we spend in compacting.
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → terrence
Assignee | ||
Comment 1•10 years ago
|
||
I think this will do what we want.
Attachment #8606001 -
Flags: review?(sphink)
Comment 2•10 years ago
|
||
Comment on attachment 8606001 [details] [diff] [review]
telemetry_ggc-v0.diff
Review of attachment 8606001 [details] [diff] [review]:
-----------------------------------------------------------------
r=me but according to the letter of https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Adding_a_new_Telemetry_probe it seems like we need a privacy review.
::: js/src/gc/Nursery.cpp
@@ +426,5 @@
> rt->gc.stats.count(gcstats::STAT_MINOR_GC);
>
> TraceMinorGCStart();
>
> + int64_t timstampStart_total = PRMJ_Now();
Who is tim and why are you stamping him?
::: toolkit/components/telemetry/Histograms.json
@@ +345,5 @@
> + },
> + "GC_MINOR_US": {
> + "expires_in_version": "never",
> + "kind": "exponential",
> + "high": "20000",
Can't we get worse than 20ms? I thought we'd seen seconds before.
Seems like we should at least go to 1s.
Attachment #8606001 -
Flags: review?(sphink) → review+
Comment 3•10 years ago
|
||
Request for adding new telemetry probes. This should be a no-brainer; these are well within the umbrella of existing probes.
Flags: needinfo?(vdjeric)
Comment 4•10 years ago
|
||
Comment on attachment 8606001 [details] [diff] [review]
telemetry_ggc-v0.diff
Review of attachment 8606001 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM
::: toolkit/components/telemetry/Histograms.json
@@ +330,5 @@
> "high": "500",
> "n_buckets": 50,
> "description": "Time spent sweeping slowest compartment SCC (ms)"
> },
> + "GC_MINOR_REASON": {
Who should we contact if we notice unexpected changes in this histogram's data? i.e. http://alerts.telemetry.mozilla.org/index.html)
You can either add the "alert_emails" field and point it to some "GC team" alias, or just list the bugzilla component (in the histograms' description field) where we should file bugs
Updated•10 years ago
|
Flags: needinfo?(vdjeric)
Assignee | ||
Comment 5•10 years ago
|
||
Oh, that's a neat feature! Guess I can close bug 1164985 then.
Assignee | ||
Comment 6•10 years ago
|
||
Actually, it turns out that Vladan is filing this bugs by hand, so I've filed a ServiceNow request to create a new mailing list: dev-telemetry-gc-alerts.
Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Steve Fink [:sfink, :s:] from comment #2)
> Comment on attachment 8606001 [details] [diff] [review]
> telemetry_ggc-v0.diff
>
> Review of attachment 8606001 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> r=me but according to the letter of
> https://developer.mozilla.org/en-US/docs/Mozilla/Performance/
> Adding_a_new_Telemetry_probe it seems like we need a privacy review.
> ::: toolkit/components/telemetry/Histograms.json
> @@ +345,5 @@
> > + },
> > + "GC_MINOR_US": {
> > + "expires_in_version": "never",
> > + "kind": "exponential",
> > + "high": "20000",
>
> Can't we get worse than 20ms? I thought we'd seen seconds before.
>
> Seems like we should at least go to 1s.
We only get 50 buckets though, so this does cut into our resolution on the low end, even with exponential scaling. We also don't have enough information here to tell why they're going so long. I guess it's a balance between knowing how long the tail is vs being able to see how normal the distribution is lower down. I guess it's probably better to see how long the tail is here, so I suppose I'll extend this as you suggest.
Assignee | ||
Comment 8•10 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=bc668b08e3e8
I'm going to add the "alert_emails" field to every GC telemetry probe at once in bug 1164985.
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•