[meta] SC7715 256MB memory optimization issues

NEW
Unassigned

Status

Firefox OS
GonkIntegration
3 years ago
3 years ago

People

(Reporter: styang, Unassigned, NeedInfo)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
This is the meta bug for tracking memory optimization issues to fit 256MB RAM on Dophin (SC7715).
(Reporter)

Updated

3 years ago
Depends on: 1115265

Comment 1

3 years ago
From Shawn Ku:

After checking the data among different versions.
(https://docs.google.com/a/mozilla.com/spreadsheets/d/1s8suJNJ09lPN4N15WS5yS_RET-2ryuX9eOdDvfiImEg/edit#gid=0)
Totally 170MB was consumed after boot-up (excluding modem part) which is very risky for us to run on 256MB RAM device.

There are three major difference between 1.4 and 2.0.
1. Non B2G process - these include kernel, native processes etc.... (+23MB).
      Upgrading from JB to KK.
2. Built-in Keyboard (+12MB),
      Move from in-Process to OOP.
3. Fine my device (+9MB).

Comment 2

3 years ago
From Tim Chien: 

Input mgmt will push the keyboard app to in-proc when the total memory
is less than 512M. This is a behavior since 2.0 so it shouldn't be a
concern.

Comment 3

3 years ago
(In reply to Kevin Hu [:khu] from comment #1)
> 3. Fine my device (+9MB).

Hi, Erin, can we get your comments about this? Is it something in your plate? Or, your team only covers server side? Thanks.
Flags: needinfo?(elancaster)
(Reporter)

Updated

3 years ago
Blocks: 1115631
Are you seeing bug 1062558 with FMD?  Or are you actually using it?
Hi Kyle,
From Bug 1062558, agree that FMD shouldn't consume mem when it's not activated, this is one problem needs to be resolved.

furthermore, would like to know if the 9MB mem usage for FMD is reasonable, wondering whom from engineering side can comment on this?
thanks!


BR,
Marvin
Flags: needinfo?(khuey)
We would need to compare the usage of FMD to the usage of other apps to determine that.  I would say that you should direct that at the b2g performance team, but they don't exist anymore.
Flags: needinfo?(khuey)
(Reporter)

Comment 7

3 years ago
(In reply to Marvin Khoo [:Marvin_Khoo] from comment #5)
> Hi Kyle,
> From Bug 1062558, agree that FMD shouldn't consume mem when it's not
> activated, this is one problem needs to be resolved.
> 
> furthermore, would like to know if the 9MB mem usage for FMD is reasonable,
> wondering whom from engineering side can comment on this?
> thanks!
> 
> 
> BR,
> Marvin

I think it's the topic worth to dig out. Thinker, does your team have bandwidth to look into(profile) the details? I'll create another bug to track this issue. Thanks.
I'll create another bugs for tracking later.
Flags: needinfo?(tlee)
Thanks Kyle, Steven and Thinker following up this.
(Reporter)

Updated

3 years ago
Depends on: 1062558

Updated

3 years ago
Flags: needinfo?(elancaster)
You need to log in before you can comment on or make changes to this bug.