Add telemetry for parallel marking
Categories
(Core :: JavaScript: GC, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox112 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
From the recent experiment it looks like parallel marking is going to be a useful improvement. We will need some telemetry to track improvements and identify regressions.
| Assignee | ||
Comment 1•2 years ago
|
||
This adds a stast phase PARALLEL_MARK which is used for total time on both main
and helper threads. Addtionally, helper threads record PARALLEL_MARK_MARK and
PARALLEL_MARK_WAIT.
The patch also adds three telemetry probes related to parallel marking:
- GC_PARALLEL_MARK_SPEEDUP - Ratio of total helper thread time spent marking to main thread time
- GC_PARALLEL_MARK_UTILIZATION - Ratio of helper thread time spent marking to total helper thread time
- GC_PARALLEL_MARK_INTERRUPTIONS - Number of interruptions/donations per slice
| Assignee | ||
Comment 2•2 years ago
|
||
Depends on D170379
| Assignee | ||
Comment 3•2 years ago
|
||
Comment 4•2 years ago
|
||
Comment on attachment 9318798 [details]
data_collection_request.txt
Data Review
- Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?
Yes, through the definitions files and the Probe Dictionary.
- Is there a control mechanism that allows the user to turn the data collection on and off?
Yes, through the standard telemetry preferences in the application settings.
- If the request is for permanent data collection, is there someone who will monitor the data over time?
Permanent collection to be monitored by Jon Coppeard
- Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Category 1, Technical data
- Is the data collection request for default-on or default-off?
Default-on
- Does the instrumentation include the addition of any new identifiers (whether anonymous or otherwise; e.g., username, random IDs, etc. See the appendix for more details)?
No
- Is the data collection covered by the existing Firefox privacy notice?
Yes
- Does the data collection use a third-party collection tool?
No
Result
data-review+
Comment 6•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d55afed085e2
https://hg.mozilla.org/mozilla-central/rev/214b5a1cdc71
| Assignee | ||
Comment 7•2 years ago
|
||
This was picked up in code review but I forgot to fix it before landing. This
code should have been moved to a later patch, as the comment said.
Comment 9•2 years ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Comment 10•2 years ago
|
||
| bugherder | ||
Description
•