Bug 1290184 - CFME 5.2.4.2 - UI never returns when attempting to sort 3200 datastores by freespace
Summary: CFME 5.2.4.2 - UI never returns when attempting to sort 3200 datastores by fr...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Performance
Version: 5.3.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: GA
: 5.5.2
Assignee: dmetzger
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On: 1182777
Blocks: 1110527
TreeView+ depends on / blocked
 
Reported: 2015-12-09 20:05 UTC by John Prause
Modified: 2019-11-14 07:13 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1182777
Environment:
Last Closed: 2016-01-11 13:32:50 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 dmetzger 2015-12-10 19:09:39 UTC
The underlying issue is the database cannot (at least is not presently) able to perform the filter for us and simply returns all the objects which leaves Ruby with a much larger (everything) set to process.

Currently the MIQ_Report code passes / copies the set of objects multiple times during processing which increases memory and cpu utilization.

Testing indicates the current (5.5) code filters ~1,000 datastores per second on an essentailly idle appliance with no memory constraint, thus page rendering time is approximately (# of objects / 1,000) per second best case.

The following filters are not performed within the database, thus can be expected to experience slowness at scale:

- % Free Space
- Total Provisioned Space
- Total Hosts
- Managed/Registered VMs
- Managed/Unregistered Vms
- Unmanaged VMs

Comment 3 dmetzger 2016-01-11 13:32:50 UTC
Closing this 5.5.2 instance of this ticket as amy additional changes to improve the performance of the non-DB filtered options will require major changes to how we implement filtering. Unless there is memory contention on the appliance I do not expect the filtering performance to be a significant issue for customers.

I'm leaving the original (https://bugzilla.redhat.com/show_bug.cgi?id=1182777) ticket open for 5.6 as we evaluate changing the filtering model (leverage more filtering in the DB).


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