High limit of NETWORK_CACHE_METADATA_SIZE and NETWORK_CACHE_METADATA_FIRST_READ_SIZE probes is too low
Categories
(Core :: Networking: Cache, defect, P3)
Tracking
()
People
(Reporter: michal, Assigned: michal)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file, 3 obsolete files)
|
6.39 KB,
patch
|
chutten
:
review+
|
Details | Diff | Splinter Review |
| Assignee | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
| Assignee | ||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Updated•7 years ago
|
Comment 8•7 years ago
|
||
| Assignee | ||
Comment 9•7 years ago
|
||
(In reply to François Marier [:francois] from comment #8)
I imagine you may not have time to do implement all of the things that Chris
proposed in comment 7, but let's at least reduce the bucket size to 100 and
remove this probe from the whitelist entirely.
Linear probe is what we want. I decided to increase the high value, so now it's very unlikely that reported size will overflow. The resolution will be 1kB with 66 buckets, which is fine.
Also, don't forget to:
- get someone to review the code changes in this patch (I'm only looking at
Histograms.json)
The code didn't change since patch v1, so no new review is needed for those changes.
- fill in a data review request (see link in comment 4)
- What questions will you answer with this data?
- We can optimize first read size when reading metadata.
- It will detect when kMaxElementsSize in CacheFileMetadata.cpp isn't big enough.
- Why does Mozilla need to answer these questions? Are there benefits for users? Do we need this information to address product or business requirements?
- Faster cache entry opening.
- If metadata starts to grow for whatever reason, we need to know about it, otherwise we might stop caching entries with too large metadata.
- What alternative methods did you consider to answer these questions? Why were they not sufficient?
- We need data from real users.
- Can current instrumentation answer these questions?
- No
- List all proposed measurements and indicate the category of data collection for each measurement, using the Firefox data collection categories on the Mozilla wiki.
- Size of cache metadata, category 3, bug #1495336
- How long will this data be collected? Choose one of the following:
- I want to permanently monitor this data. (Michal Novotny)
- What populations will you measure?
- All Firefox users.
- If this data collection is default on, what is the opt-out mechanism for users?
- There is no specific opt-out possibility just for this probe, so general out-out mechanism applies.
- Please provide a general description of how you will analyze this data.
- Basic analysis on TMO measurement dashboard.
- Where do you intend to share the results of your analysis?
- The data would be used to file appropriate bug.
Comment 10•7 years ago
|
||
Preliminary notes:
Category 3 is for Web Activity data that is considered sensitive. The size of the cache metadata is a technical detail, not a personal or sensitive one, so is Category 1.
Also, your data request is for all firefox users but your definition of NETWORK_CACHE_METADATA_SIZE_2 is for prerelease channels only. If you'd like it to be collected in release you'll need to add "releaseChannelCollection": "opt-out", to the definition. This Data Review covers whether you want it for all channels or just prerelease, so no need to refile.
DATA COLLECTION REVIEW RESPONSE:
Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?
Yes. This collection is Telemetry so is documented in its definitions file (Histograms.json), the Probe Dictionary, and on telemetry.mozilla.org's Measurement Dashboards.
Is there a control mechanism that allows the user to turn the data collection on and off?
Yes. This collection is Telemetry so can be controlled through Firefox's Preferences.
If the request is for permanent data collection, is there someone who will monitor the data over time?
Yes. :michal is responsible.
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.
Is the data collection request for default-on or default-off?
Default on for all channels.
Does the instrumentation include the addition of any new identifiers?
No.
Is the data collection covered by the existing Firefox privacy notice?
Yes.
Does there need to be a check-in in the future to determine whether to renew the data?
No. This collection is permanent.
Result: datareview+
Comment 11•7 years ago
|
||
| Assignee | ||
Comment 12•7 years ago
|
||
Also, your data request is for all firefox users but your definition of NETWORK_CACHE_METADATA_SIZE_2 is for prerelease channels only. If you'd like it to be collected in release you'll need to add "releaseChannelCollection": "opt-out", to the definition. This Data Review covers whether you want it for all channels or just prerelease, so no need to refile.
Thanks for pointing this out, I think prerelease should be sufficient.
Comment 13•7 years ago
|
||
Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/cd696bc79dff
High limit of NETWORK_CACHE_METADATA_SIZE and NETWORK_CACHE_METADATA_FIRST_READ_SIZE probes is too low. r=chutten
Comment 14•7 years ago
|
||
| bugherder | ||
Updated•7 years ago
|
Comment 15•7 years ago
|
||
Did you want to uplift this to Beta so 65 has the new probe? If so, please nominate ASAP.
Updated•7 years ago
|
Description
•