Closed Bug 1013387 Opened 11 years ago Closed 11 years ago

Music Memory Usage Regression

Categories

(Firefox OS Graveyard :: Gaia::Music, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED INVALID
2.0 S2 (23may)

People

(Reporter: mchang, Assigned: mchang)

References

Details

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

Attachments

(6 files)

From datazilla - https://datazilla.mozilla.org/b2g/?branch=master&device=hamachi&range=7&test=music_memory&app_list=system_vsize&app=system_vsize&gaia_rev=d3b16b36d76b5713&gecko_rev=41a54c8add09&plot=median Music memory usage went from ~207mb to ~230 mb. Regression range: Good: Gaia Revision: d3b16b36d76b5713 Gecko Revision: 41a54c8add09 Bad: Gaia Revision: 84b62184b87e229d Gecko Revision: 41a54c8add09 Might be related to: bug 1013381.
I tried using make test perf to measure memory, but I think it is inaccurate. It just opens the app, grabs a snapshot of memory using b2g-info, then reports that data. The problem with the music app is that on app start up, we start scanning the music library, so memory usage goes up. Once we load the library, the GC kicks in and we reclaim the memory. For both the good and bad gaia revisions, the b2g-info memory usage is the same. Just the transient memory usage is different, which isn't quite fair. If you look at the attached memory reports, we essentially see that the "good" version actually looks worse than the bad version, but both are increasing. Both numbers are also below what datazilla is reporting. I'm not quite sure this is actually a regression or a measurement error. Investigating.
The problem also is in the way we collect memory info: we execute "b2g-info" which mean that it is not instant. Just FYI.
There were also no music app changes since April 27 - https://github.com/mozilla-b2g/gaia/commits/master/apps/music
Closing this bug as invalid from previous memory measurements and comment 1. I went back to an older gaia, revision cf66f95f3e323cd0. Even in the older stable gaia, the system.uss and system.rss increase after every run of make test-perf, but stabilize after a reboot or after the music app finishes reading the app. This is probably an error in the test framework then. Since Gecko did not change between these measurements as well, this is not a Gecko regression.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Attached file good.txt
make test-perf log from good revision - http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Perf/job/b2g.hamachi.mozilla-central.master.mozperftest/2846/ Confirmed false regression. The order we ran music changed. The good version ran browser, then music. The bad version ran browser, camera, then music. Since make test-perf increases the system.rss size after every run, it looked like a memory regression.
Target Milestone: --- → 2.0 S2 (23may)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: