Bug 1255389 - [Scale] - Large render time on Configure -> Configuration -> Access Control administration page with large scale environment
Summary: [Scale] - Large render time on Configure -> Configuration -> Access Control a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Performance
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: 5.6.1
Assignee: Keenan Brock
QA Contact: Alex Krzos
URL:
Whiteboard: perf:ui:rbac
Depends On:
Blocks: 1290211
TreeView+ depends on / blocked
 
Reported: 2015-08-20 12:54 UTC by Alex Krzos
Modified: 2022-07-09 07:43 UTC (History)
5 users (show)

Fixed In Version: 5.6.1.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1290211 (view as bug list)
Environment:
Last Closed: 2016-08-18 17:44:24 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
production.log with rails debug on, grep over UI worker PID (224.74 KB, application/x-gzip)
2015-08-20 12:54 UTC, Alex Krzos
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1634 0 normal SHIPPED_LIVE Important: CFME 5.6.1 security, bug fix, and enhancement update 2016-08-18 21:43:52 UTC

Description Alex Krzos 2015-08-20 12:54:08 UTC
Created attachment 1065260 [details]
production.log with rails debug on, grep over UI worker PID

Description of problem:
In a large scale environment navigating to Configure->Configuration and then selecting "Access Control" on the left side accordion and navigating to different groups requires a large amount of time and creates a tremendous number of queries (>10k).

For instance selecting EvmGroup-administrator results in a render time of ~50s in this large scale environment.  This large scale environment consists of an inventory of 100k VMs.

The user is presented with a spinner while the rendering is occurring.

Version-Release number of selected component (if applicable):
5.4

How reproducible:
Always with this environment

Steps to Reproduce:
1.
2.
3.

Actual results:
[----] I, [2015-08-20T12:35:36.786465 #6425:d4de9c]  INFO -- : Completed 200 OK in 50732.7ms (Views: 159.4ms | ActiveRecord: 13482.5ms)

Expected results:
~5s or less to render a page/

Additional info:
$ grep -i "SELECT" production.log -c
13314
$ grep -i "CACHE" production.log -c
6037

Comment 2 John Prause 2016-07-06 15:46:50 UTC
Oleg merged for 5.6.1 release,..setting to Post.
SHA 2a80df04407bae618c779077581a49d8e982630d

Comment 5 errata-xmlrpc 2016-08-18 17:44:24 UTC
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.

https://rhn.redhat.com/errata/RHSA-2016-1634.html


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