Closed Bug 770883 Opened 12 years ago Closed 12 years ago

Disable functionality for clearing prefetch

Categories

(Core :: Widget: Win32, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla16
Tracking Status
firefox14 --- unaffected
firefox15 + verified
firefox16 --- verified

People

(Reporter: bbondy, Assigned: bbondy)

References

Details

(Whiteboard: [qa!])

Attachments

(1 file)

The STARTUP_USING_PRELOAD_TRIAL histogram in correlation to startup time analysis in Bug 765850 has shown us that other than the slowest 1% of startups, prefetch disabling hurts us. We need to land a patch that disables the functionality of clearing prefetch, but keeps everything else in place. This task will ensure that clearing does not happens on beta (will be v15) and Release (will be v14) on the next migration. We will request that this goes on Aurora (currently v15) after it lands on Nightly (currently v16).
Hmm okay (makes sense after reading the analysis). For windows users that dogfood Aurora and Nightly, what should we do about the fact that they now have prefetch files that are 0 KB and read only? Are they permanently stuck with those prefetch files unless they explicitly go into C:\Windows\Prefetch and remove them? Or is there something we can do on our end? Is this a permanent backout of this functionality or a pref off until a better approach is found?
I'll be posting a follow up email about how this will be reverted completely for all users including those of Aurora and Nightly a bit later today. In short after the next migration I'll land a new patch on the new Nightly and Aurora that deletes prefetch files only if they are read only and 0 sized. Then that task itself will be reverted before the migration after that. In the end, unfortunately this is probably a permanent backout.
Attached patch Patch v1 (deleted) — Splinter Review
The reason I'm just #if 0'ing it out is because there will be another patch in a bug I'm about to post that will re-add this functionality. That new patch will not land until after the next migration. It will re-add the functionality but change prefetch clearing so it deletes the prefetch only when it is 0 bytes and read-only.
Attachment #639100 - Flags: review?(taras.mozilla)
Blocks: 770899
Blocks: 770911
Comment on attachment 639100 [details] [diff] [review] Patch v1 rubberstamp
Attachment #639100 - Flags: review?(taras.mozilla) → review+
http://hg.mozilla.org/integration/mozilla-inbound/rev/dfca0a052c47 Tested this patch on elm, also tested to make sure upgrades are fine and are unaffected since this touches the maintenance service.
Target Milestone: --- → mozilla16
Comment on attachment 639100 [details] [diff] [review] Patch v1 [Approval Request Comment] Bug caused by (feature/regressing bug #): bug 692255 User impact if declined: We don't want to clear people's prefetch on the Beta channel since we found that clearing is a net negative. Testing completed (on m-c, etc.): Tested on elm already, pushed to m-i so should be on m-c soon too. Risk to taking this patch (and alternatives if risky): Low String or UUID changes made by this patch: None
Attachment #639100 - Flags: approval-mozilla-aurora?
QA Contact: jsmith
Whiteboard: [qa+]
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment on attachment 639100 [details] [diff] [review] Patch v1 [Triage Comment] Low risk, prevents a new regression in FF15.
Attachment #639100 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Verified on Nightly.
Status: RESOLVED → VERIFIED
Whiteboard: [qa+] → [qa!]
Whiteboard: [qa!] → [qa+]
Whiteboard: [qa+] → [qa!]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: