Bug 1313723 - Dashboard loading extremely slow (30+ seconds)
Dashboard loading extremely slow (30+ seconds)
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Performance (Show other bugs)
Unspecified Unspecified
high Severity high (vote)
: Beta
: --
Assigned To: Chris Duryee
: PrioBumpQA, Triaged
Depends On:
  Show dependency treegraph
Reported: 2016-03-02 04:50 EST by Brad Buckingham
Modified: 2016-07-27 05:03 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-07-27 05:03:35 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 13993 None None None 2016-04-22 12:54 EDT

  None (edit)
Description Brad Buckingham 2016-03-02 04:50:30 EST
Dashboard loading a bit slow
Comment 2 Mike McCune 2016-03-09 13:14:36 EST
Updated to increase the severity. The dashboard is very slow and often takes beyond 30 seconds to load which is unacceptable. 

Needs to be sub 2-3 seconds.
Comment 3 Bryan Kearney 2016-03-11 12:07:06 EST
Moving to POST since upstream bug http://projects.theforeman.org/issues/13993 has been closed
Chris Duryee
Applied in changeset commit:katello|45d3394b210f0fc0ddd44ff6562d26cf8d6595c9.
Comment 4 sthirugn@redhat.com 2016-03-21 08:52:26 EDT
A new satellite 6.2-beta4 snap build took 6+ seconds to load and it is a brand new satellite without much data.  I will continue to test with more data, but failing this bug since expectation is 2 to 3 seconds as per Comment 2.
Comment 5 sthirugn@redhat.com 2016-03-21 10:44:46 EDT
I added libvirt provisioning and added a host.  I also discovered/provisioned two hosts via discovery plugin.  The dashboard still took 6+ seconds to load.
Comment 6 Chris Duryee 2016-03-21 10:58:33 EDT
(discussed on IRC, but just to keep the bz in sync)

I suspect there is a different issue making the dashboard take 6+ seconds, vs the 30+ seconds bug.

I will investigate today.
Comment 7 Chris Duryee 2016-03-21 12:08:17 EDT
I get timings of 900-1200 msec on the dashboard. It looks like the first page load will load some javascript but it appears to only be the first time.

I tested with firefox, here is how I did it:

 * load dashboard page
 * open developer tools (ctrl-shift-I), select network tab
 * hit shift-refresh, note time for dashboard plus time for javascript to load
 * refresh page again (just regular, not shift-refresh)

It looks like the dashboard itself takes 800-1200msec, and then there are some additional seconds for javascript to be fetched. On my system, it took 3.5-ish seconds for the JS to load but it could be a bandwith difference.

If you want to remove bandwith as a factor, one way is to right click on the dashboard's load time in the network tab, and select "copy as curl". you can then paste that curl command onto a system that you know has a fast connection to the Satellite, and get the timing there. I typically add "-sk" to the curl command and pipe it to /dev/null since it can be a lot of output and I'm only interested in the timing :) Note that this does not fetch any images or JS, so it's not a true test, but is good for isolating issues.

If you still see 6+ seconds with the curl test, let me know and we can look further.
Comment 8 sthirugn@redhat.com 2016-03-24 11:17:35 EDT
Tested in Satellite 6.2 Beta Snap 5.1.  I see the loading times averaging between 2 to 3 seconds.  I am marking this bug VERIFIED now.
Comment 11 errata-xmlrpc 2016-07-27 05:03:35 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.