Closed
Bug 948977
Opened 11 years ago
Closed 10 years ago
NUWA slows cold launch time for Clock app
Categories
(Core :: IPC, defect, P1)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bkelly, Unassigned)
References
Details
(Keywords: perf, regression, Whiteboard: [c=progress p= s=2014.02.14 u=tarako])
It appears clock launch time regressed yesterday by about 40ms. See: https://datazilla.mozilla.org/b2g/?branch=master&device=hamachi&range=7&test=cold_load_time&app_list=clock&app=clock&gaia_rev=1997c55ce6e6f743&gecko_rev=3a2d8af198510726 Regression range from datazilla: https://github.com/mozilla-b2g/gaia/compare/916bcdd5d9a3...1997c55ce6e6f7 http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=9f12a9fab080&tochange=df82be9d89a5
Comment 1•11 years ago
|
||
The changeset corresponding to this timeframe shows no patches to Gaia's Clock application: https://github.com/mozilla-b2g/gaia/commits/master/apps/clock So I believe this regression was caused by a change in the platform.
Reporter | ||
Comment 2•11 years ago
|
||
Dylan, do you have anyone who can investigate this clock launch time regression? You can reproduce the timing measurements from datazilla by doing the following with a real device hooked up to USB: pip install b2gperf adb forward tcp:2828 tcp:2828 b2gperf --delay=10 Clock
Flags: needinfo?(doliver)
Priority: -- → P1
Reporter | ||
Comment 3•11 years ago
|
||
Nom for 1.4 blocker due to regression.
blocking-b2g: --- → 1.4?
Keywords: regression
Updated•11 years ago
|
Keywords: regressionwindow-wanted
Comment 4•11 years ago
|
||
Need regression window of changesets on mozilla-central.
Reporter | ||
Comment 5•11 years ago
|
||
I'm just about done bisecting this. I will post my results shortly.
Keywords: regressionwindow-wanted
Reporter | ||
Comment 6•11 years ago
|
||
My bisection suggests that this was introduced with bug 930282: https://hg.mozilla.org/mozilla-central/rev/19124ad87c71 https://hg.mozilla.org/mozilla-central/rev/3fa57d5d6db0 https://hg.mozilla.org/mozilla-central/rev/ecfccd18bcf2 What's more, disabling NUWA in b2g/confvars.sh, such as was done in bug 948829, does not seem to return us to our previous launch times. Clock only regains about 20ms of the original 40ms regression. As far as I can tell this is mainly due to the changes in Part 3: https://hg.mozilla.org/mozilla-central/rev/ecfccd18bcf2 I don't have a good explanation of why this effects Clock more than other apps.
Blocks: 930282
Reporter | ||
Comment 7•11 years ago
|
||
(In reply to Ben Kelly [:bkelly] from comment #6) > What's more, disabling NUWA in b2g/confvars.sh, such as was done in bug > 948829, does not seem to return us to our previous launch times. Clock only > regains about 20ms of the original 40ms regression. As far as I can tell > this is mainly due to the changes in Part 3: > > https://hg.mozilla.org/mozilla-central/rev/ecfccd18bcf2 Actually, please ignore this part. I re-ran my b2gperf tests with NUWA disabled and the regression was fully resolved. The 20ms I reference above was variation due to using a smaller number of b2gperf iterations while bisecting.
Flags: needinfo?(doliver)
Reporter | ||
Comment 8•11 years ago
|
||
Rename the description to reflect that its a NUWA problem. Also, since NUWA is currently disabled I'm marking this as a blocker for re-enabling NUWA. Also note, while this effects clock the most, I do believe there are smaller regressions in other apps as well when NUWA is enabled. Its harder to see in the graph due to outliers in those apps skewing results.
Blocks: 950266
Component: Gaia::Clock → IPC
Product: Firefox OS → Core
Summary: clock launch time regression on datazilla (12/10) → NUWA slows cold launch time for Clock app
If this happens regardless of the value of the Nuwa config variable, why does it block flipping said variable?
Reporter | ||
Comment 10•11 years ago
|
||
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #9) > If this happens regardless of the value of the Nuwa config variable, why > does it block flipping said variable? I think I mis-communicated. Disabling NUWA does remove the launch regression. I had previously thought it did not fully, but further testing showed I was incorrect about that. Sorry for the confusion.
Reporter | ||
Comment 11•11 years ago
|
||
And if you are wondering why we don't see the launch time drop back down in datazilla when NUWA was disabled, we are missing data for that time window. During this same period of datazilla missing data there was another platform regression across many apps. So the time gain of disabling NUWA was probably wiped out by that regression when we started getting data again last Friday.
Comment 12•11 years ago
|
||
Can we know how is app launch performance measured (or any way to perform the same tests on our device)? The number indicates that the preallocated process is used in the test. If this is true, the we should not see such regression resulting from Nuwa. Anyway we need to redo the tests on the device to see how the slowdown came to be.
Flags: needinfo?(bkelly)
Reporter | ||
Comment 13•11 years ago
|
||
Steps to reproduce are in comment 2. Basically you need to install b2gperf and run it against a hamachi device. pip install b2gperf adb forward tcp:2828 tcp:2828 b2gperf --delay=10 Clock This will restart b2g, wait 60 seconds, and then launch Clock 30 times. I typically look at the reported median value. The cold_load_time is essentially just the time it takes to load static content. Internally its reported as the time between the gaia system launching the app and when the mozbrowseloadend event occurs.
Flags: needinfo?(bkelly)
Updated•11 years ago
|
Whiteboard: [c= p= s= u=] → [c= p= s= u=][tarako]
Updated•11 years ago
|
Whiteboard: [c= p= s= u=][tarako] → [c= p= s= u=][tarako-p2]
Reporter | ||
Comment 14•10 years ago
|
||
During the recent NUWA enable/disable I did not see launch changes for clock as described here. It seems that whatever the issue was it has been resolved along with other fixes. Also, it seems unlikely we would hold back a high priority system memory improvement for a slight launch regression in one app.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Updated•10 years ago
|
Whiteboard: [c= p= s= u=][tarako-p2] → [c=progress p= s=2014.02.14 u=tarako] [tarako-p2]
Updated•10 years ago
|
blocking-b2g: 1.4? → ---
Comment 15•10 years ago
|
||
remove [tarako]
Whiteboard: [c=progress p= s=2014.02.14 u=tarako] [tarako-p2] → [c=progress p= s=2014.02.14 u=tarako]
You need to log in
before you can comment on or make changes to this bug.
Description
•