Closed Bug 958760 Opened 11 years ago Closed 11 years ago

ril_worker.js seems to always be running using 2.7MB of memory in v1.3

Categories

(Firefox OS Graveyard :: RIL, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bkelly, Unassigned)

References

Details

(Keywords: perf, regression, Whiteboard: [c= p= s= u=][MemShrink])

While investigating bug 957346 I noticed that on v1.3 the ril_worker.js always seemed to be running. On the same device with the same simcard and wifi settings the ril_worker.js was never seen in the memory reports. This is a problem because the ril_worker seems to use about 2.7MB which is a significant amount of space on these devices. Can anyone from the RIL team comment on this? I'm nom'ing this for 1.3? blocking status since bug 957346 is a CS 1.3+ blocker.
For the memory reports please see bug 957346 comment 6.
Whiteboard: [c= p= s= u=][memshrink] → [c= p= s= u=][MemShrink]
My guess is this is a regression, so flagging as such.
Keywords: regression
Were you using a moz ril in both cases? If you're using the com ril there is no worker.
(In reply to Fabrice Desré [:fabrice] from comment #3) > Were you using a moz ril in both cases? If you're using the com ril there is > no worker. I am using OEM gonk in both cases. This is a buri with V1.2_US_20131115.cfg. I was flashing only gecko and gaia to switch to v1.2 vs v1.3. I used ./flash.sh gecko and make reset-gaia to do this. I didn't think this would change the RIL in use. Does it?
The com ril is a binary xpcom component, and these are not compatible from one gecko version to another. So your 1.2 (gecko 26) build runs with the com ril, but this component is not compatible with 1.3 (gecko 28) so we fallback on the moz ril and its worker.
(In reply to Fabrice Desré [:fabrice] from comment #5) > The com ril is a binary xpcom component, and these are not compatible from > one gecko version to another. So your 1.2 (gecko 26) build runs with the com > ril, but this component is not compatible with 1.3 (gecko 28) so we fallback > on the moz ril and its worker. Is there anything in the log I can look for to verify that is happening? On my 1.3 I am seeing log messages from QCRIL_RPC, etc.
Anyway, I'm going to mark this INVALID as it seems my configuration is bogus. Sorry for the noise!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
On my 1.4 gecko build running on a 1.2 base I get that early in startup: E/GeckoConsole( 4612): Native module at path '/system/b2g/distribution/bundles/libqc_b2g_ril/libqc_b2g_ril.so' is incompatible with this version of Firefox, has version 26, expected 29.
(In reply to Fabrice Desré [:fabrice] from comment #8) > On my 1.4 gecko build running on a 1.2 base I get that early in startup: > > E/GeckoConsole( 4612): Native module at path > '/system/b2g/distribution/bundles/libqc_b2g_ril/libqc_b2g_ril.so' is > incompatible with this version of Firefox, has version 26, expected 29. Yep, I have that. Thanks!
You need to log in before you can comment on or make changes to this bug.