Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1172752 - [rfe] [perf] Parallelise metadata downloads
Summary: [rfe] [perf] Parallelise metadata downloads
Keywords:
Status: CLOSED DUPLICATE of bug 1210325
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 21
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Michal Luscon
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1210325
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-10 16:47 UTC by Pavel Odvody
Modified: 2015-08-10 09:40 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-06 12:55:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 675409 0 unspecified CLOSED Parallel downloads for packages and repo metadata 2022-05-16 11:32:56 UTC

Description Pavel Odvody 2014-12-10 16:47:10 UTC
Description of problem:
Metadata downloads are taking too long as they execute one after another.

Version-Release number of selected component (if applicable):
0.6.1

How reproducible:
Easily :>

Steps to Reproduce:
1. sudo time dnf upgrade --refresh

Actual results:
0:27.06 elapsed 

Expected results:
~2-5 sec, depending on the number of repositories and the volume of data

Additional info:
I've linked a similar BZ / solution that has been working in YUM.

Comment 1 Honza Silhan 2014-12-11 19:48:51 UTC
Good point, we can implement this.

Comment 2 Honza Silhan 2015-07-24 09:45:49 UTC
*** Bug 1227014 has been marked as a duplicate of this bug. ***

Comment 3 Honza Silhan 2015-07-24 12:07:02 UTC
*** Bug 1229050 has been marked as a duplicate of this bug. ***

Comment 4 EMR_Fedora 2015-08-03 14:52:28 UTC
I posted this to another bug report, but I didn't realise that it was closed as a dupe of this. Sorry for the cross posting:

For some reason DNF attempts to connect at high ports (instead of FTP/HTTP) and I see a SYN_SENT which is being blocked by our network's firewall, so it just stalls. Yum always seemed to work fast and connect only on HTTP/FTP ports. Is there a way to force DNF to use ONLY http?

Comment 5 Honza Silhan 2015-08-06 12:55:24 UTC
This bug will be solver on librepo side only (bug 1210325). No additional changes in dnf are needed.

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

Comment 6 Radek Holy 2015-08-10 09:40:18 UTC
(In reply to EMR_Fedora from comment #4)
> Is there a way to force DNF to use ONLY http?

There is a request to prioritize HTTP over FTP: bug 1247076.


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