Closed
Bug 448073
Opened 17 years ago
Closed 16 years ago
figure out the best cache values for Fennec on the n8x0 devices
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(fennec1.0+)
VERIFIED
FIXED
fennec1.0b1
Tracking | Status | |
---|---|---|
fennec | 1.0+ | --- |
People
(Reporter: dougt, Assigned: mfinkle)
References
Details
Attachments
(1 file, 2 obsolete files)
1.54 KB,
patch
|
blassey
:
review+
|
Details | Diff | Splinter Review |
right now it is 1mb. We will increase it to 4mb because loads "feel" snappier. We should investigate and get real values here.
Comment 1•16 years ago
|
||
this will be a lot easier to test once we get things like talos and whatnot running fully
Depends on: 439052
Flags: blocking-fennec1.0+
Updated•16 years ago
|
Target Milestone: --- → Fennec A2
Comment 2•16 years ago
|
||
Is this still a problem or can we close this as WORKSFORME?
Updated•16 years ago
|
Comment 3•16 years ago
|
||
we can't close this -- we still don't have automated tools available to help automate finding the right set of numbers.
Target Milestone: Fennec A2 → Fennec A3
Updated•16 years ago
|
Assignee | ||
Comment 4•16 years ago
|
||
Stuart - how do you want to proceed with this? We have Talos up and running now right?
Comment 5•16 years ago
|
||
yeah. I'd suggest us doing a binary search through different disk cache numbers until we find something we're mostly happy with. Maybe start with 10mb as an upper bound? We should take in to account that many people don't have a lot of room on their main partition on an n810...
um. the n810 has two partitions and you should really consider using the non root partition for cache.
if the user plugs in usb, they're probably not browsing, and a degraded experience is probably best.
the reason we didn't manage to do this for microb is not really technical. we were just distracted.
i'd suggest trying numbers closer to 50mb
Updated•16 years ago
|
tracking-fennec: --- → 1.0b2+
Updated•16 years ago
|
tracking-fennec: 1.0b2+ → 1.0+
Assignee | ||
Comment 7•16 years ago
|
||
* What prefs are we talking about here?
* How do we control the partition used for the cache?
Here are some current prefs:
/* cache prefs */
pref("browser.cache.disk.enable", false);
pref("browser.cache.disk.capacity", 0);
pref("browser.cache.memory.enable", true);
pref("browser.cache.memory.capacity", 1024);
/* http prefs */
pref("network.http.pipelining", true);
pref("network.http.pipelining.ssl", true);
pref("network.http.proxy.pipelining", true);
pref("network.http.pipelining.maxrequests" , 6);
pref("network.http.keep-alive.timeout", 600);
pref("network.http.max-connections", 6);
pref("network.http.max-connections-per-server", 4);
pref("network.http.max-persistent-connections-per-server", 4);
pref("network.http.max-persistent-connections-per-proxy", 4);
/* session history */
pref("browser.sessionhistory.max_total_viewers", 0);
pref("browser.sessionhistory.max_entries", 50);
pref("browser.cache.disk.parent_directory", "/media/mmc2/.mozilla/fennec");
Assignee | ||
Comment 9•16 years ago
|
||
try 10MB and use the /media/mmc2 partition
Assignee: nobody → mark.finkle
Attachment #380827 -
Flags: review?(pavlov)
Comment 10•16 years ago
|
||
Comment on attachment 380827 [details] [diff] [review]
patch (10MB setting)
please don't add the extra blank line before http prefs :)
Assignee | ||
Comment 11•16 years ago
|
||
This patch adds smaller settings for:
* image.cache.size (1MB instead of 5MB) bug 487061
* offline.cache.capacity (5MB instead of 500MB) bug 472341
* moves offline cache to mmc2 on maemo, like the first patch did for the disk.cache
Attachment #380827 -
Attachment is obsolete: true
Attachment #386138 -
Flags: review?(pavlov)
Attachment #380827 -
Flags: review?(pavlov)
Assignee | ||
Updated•16 years ago
|
Assignee | ||
Comment 12•16 years ago
|
||
This patch is the same as the previous, but is a bit more explicit for disk.cache on windows mobile. We don't need to turn off disk.cache for desktop, only winmo
Attachment #386138 -
Attachment is obsolete: true
Attachment #386283 -
Flags: review?(pavlov)
Attachment #386138 -
Flags: review?(pavlov)
Updated•16 years ago
|
Attachment #386283 -
Flags: review?(pavlov) → review+
Assignee | ||
Comment 13•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 14•16 years ago
|
||
missed a semi-colon in the pref file, which breaks things (silently):
https://hg.mozilla.org/mobile-browser/rev/fcbe40a7894d
Comment 15•15 years ago
|
||
these seem to allow for good browsing in beta3. We still need to figure out how to not crash or lock up without swap enabled though
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•