ofono between 30% and 40% CPU usage when roaming
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
touch-preview-images |
Fix Released
|
Critical
|
Tony Espy |
Bug Description
HARDWARE=maguro
JENKINS_BUILD=153
This is probably the first roaming bug, so may miss some important key elements. What's important about this bug is not that it does not work, but that ofono overuses the CPU due to it. I would consider the former a feature and not a bug for the lack of its implementation.
After booting, depending if in movement or not, this is the minimum I would see with top while sedentary:
456 root 20 0 5312 1828 1444 R 31.1 0.3 15:27.03 ofonod
456 root 20 0 5312 1828 1444 R 32.9 0.3 15:33.45 ofonod
456 root 20 0 5312 1828 1444 R 26.3 0.3 15:36.35 ofonod
456 root 20 0 5312 1828 1444 R 33.0 0.3 15:39.19 ofonod
The latest messages seen from ofono -d are
Jun 6 09:16:12 ubuntu-phablet ofonod[460]: [235755]< RIL_REQUEST_
Jun 6 09:16:12 ubuntu-phablet ofonod[460]: [235756]> RIL_REQUEST_
Jun 6 09:16:12 ubuntu-phablet ofonod[460]: [235756]< RIL_REQUEST_
Jun 6 09:16:12 ubuntu-phablet ofonod[460]: [235757]> RIL_REQUEST_
Jun 6 09:16:12 ubuntu-phablet ofonod[460]: [235757]< RIL_REQUEST_
Jun 6 09:16:12 ubuntu-phablet ofonod[460]: [235758]> RIL_REQUEST_
Jun 6 09:16:12 ubuntu-phablet ofonod[460]: [235758]< RIL_REQUEST_
Jun 6 09:16:12 ubuntu-phablet ofonod[460]: [235759]> RIL_REQUEST_
Jun 6 09:16:12 ubuntu-phablet ofonod[460]: [235759]< RIL_REQUEST_
Jun 6 09:16:12 ubuntu-phablet ofonod[460]: [235760]> RIL_REQUEST_
The full logs leading to this can be checked at http://
Finally, this is the context and modem lists, notice Attached = 0 in this last snapshot
phablet@
[ /ril_0 ]
[ /ril_0/context1 ]
Username =
Protocol = ip
Name = Internet
Settings = { }
Active = 0
Password =
Type = internet
[ /ril_0/context2 ]
Username =
Protocol = ip
Name = Internet
Settings = { }
Active = 0
Password =
Type = internet
[ /ril_0/context3 ]
Username =
Protocol = ip
Name = Internet
Settings = { }
Active = 0
Password =
Type = internet
[ /ril_0/context4 ]
Username =
Protocol = ip
Name = Internet
Settings = { }
Active = 0
Password =
Type = internet
phablet@
[ /ril_0 ]
Features = sms net gprs sim
Emergency = 0
Powered = 1
Lockdown = 0
Interfaces = org.ofono.
Online = 1
Model = Fake Modem Model
Revision = Fake Revision
Type = hardware
Serial = THIS-IS-
Manufacturer = Fake Manufacturer
[ org.ofono.
Muted = 1
[ org.ofono.
[ org.ofono.
[ org.ofono.
Alphabet = default
Bearer = cs-preferred
[ org.ofono.
Status = roaming
Strength = 48
Name = Personal (ANTEL)
Mode = auto
Technology = umts
CellId = 1059907
[ org.ofono.
[ org.ofono.
Powered = 1
Attached = 0
Bearer = none
[ org.ofono.
Retries =
LockedPins =
Present = 1
PinRequired = none
Related branches
- Martin Pitt: Approve
- Ricardo Salveti (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
- Tiago Salem Herrmann: Pending requested
-
Diff: 67 lines (+7/-28)2 files modifieddebian/changelog (+6/-0)
drivers/rilmodem/gprs.c (+1/-28)
description: | updated |
Changed in touch-preview-images: | |
status: | New → In Progress |
tags: | added: dogfood |
Changed in touch-preview-images: | |
status: | In Progress → Fix Committed |
Changed in touch-preview-images: | |
status: | Fix Committed → Fix Released |
Setting roaming to allowed ofono/scripts/ set-roaming- allowed 1
/usr/share/
set the modem to attached and brought the cpu down.