Bug 752417 - Repo syncs are slow, increase sync_KBlimit or comment out to greatly improve performance
Summary: Repo syncs are slow, increase sync_KBlimit or comment out to greatly improve ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Infrastructure
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Shannon Hughes
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-11-09 13:07 UTC by John Matthews
Modified: 2019-09-26 13:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:05:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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