Project

General

Profile

Bug #26030

Updated by John Mitsch almost 6 years ago

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1656470  

 *Description of problem:* 
 I've tested performance of the report with the following results: 

 *a) 10000 hosts with these channels synced (but no applicable errata): rhel-7-server-extras-rpms, rhel-7-server-optional-rpms, rhel-7-server-rpms, rhel-7-server-satellite-capsule-6.4-rpms, rhel-7-server-satellite-tools-6.4-rpms - 80 s 
 *b) The same as a) but with filter to 0 hosts: 1 s 
 *c) The same as a) but added 63 hosts with 10 000 applicable errata: 140 s 
 *d) The same as c) but filtered to only 7 hosts: 16 s 
 *e) The same as c) but errata filtered to 0 (search in form 'nonexistentname'): 16 m 
 *f) The same as c) but errata filtered to 0 (search in form 'id="nonexistentname"'): 90 s 
 *g) The same as c) but errata filtered to 1: 110 s 
 *h) The same as a but with filters from a) and g): 11 s 

 Notice the 16 *minutes* long time in e) compared to 90 *seconds* in f) while those two cases only differ in filter form. This might be reasoned as expected behavior (form in e compares different data and it may be that much more resource consuming) but I think this is worth reporting and checking. 

 Tested on a RHEL7 machine with Intel Xeon, 4 sockets, 32 cores, hyperthreading, 2.7 Ghz, 128 GB RAM. 

 *Version-Release number of selected component (if applicable):* 
 Sat 6.5 snap 5 

 *How reproducible:* 
 Deterministic but depends on configuration 

 *Steps to Reproduce:* 
 1. Monitor -> Report Templates 
 2. In the Available Errata report's row, click Generate 
 3. Fill in the search in form 'id="nonexistentname"' 
 4. Submit 
 5. Do the same as in 1..4 but with search 'nonexistentname' 

 *Actual results:* 
 The second report generation takes much longer 

 *Expected results:* 
 Not sure. Perhaps a lesser difference.

Back