Bug 1275599

Summary: rfe: make dnf cache download in parallel
Product: [Fedora] Fedora Reporter: Michael S. Tsirkin <mst>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jsilhan, mluscon, packaging-team-maint, pnemade, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-02 15:22:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michael S. Tsirkin 2015-10-27 10:07:25 UTC
Description of problem:
dnf update is now downloading packages in parallel.
but dnf makecache is also pretty slow
(depending on a network), making it fetch
cache from unrelated repos in parallel would
speed this up.

Version-Release number of selected component (if applicable):
dnf-1.1.2-4.fc22.noarch

How reproducible:
always

Steps to Reproduce:
1. run as root:
# time dnf makecache
2. compare time reported for each repo and total real time

Actual results:
each repo is updated separately, one after another,
total time is the sum of times for each repo

Expected results:
Total time is worst time for a repo.

Additional info:
Can some downloads be parallelized within repo?
Might be worth considering, but might increase load on repo servers.

Comment 1 Honza Silhan 2015-11-02 15:22:25 UTC

*** This bug has been marked as a duplicate of bug 1210325 ***