Bug 677672

Summary: Improve performance when updating yum package metadata
Product: [Retired] Pulp Reporter: John Matthews <jmatthew>
Component: z_otherAssignee: John Matthews <jmatthew>
Status: CLOSED WONTFIX QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: medium    
Version: unspecifiedCC: skarmark, tsanders
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-11 14:27:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 673032    

Description John Matthews 2011-02-15 14:33:58 UTC
We want to improve the performance of updating yum package metadata. Currently we run "createrepo --update" and it processes all the packages to look for updates.  

We want to skip the processing of all packages and only update the specific packages we know have changed.

Intent is to leverage createrepo's functionality and invoke the minimum metadata updates we need for a small collection of changed packages.  If changes are needed to createrepo we will work with the yum developers and see if they will accept our patch.

Comment 1 John Matthews 2011-03-16 11:25:52 UTC
Aligning to Sprint 22 as this is part of a story in Sprint 22

Comment 2 John Matthews 2011-04-11 14:27:55 UTC
Last round of investigation was on update of a rhel5 repo with ~7k packages.  Update ran in ~90 seconds.  Roughly 70 seconds was spent in compression of filelists.tgz and formation of sqlite metadata.

We didn't see a means of noticeably improving performance.  Moving this bug to CLOSED WONT_FIX.