Closed Bug 1115595 Opened 10 years ago Closed 6 years ago

[meta] SC7715 256MB memory optimization issues

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: styang, Unassigned, NeedInfo)

References

Details

This is the meta bug for tracking memory optimization issues to fit 256MB RAM on Dophin (SC7715).
Depends on: 1115265
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).
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.
(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)
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)
(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.
Depends on: 1062558
Flags: needinfo?(elancaster)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.