Closed
Bug 792148
Opened 12 years ago
Closed 12 years ago
[ARMv6] Disable or reduce Sync support on low-end devices
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: kats, Unassigned)
References
Details
(Whiteboard: [ARMv6])
We should investigate how much memory is used by having sync support, and consider removing or reducing sync support if it gets us memory gains.
Comment 1•12 years ago
|
||
Should be ~0 if Sync isn't set up, so I'd mostly be concerned about users being prompted to set up Sync.
My suggestion as a low-effort solution is to not promote Sync on the home page (and maybe not Marketplace, either!) on low-end devices. Simply don't promote a poor user experience.
Beyond that, if there's a clear and easy way that we can determine whether a device is resource-constrained, we can look at reducing limits (e.g., number of history items fetched) within Sync for those devices.
Hardware: All → ARM
Summary: [ARMv6] Disable or reduce sync support → [ARMv6] Disable or reduce Sync support on low-end devices
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Richard Newman [:rnewman] from comment #1)
> Beyond that, if there's a clear and easy way that we can determine whether a
> device is resource-constrained, we can look at reducing limits (e.g., number
> of history items fetched) within Sync for those devices.
Would this need to be a startup-time check, or can it change dynamically during runtime? (i.e. does sync have knobs that can be adjusted while the app is running to reduce memory usage, or do the knobs only get set on initialization?)
Comment 3•12 years ago
|
||
(In reply to Kartikaya Gupta (:kats) from comment #2)
> Would this need to be a startup-time check, or can it change dynamically
> during runtime? (i.e. does sync have knobs that can be adjusted while the
> app is running to reduce memory usage, or do the knobs only get set on
> initialization?)
Sync has some points that would be suited for adjustment (e.g., number of items processed before flushing a DB batch), but those haven't really been tuned -- for all we know, they're the best balance for a resource-constrained device, given the overhead of DB operations -- so I don't see much point in fiddling with those at runtime.
The main thing I'm thinking of is history download limiting, which mostly applies on a first sync, and definitely doesn't benefit from on-the-fly adjustment -- we would just say "oh, 256MB device? let's grab no more than 1,000 history items in each sync, rather than no more than 5,000". That'll give you a smaller browser.db, which is the big win.
So: wouldn't be "startup-time" in the sense of Fennec's startup, but would occur on a first sync or at the start of each sync.
I'd still be in favor of avoiding promotion of Sync on resource-constrained devices, if we're confident that they can't handle the background work.
Updated•12 years ago
|
Whiteboard: [ARMv6]
Comment 4•12 years ago
|
||
Wont-fix?
Comment 5•12 years ago
|
||
Unless we have evidence that it's impacting KPIs right now, yes.
Sync already runs quite infrequently.
This is something that we should bear in mind for PICL.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•