Login after cold start takes 22 seconds on Pixel when flags set (and not reported via BootTime.Login) |
|||||||||||
Issue descriptionChrome Version: 55.0.2883.82 Chrome OS Version: 8872.67.0 Chrome OS Platform: Pixel Network info: Google WiFi Steps To Reproduce: (1) Turn power off (2) Turn on, login with password (3) Time how long it takes for the UI to appear (4) Check chrome://histograms/BootTime Expected Result: A few seconds of a black screen, and the actual time to be shown under BootTime.Login Actual Result: 22 seconds!!! BootTime doesn't include Login - is this key metric even being reported? How frequently does this problem reproduce? Always on this device. Will try others. I submitted feedback, but it's now showing up in my reports yet. See also issue 675965 which discusses the regression in BootTime.Login. But I'm consistently seeing much longer times than even the 99th percentile and this is on a relatively fast Chromebook so something is either especially wrong for me, or the UMA data is actually not representative (and with it not showing for me in chrome://histograms I worry it could be the latter).
,
Dec 21 2016
Was fine (~4 seconds) on another Pixel device running 55.0.2883.103 using the same account. Upgrading the first device to 56.0.2924.28 didn't help. So presumably something is strange with the profile on the slow device and wiping it will fix the issue. IMHO the urgent thing to do here is to verify whether this anomaly is being reported correctly via UMA, and once we're sure it is worry only about the 99th percentile from UMA (if my case is rarer than 1% it's perhaps not worth digging into). Since this shows up only on cold boot, perhaps there should be a separate UMA metric for cold and warm login? Even 1% of cold logins having this problem would be pretty bad. Let me know if you'd like my help investigating from this device (not in dev mode, so debugging options are limited - probably to the feedback report I've sent). Otherwise in a couple weeks I'll reimage this device to make it not so terribly annoying ;-)
,
Dec 21 2016
chrome://flags don't sync across devices, so it's still possible that that's the source of the problem - could you try resetting all flags to default and see if it improves? If not, agree that we definitely need to be tracking this in UMA.
,
Dec 21 2016
(sorry when I wrote c#2 I hadn't seen c#1). Yep that's it - resetting flags brought it down to 4s. Is there really no bug there though? Starting chrome in the first place when booting didn't take anywhere near 22 seconds, so why should restarting it take that long? I often need the "experimental web platform features" flag enabled to do my job (but that's rare I guess so perhaps not worth worrying too much about). Also that explains why I wasn't seeing BootTime.Login show up in chrome://histograms (I do after disabling flags). That must mean the login metric isn't reported at all (because the browser was restarted between the login starting and when it finished), right? Should we perhaps be writing a login start timestamp out to disk, and then reporting the metric once the browser restart is complete so that BootTime.Login represents an accurate picture (or perhaps better, using a new BootTime.LoginRestart histogram so as not to conflate the existing tone)?
,
Dec 21 2016
I can't speak for why the restarting process takes so much longer (I am but a humble PM) but perhaps worth investigating once Albert is back. Seeing how often this affects users with a new histogram would be interesting. One thing we'd like to do in an upcoming release is surface a notification to users after flags cause Chrome to restart so that they understand what has happened. Wouldn't solve your case, but would help those who flip a flag once and then forget about it.
,
Dec 21 2016
Thanks. Yeah not urgent - should totally wait for the new year. Hopefully adding a new histogram would be pretty trivial, then we can check the 95th percentile and compare the absolute count to the normal case and see if it's worth worrying about. Perhaps my time is still unusually slow or two few people set flags to make it worthwhile. But if my experience is representative and setting flags isn't _that_ rare, then IMHO it's worth a deeper investigation. It makes ChromeOS feel a lot more like Windows IMHO - staring at a black screen wondering what the hell happened to "Chrome speed" ;-)
,
Feb 9 2017
@zalcorn can you follow up on this?
,
Feb 13 2017
steel@, would creating this UMA histogram be a good thing for wzang@ to tackle?
,
Feb 13 2017
Not having the total time login took (whether due to flags restart or not) is a considerable issue. Please file an issue for that and assign it to me, I'll find someone to work on it (probably wzang@).
,
Feb 16 2017
The metric not being reported at all is a serious problem. Spoke with Alexander, he will look into this.
,
Feb 17 2017
Glad to hear it (I thought so too), thank you!
,
Mar 3 2017
,
Mar 3 2017
,
Mar 7 2017
I vaguely recall there was some display panel re-initialization that happen on Chrome restart, perhaps specific to Pixel, that made it take forever. marcheu might know more.
,
Mar 30 2017
Sonny, this sounds much like issue 681278. WDYT?
,
Apr 13 2017
Assigning to Sonny as this sounds very much like 681278. I do not mark this as duplicate because this one is about regression at boot.
,
May 1 2017
|
|||||||||||
►
Sign in to add a comment |
|||||||||||
Comment 1 by zalcorn@chromium.org
, Dec 21 2016