Bug 752417

Summary: Repo syncs are slow, increase sync_KBlimit or comment out to greatly improve performance
Product: Red Hat Satellite Reporter: John Matthews <jmatthew>
Component: InfrastructureAssignee: Shannon Hughes <shughes>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: kbidarka, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:05:35 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: 747354    

Description John Matthews 2011-11-09 13:07:50 UTC
Description of problem:

Repository synchronization is slower than it needs to be.
I provisioned an EC2 instance and benchmarked sync numbers.

http://git.fedorahosted.org/git/?p=katello.git;a=blob;f=src/config/katello.yml;h=458bacbd30cc8c433e0eac578580d809a23308c9;hb=57235444f7292528e9407bdfbf0427cd4f0651fc
As of this BZ's filing date, Katello's default config values:
  pulp:
    url: https://localhost/pulp/api
    oauth_key: katello
    oauth_secret: shhhh
    sync_threads: 4
    sync_KBlimit: 100

A sync of rhel6_x86_64 took: 
~290 minutes with default settings
~70 minutes with a change of `sync_KBlimit: 500'
~13 minutes disabling the limit

I recommend we disable the limit.

Comment 2 Mike McCune 2011-11-15 19:32:09 UTC
This is in master now.

Comment 3 Kedar Bidarkar 2011-11-24 06:46:48 UTC
[root@xxxx f15]# cat /etc/katello/katello.yml | grep -i KBlimit
    #sync_KBlimit: 100
[root@xxxx f15]# rpm -qav | grep -i katello-0
katello-0.1.111-1.git.0.10f9af0.fc15.x86_64


The sync_KBlimit has indeed been disabled.