Closed Bug 758206 Opened 14 years ago Closed 14 years ago

Add a new telemetry histogram for the reason preload is activated

Categories

(Core :: Widget: Win32, defect)

12 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla15

People

(Reporter: bbondy, Assigned: bbondy)

References

Details

(Whiteboard: [qa!])

Attachments

(2 files, 1 obsolete file)

We should add a new telemetry histogram in Windows for the reason preload is being used. Values should be 0 for none, 1 for preload because service disabled prefetch, and 2 because ioCounters.ReadOperationCount is 0.
Component: Application Update → Widget: Win32
Product: Toolkit → Core
QA Contact: application.update → win32
Attached patch Patch v1. (obsolete) — — Splinter Review
Attachment #626792 - Flags: review?(taras.mozilla)
Comment on attachment 626792 [details] [diff] [review] Patch v1. thanks
Attachment #626792 - Flags: review?(taras.mozilla) → review+
I just noticed when I did a full build that I was getting a compiling error. I think I need to update the definition of the histogram from > ...0, 2, 3... to: > 1, 2, Please confirm and I'll attach a new patch and carry forward the r+.
Updated to 1,2,3 as per IRC, carrying forward r+.
Attachment #626792 - Attachment is obsolete: true
Attachment #626862 - Flags: review+
This patch will help us get better telemetry data. It will more deterministically detect when we should mark the prefetch cleared flag that we use in telemetry.
Attachment #627236 - Flags: review?(taras.mozilla)
This patch will also improve the message in the log for already cleared prefetch file (it won't say access denied anymore for those files)
Attachment #627236 - Flags: review?(taras.mozilla) → review+
Thanks for the quick reviews :)
Attachment #626862 - Attachment description: Patch v2. → Patch v2 - Base patch for adding telemetry for preload
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
Whiteboard: [qa+]
Checking the telemetry histogram for STARTUP_USING_PRELOAD, I see that the histogram has been populated with 44815 submissions with the following distribution: - 0: 56.95% (none) - 1: 23.16% (preload since service disabled prefetch) - 2: 19.88% (ioCounters.ReadOperationCount = 0) I believe this verifies if we're getting data, correct? One clarification question - What exactly is this distribution telling us? Trying to understand how to interpret this histogram.
> I believe this verifies if we're getting data, correct? Correct. > One clarification question - What exactly is this distribution telling us? > Trying to understand how to interpret this histogram. 1 tells us that only 23% of the users that have telemetry enabled have a fully cleared prefetch. Keep in mind that x64 builds don't have a service to clear prefetch with and XP users won't clear on update. It jumps to 40% on Aurora by the way.
Status: RESOLVED → VERIFIED
Whiteboard: [qa+] → [qa!]
(In reply to Brian R. Bondy [:bbondy] from comment #10) > 1 tells us that only 23% of the users that have telemetry enabled have a > fully cleared prefetch. Keep in mind that x64 builds don't have a service > to clear prefetch with and XP users won't clear on update. It jumps to 40% > on Aurora by the way. Although Aurora has a much smaller sample set (219) and I'm not sure this makes sense to see this on Aurora, given that this patch landed on 5/27, but there's data in this pool from 5/17 and on. The nightly pool has a similar issue, as I'm seeing submissions included in here from 5/9 and on. Is something not right here?
Or maybe I'm interpreting the graph for "submissions by date" incorrectly.
(In reply to Jason Smith [:jsmith] from comment #12) > Or maybe I'm interpreting the graph for "submissions by date" incorrectly. Actually, I get the feeling this is a problem in that particular graph, cause the graph below that by platform ID appears to be as one would expect (6/1 and on).
(In reply to Jason Smith [:jsmith] from comment #13) > (In reply to Jason Smith [:jsmith] from comment #12) > > Or maybe I'm interpreting the graph for "submissions by date" incorrectly. > > Actually, I get the feeling this is a problem in that particular graph, > cause the graph below that by platform ID appears to be as one would expect > (6/1 and on). Confirmed this is a problem with the actual graph.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: