[meta] Bug 1397092 + other issues with Firefox57 causing Severe page loading delays in Firefox 57 32-bit builds compared to Firefox 57 builds from 2017-08-20

NEW
Unassigned

Status

()

defect
P2
major
2 years ago
10 months ago

People

(Reporter: u595893, Unassigned)

Tracking

(Depends on 1 bug, 4 keywords)

57 Branch
x86
All
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox-esr52 unaffected, firefox55 unaffected, firefox56 unaffected, firefox57- wontfix, firefox58+ wontfix)

Details

(Whiteboard: [qf:meta])

Attachments

(7 attachments)

Reporter

Description

2 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20170826031719

Steps to reproduce:

SPLIT from Bug 1397092 as it fixes only one partial problem.
 
First try on Nightly 57 both 32/64 bits test each

Try with the STR in the AR section and note down the results.

Please *note* this will only happen on slow machines

Download build 2017-08-20 32/64 bits test each and then try
APNG builds from 
https://bugzilla.mozilla.org/show_bug.cgi?id=1397092#c71

set toolkit.cosmeticAnimations.enabled=false

Now try Firefox55 32/64 bits and test each


Actual results:

Open a few bookmarks & start typing here

On Firefox 57
The typing was lagging, pages take a very long time to be rendered & notice the high CPU/GPU usage from starting of the loading of pages until the load completely.


On APNG builds the CPU/GPU usage is lower compared to Firefox57
On 2017-08-20 Builds the CPU/Gpu usage is even lower.

Now test Firefox55
CPU/GPU usage is very very low and very thing is loads/renders super quickly!

(other Major Steps to show this problem will be mentioned below, Try that too if unable to reproduce)


Expected results:

Pages should have loaded very very fast like previous builds , CPU/Gpu usage should have been quite low & similar to the previous builds.

Part of the problem is bug 1397092 which will be fixed soon
the other is 

https://bugzilla.mozilla.org/show_bug.cgi?id=1397092#c72

This Bug is pretty severe but sometimes it's hard to produce on *better hardware*
so please be patient...
Reporter

Updated

2 years ago
Blocks: 1352119
Has Regression Range: --- → yes
Has STR: --- → yes
Depends on: 1397092
Keywords: perf, regression
OS: Unspecified → All
Priority: -- → P1
Hardware: Unspecified → x86
Whiteboard: [qf:p2][reserve-photon-animation]
Reporter

Updated

2 years ago
Whiteboard: [qf:p2][reserve-photon-animation] → [qf:p2][reserve-photon-animation][reserve-photon-performance]
Priority: P1 → --
Whiteboard: [qf:p2][reserve-photon-animation][reserve-photon-performance] → [qf:p2] [photon-animation] [photon-performance] [triage]
Reporter

Comment 1

2 years ago
other Major Steps to show this problem is seeing the attachment in the other bugs and trying with those step


open the bookmarks provided there,

Steps

1. Monitor CPU/GPU usage
2. Open the bookmarks provided there and see the page rendering time(all pages not just one tab)
3. Now goto /r/pics and open the links in quick succession,keep scrolling down and opening pages for good 10-20 links.
4. Now switch tabs and see the rendering and after loading switch to tab1 close tabs on the right.

Results

1.CPU/GPU usage is higher
2.pages load more longer
3.tabs open one by one and after a approx 1 or 2 second delay, like if a very high video encoding is going in background with copying large files at the same time)
4.scrolling down also take 1 or 2 seconds using kb page down page up or mouse wheel, (same as above)
5.Switching tabs is way slower, closing tabs on right , tabs close one by one for a few seconds and then suddenly speed up.


Tried disabling
some preference to see if some changes are noticeable
throttle*
priority*

Now disable e10s
problems

3,4,5 disappear ...
Flags: needinfo?(mconley)
Flags: needinfo?(jaws)
Reporter

Comment 2

2 years ago
Tried to enable/disable to see if the page renders fast or the CPU/GPU usage lowers

dom.animations.offscreen-throttling
network.throttle.enable
network.http.throttle.enable
network.http.active_tab_priority
network.http.on_click_priority
network.http.rendering-critical-requests-prioritization
prioritized_input_events.enabled

Try installing Ublockorigins with e10=on and see the rendering time increase 2x or more
compared to FF55 & previous builds)

enable some filters and try
the problem increases more.

now disable e10

restart see two process of Firefox are on with e10s off
Reporter

Comment 3

2 years ago
Reporter

Comment 4

2 years ago
[Tracking Requested - why for this release]: Regression
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter

Comment 6

2 years ago
Posted file about_x64.txt
On a different specs machine with better hardware did a reinstall of windows fall's creator update beta which will release next mont to see if it was a OS issue,
did not install any drivers but just tested and the same issue,
attaching the info of the machine
Reporter

Comment 7

2 years ago
Reporter

Comment 8

2 years ago
This laptop has similar specs to the photon reference laptops for Firefox 57
This bug seems very, very general. If this has a hope of being addressed, we need to boil it down to something more actionable.

Let's ignore Linux for now, and focus solely on Windows.

Comment 0 says that "Please *note* this will only happen on slow machines". Can you please show me a screenshot of the Control Panel -> System and Security -> System page of the machine you're testing?

It should have the title "View basic information about your computer".

Next, I need to make your STR more clear. When after opening the bookmarks did you start typing, and what input were you typing into?

So, to summarize, I need 2 pieces of information:

1) The system information screenshot
2) When and where you started typing to reproduce this bug.
Flags: needinfo?(shellye5)
Flags: needinfo?(mconley)
Flags: needinfo?(jaws)
Reporter

Comment 10

2 years ago
(In reply to Mike Conley (:mconley) (:⚙️) from comment #9)
> This bug seems very, very general. If this has a hope of being addressed, we
> need to boil it down to something more actionable.
> 
> Let's ignore Linux for now, and focus solely on Windows.
> 
> Comment 0 says that "Please *note* this will only happen on slow machines".
> Can you please show me a screenshot of the Control Panel -> System and
> Security -> System page of the machine you're testing?
> 
OK , tomorrow , Attached the screen shots had the basic info about the general system info

> It should have the title "View basic information about your computer".

Sure will find it.
 
> Next, I need to make your STR more clear. When after opening the bookmarks
> did you start typing, and what input were you typing into?
>

Here or github comment box
 
> So, to summarize, I need 2 pieces of information:
> 
> 1) The system information screenshot
> 2) When and where you started typing to reproduce this bug.

Will attach both of the machine where reinstalled windows and can reproduce this issue
Flags: needinfo?(shellye5) → needinfo?(mconley)
Reporter

Comment 11

2 years ago
This is the machine in question

https://www.amazon.co.uk/Acer-Aspire-15-6-Laptop-Built/dp/B01N54XLEK
(In reply to shellye from comment #10)
> OK , tomorrow , Attached the screen shots had the basic info about the
> general system info
> 
> > It should have the title "View basic information about your computer".
> 
> Sure will find it.
>  

Any luck posting these?
Flags: needinfo?(mconley) → needinfo?(shellye5)
Reporter

Comment 13

2 years ago
(In reply to Mike Conley (:mconley) (:⚙️) from comment #12)
> (In reply to shellye from comment #10)
> > OK , tomorrow , Attached the screen shots had the basic info about the
> > general system info
> > 
> > > It should have the title "View basic information about your computer".
> > 
> > Sure will find it.
> >  
> 
> Any luck posting these?

yes posting in a few...
Flags: needinfo?(shellye5)
Reporter

Comment 14

2 years ago
Control Panel\All Control Panel Items\System

Did you mean this?
(In reply to shellye from comment #14)
> Control Panel\All Control Panel Items\System
> 
> Did you mean this?

Sure, I think that'll do. Basically, something that looks like this:

https://screenshots.firefox.com/5QRmk27sIJn1mysM/www.technig.com
Flags: needinfo?(shellye5)
Reporter

Comment 16

2 years ago
(In reply to Mike Conley (:mconley) (:⚙️) from comment #15)
> (In reply to shellye from comment #14)
> > Control Panel\All Control Panel Items\System
> > 
> > Did you mean this?
> 
> Sure, I think that'll do. Basically, something that looks like this:
> 
> https://screenshots.firefox.com/5QRmk27sIJn1mysM/www.technig.com

OK system properties!

BTW @mike will you do Teamviewer session?
This will choose a machine which have access to for next few days(school's property)
Like 2gb but giving info of the two mentioned above.
Flags: needinfo?(shellye5) → needinfo?(mconley)
Reporter

Comment 17

2 years ago
Posted image Untitled.png
Reporter

Comment 18

2 years ago
Posted image Untitled.png
Okay, thanks shellye. My next step is to try to get a copy of the Windows 10 Insider Preview build that you're running to try to reproduce.
Reporter

Comment 20

2 years ago
(In reply to Mike Conley (:mconley) (:⚙️) from comment #19)
> Okay, thanks shellye. My next step is to try to get a copy of the Windows 10
> Insider Preview build that you're running to try to reproduce.

Thank you.
Don't know what else can be done more from this side...
Disabled e10s for now.
Reporter

Comment 22

2 years ago
can't record the profile,
see

https://bugzilla.mozilla.org/show_bug.cgi?id=1397092#c108
Flags: needinfo?(mstange)
(In reply to shellye from comment #24)
> https://www.reddit.com/r/firefox/comments/6zxtq8/
> this_and_many_other_website_is_laggy_with/

Hm. Honestly, seems unrelated - different OS, different STR. Going to obsolete for now.

Updated

2 years ago
Depends on: 1399962
Reporter

Comment 26

2 years ago
https://hg.mozilla.org/mozilla-central/rev/4f4487cc2d30d988742109868dcf21c4113f12f5

https://archive.mozilla.org/pub/firefox/nightly/2017/08/2017-08-19-10-04-42-mozilla-central/

@mike this build is working fine, so the problem occurs after this

how to get regression range from this?
Reporter

Comment 27

2 years ago
(In reply to shellye from comment #26)
> https://hg.mozilla.org/mozilla-central/rev/
> 4f4487cc2d30d988742109868dcf21c4113f12f5
> 
> https://archive.mozilla.org/pub/firefox/nightly/2017/08/2017-08-19-10-04-42-
> mozilla-central/
> 
> @mike this build is working fine, so the problem occurs after this
> 
> how to get regression range from this?

False alarm, animations were only smooth, page loading times were atrocious.
Flags: needinfo?(mconley)
Reporter

Comment 28

2 years ago
@mike for the last 6+ hours
trying to find the regression range but nothing so far...

Now this is confusing
This build
https://archive.mozilla.org/pub/firefox/nightly/2017/08/2017-08-01-10-03-11-mozilla-central/

it's last FF56 nightly, seems to have the issue of slow background tabs loading,rendering but when testing FF56b12 the issue is not there,how to find out when the problem was introduced?

One more thing builds from FF57 aug 1-6th 2017 load the background pages relatively fast after the 2-3 sec initial connection delay but show the content when switching to tabs takes good 4-5 seconds and no spinners just white then full page.

except FF56b12 all builds from aug 1-19th the background tabs never complete loading or load 10x slower
but as soon as switching to a tab after an initial delay of 2-3sec tab renders and the the rendering of webpage is quite fast when comparing to today's FF57 (pages appear just like an image no progressive loading! why?), could it be due to priority settings? or rendering being slow?

Any pointers?
Reporter

Comment 29

2 years ago
For reference in the performance drop
on same system
(fresh install of win10 nothing else not even drivers to rule out drivers issue,
after installing drivers no major improvements, drivers from Vendor website/windows update)

https://perfht.ml/2fpr623

e10s on(1process)

https://perfht.ml/2fqyFFY


Today's build 16092017

e10s off

https://perfht.ml/2fr91kp

e10s on(1process)

https://perfht.ml/2fp203h


extreme stressing Firefox 56b12 to see if there is a significant drop in performance,
no issues!

https://perfht.ml/2fqIxiE
Whiteboard: [qf:p2] [photon-animation] [photon-performance] [triage] → [qf:p2]
I don't believe this is a blocking issue for 57 given our plans to migrate users to 64-bit Firefox builds. There are comments about disabling e10s which is also not a default. Will defer to 58 and wontfix for 57.
Flags: needinfo?(mstange)
Reporter

Comment 31

2 years ago
https://www.reddit.com/r/firefox/comments/76bzmi/possible_solution_to_choppy_1080p_60_fps_youtube/

This helped alot for fixing the video issues

media.gpu-process-decoder

layers.gpu-process.enabled

Turning both of these options to false

and using the build from here fixed it

https://bugzilla.mozilla.org/show_bug.cgi?id=1397092#c222
Moving this to the Core: DOM component until further information. If this is not the right component, please move it to the correct one.

Mike, can you please take a look at the performance profiles from comment 29?
Component: Untriaged → DOM
Flags: needinfo?(mconley)
Product: Firefox → Core
I suspect bug 1399962 or bug 1366358 will have the greatest impact for shellye's issue.
Depends on: 1366358
Flags: needinfo?(mconley)
Priority: -- → P2
Track 58+ as performance regression.
Component: DOM → DOM: Content Processes
Let's treat this as a meta bug.
Summary: Bug 1397092 + other issues with Firefox57 causing Severe page loading delays in Firefox 57 32-bit builds compared to Firefox 57 builds from 2017-08-20 → [meta] Bug 1397092 + other issues with Firefox57 causing Severe page loading delays in Firefox 57 32-bit builds compared to Firefox 57 builds from 2017-08-20
Whiteboard: [qf:p2] → [qf:meta]
Keywords: meta
You need to log in before you can comment on or make changes to this bug.