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)

x86
macOS
defect
Not set
normal

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)

right now it is 1mb. We will increase it to 4mb because loads "feel" snappier. We should investigate and get real values here.
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+
Target Milestone: --- → Fennec A2
Is this still a problem or can we close this as WORKSFORME?
No longer blocks: 455755
Depends on: 455755
Blocks: 455755
No longer depends on: 455755
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
No longer blocks: 455755
Depends on: 455755
Stuart - how do you want to proceed with this? We have Talos up and running now right?
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
tracking-fennec: --- → 1.0b2+
tracking-fennec: 1.0b2+ → 1.0+
* 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");
Attached patch patch (10MB setting) (obsolete) — Splinter Review
try 10MB and use the /media/mmc2 partition
Assignee: nobody → mark.finkle
Attachment #380827 - Flags: review?(pavlov)
Comment on attachment 380827 [details] [diff] [review] patch (10MB setting) please don't add the extra blank line before http prefs :)
Attached patch patch 2 (more caches) (obsolete) — Splinter Review
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)
Attached patch patch 3Splinter Review
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)
Attachment #386283 - Flags: review?(pavlov) → review+
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
missed a semi-colon in the pref file, which breaks things (silently): https://hg.mozilla.org/mobile-browser/rev/fcbe40a7894d
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.

Attachment

General

Created:
Updated:
Size: