Closed Bug 590804 Opened 14 years ago Closed 14 years ago

Locking Disk Cache Size to 250MB

Categories

(Testing :: Talos, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: byronm, Assigned: anodelman)

References

Details

Attachments

(1 file)

We are close to landing a patch that determines the size of the user's disk cache based on how much disk space they actually have available: the more disk space available, the larger we will set the cache to. See Bug 559942 for specifics.

We need to turn this feature off in the profile that Talos uses, so that we avoid the risk of the cache size varying across different Talos runs. 

Specifically, we need to set two new preferences introduced by the patch for Bug 559942 to false. Since we need to make this modification before landing the patch, I think the best approach is to add the following two lines to prefs.js of the Talos profile directory: 

user_pref("browser.cache.disk.smart_size.enabled", false);
user_pref("browser.cache.disk.smart_size.first_run", false);

Then, when we land the patch, Firefox will see that smart-sizing is disabled, and will default to using the standard cache size of 250MB. I tested that doing this exhibits the correct behavior. This should guarantee consistency, at least as far as the cache is concerned.
Blocks: 559942
Bumping the priority on this one as this blocks a Firefox 4 beta6 blocker. What's a realistic time to get this done?
Severity: normal → blocker
OS: Mac OS X → All
Priority: -- → P1
Hardware: x86 → All
Can you double check that the pref names are correct in the patch?
Assignee: nobody → anodelman
Attachment #469490 - Flags: review?(jst)
(In reply to comment #2)
> Created attachment 469490 [details] [diff] [review]
> force cache size for talos tests
> 
> Can you double check that the pref names are correct in the patch?

These are correct.
Attachment #469490 - Flags: review?(jst) → review+
Blocks: 591055
Please comment in bug 591055 re: landing schedule.
Comment on attachment 469490 [details] [diff] [review]
[checked in] force cache size for talos tests

Landed:
Checking in sample.config;
/cvsroot/mozilla/testing/performance/talos/sample.config,v  <--  sample.config
new revision: 1.50; previous revision: 1.49
done
Attachment #469490 - Attachment description: force cache size for talos tests → [checked in] force cache size for talos tests
Done like dinner.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: