Bug 654275

Summary: RFE: Satellite could benefit from repomd optimizations in Hosted
Product: Red Hat Satellite 5 Reporter: Sebastian Skracic <sskracic>
Component: ServerAssignee: Tomas Lestach <tlestach>
Status: CLOSED ERRATA QA Contact: Pavel Novotny <pnovotny>
Severity: medium Docs Contact:
Priority: low    
Version: 540CC: cperry, jhutar, jpazdziora, pnovotny, slukasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-java-1.2.39-44.el5sat Doc Type: Bug Fix
Doc Text:
Result This is an enhancement to make repomd generation faster. See Comment#5 for detailed test results.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-17 14:13:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 646488    

Comment 2 Tomas Lestach 2010-11-18 11:17:58 UTC
Sebastian, thank you for your path!

I'll ask our QA guys to make some repomd generation measurements, if there're some improvements visible.

spacewalk.git: 19694bc9295bd0f644f059940dbeeab66f301810

Comment 13 Tomas Lestach 2011-02-14 14:55:46 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Result
This is an enhancement to make repomd generation faster. See Comment#5 for detailed test results.

Comment 14 Clifford Perry 2011-03-11 05:20:46 UTC
Taken from private comment #5, making this bug public. 

== Test system  ==
SW12 x86_64 epel-rhel5-i386
  Create and copy 1000 of 10MB files took 343 seconds
  Build 1000 packages per 10MB took 4763 seconds
  Repodata generation took 199.5 seconds (average from 10 (8) measurements,
    highest and lowest dropped)

SWnightly x86_64 epel-rhel5-i386
  Create and copy 1000 of 10MB files took 348 seconds
  Build 1000 packages per 10MB took 4731 seconds
  Repodata generation took 63 (average from 10 (8) measurements, highest
    and lowest dropped)

I have used EPEL RHEL5 i386 channel with 4878 rpms.

This shows improvement for 68%.

Please let me know if this is a type of result which was expected.

Comment 15 Pavel Novotny 2011-03-11 16:23:10 UTC
Verified.

Test results:
Used repository containing ~3300 packages.

Old packages (spacewalk-java-1.2.39-35.1.el5sat): 
  Repodata generation: avg. 109s
New packages (spacewalk-java-1.2.39-38.el5sat): 
  Repodata generation: avg. 74s

It makes repodata generation ~47% faster.

Comment 16 errata-xmlrpc 2011-03-17 14:13:14 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0362.html