Closed Bug 1007008 Opened 11 years ago Closed 7 years ago

[Tarako][Performance]Play music and use dialer app simultaneously, music and dialer keypad animation will lag

Categories

(Firefox OS Graveyard :: Performance, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(tracking-b2g:-)

RESOLVED WONTFIX
tracking-b2g -

People

(Reporter: mlien, Unassigned)

Details

(Keywords: perf, Whiteboard: [c=memory p= s= u=tarako])

[Device] Tarako --------------------------------------------- [Reproduction build] - 0429pac + PVT v1.3T Gaia 746934a1e331b9ce578bd9fbdb4614d950baf765 Gecko https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/771fedd3e904 BuildID 20140506164003 Version 28.1 --------------------------------------------- [Reproduce Steps] 1. Launch Music app -> Play music 2. Go to homescreen -> Launch Dialer app 3. Keypad -> Input some number or characters --------------------------------------------- [Expected Result] Music, keypad sound and animation are smooth --------------------------------------------- [Actual Result] 1. Music will lag 2. Keypad animation will lag 3. Characters will delay to appear --------------------------------------------- [Reproduce Rate] 80%
ni? Dkuo for further comments
Flags: needinfo?(dkuo)
weird behavior, after I reboot device, this performance issue only can be reproduced while pressing keypad rapidly suspect due to many high memory pressure action before even processes are all killed I will try to find a reliable STR
(In reply to Mike Lien[:mlien] from comment #2) > weird behavior, after I reboot device, this performance issue only can be > reproduced while pressing keypad rapidly > suspect due to many high memory pressure action before even processes are > all killed > I will try to find a reliable STR Removing from blocking nom till we find reliable STR, also added qawanted for the same.
blocking-b2g: 1.3T? → ---
Keywords: qawanted
Keywords: perf
Priority: -- → P2
Whiteboard: [c=memory p= s= u=]
(In reply to bhavana bajaj [:bajaj] from comment #3) > (In reply to Mike Lien[:mlien] from comment #2) > > weird behavior, after I reboot device, this performance issue only can be > > reproduced while pressing keypad rapidly > > suspect due to many high memory pressure action before even processes are > > all killed > > I will try to find a reliable STR > > Removing from blocking nom till we find reliable STR, also added qawanted > for the same. Prerequisites: Have battery at or below 35 percent STR 1. Take SIM card out of Device and start device 2. Swipe from E.me page to homescreen with Music App and Tap Music 3. Tap Artist 311 to autoplay song 'Down' 4. Let music play 3-6 seconds then Tap homescreen and tap Dialer App 5. Press dialer buttons Actual: Music deteriorates almost immediately as crackling/break-up to the song occurs. Keypad animation is slow and characters selected in a normal pattern display slowly. Expected: Music, keypad sound and animation are smooth Other notes: Battery life was 35% during first repro testing. After 3 repros, battery life fell to 17%. Power save was not enabled. After 2 more repros (#4-5) battery life fell to 15%. Repro Rate: 6/6 - 100 percent Device: Tarko 1.3T MOZ BuildID: 20140507014006 Gaia: 25a17d9d7143977ea9a81ed310098e326609d248 Gecko: 68a2f24960d2 Version: 28.1 Firmware Version: sp6821a-gonk4.0-4-29
If I remembered correctly, dialer started to use Web Audio to play the key tones from 1.3, and that's probably something will cause performance regression because the audio context use a different way to play the sounds, and maybe the nodes are not correctly disconnected after we tapped the keypad rapidly. Also, I guess the cpu loading should be high when this happens, we can find out which process/app occupies the cpu first then dig the root cause in that app.
Flags: needinfo?(dkuo)
I found that while lag happening, b2g process and dialer app consume almost remaining CPU time PID CPU% VSS RSS PCY UID Name Music 51% 69840K 22260K fg app_1273 /system/b2g/plugin-container b2g 36% 137424K 36440K fg root /system/b2g/b2g Communications 4% 66924K 16376K fg app_1149 /system/b2g/plugin-container
Whiteboard: [c=memory p= s= u=] → [c=memory p= s= u=tarako]
tracking-b2g: --- → -
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.