Bug 860181
Summary: | F17: yum does not switch mirror with STRG+C | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Harald Reindl <h.reindl> |
Component: | yum | Assignee: | Fedora Packaging Toolset Team <packaging-team> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 17 | CC: | ffesti, maxamillion, packaging-team, tim.lauridsen, veillard, zpavlas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-urlgrabber-3.9.1-18.fc17 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-09-25 09:44:58 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: | |
Embargoed: |
Description
Harald Reindl
2012-09-25 08:12:08 UTC
It's a feature of the parallel downloader. There are N independent download processes running, CTRL-C sends a signal to all of them. In theory, we could keep the original behavior when only one DL is active, but this would probably cause even more confusion. http://permalink.gmane.org/gmane.linux.redhat.fedora.devel/164038 The "skip to next mirror" feature is gone (we don't want to restart all currently running downloads). the problem is that "yum-fastest-mirror" does not work at all so i can do "yum clean metadata && yum upgrade" as often i want and do not get any acceptable speed, i am on a 100 MBit WAN at office and also at home and seeing downloads with some KB/Sek or lower is frustrating the last days the mirrors of "tuwien.ac.at" as example are degraded down to 600 BYTE/sek and it is COMPLETLY useless to download parallel from the same mirror if it is slow, parallel downloads would only make sense if yum would spread them over DIFFERENT mirrors i guess "parallel downloader" is one of the reasons that some mirrors are completly unuseable because much more load with no benefit at all WHY was this implemented in the way starting parallel downloads from the same mirror? this makes absolutely NO SENSE Yes, mirror ordering from yum-fastest-mirror is now mostly ignored, /var/cache/yum/timedhosts database is used/updated instead. As far as I can tell, in practice this works better than yum-fastest-mirror plugin. The parallel downloader of course does use different mirrors, and avoids simultaneous connections to the same mirror- see the lengthy discussion in fedora-announce. When a mirror becomes slow, It's "score" (estimated speed) is decreased after few downloads, and Yum then avoids it. But if you kill a DL before it finishes, the score of the selected mirror is not updated. Hmm, maybe we should update mirror stats on aborted downloads, too. so what about a setting for /etc/yum.conf to try another mirror if yum is creeping below a user defined value in KB/sec for longer than 5-10 seconds with mirrors creeping around 20 KB/sec or sometimes BYTES/sec it takes up to some minutes to even receive the repo-metadata which is frustrating if you are on a network which supports 12 Megabyte/Second (21/485): binutils-2.22.52.0.1-10. (1%) 16% [==== ] 9.6 B/s It's not that bad, here in China: updates/primary_db 0% [=== ] 158 B/s | 1.1 MB 536:51 ETA and yes there are fast mirrors, but that's changing dynamically ! Daniel it IS bad if you are sitting on business line with 100 Mbit = 12 MB/Sec we are paying a lot of money for this line and so it would be fine if yum is choosing a acceptable mirror instead wasting my time again and again python-urlgrabber-3.9.1-21.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-urlgrabber-3.9.1-21.fc18 python-urlgrabber-3.9.1-17.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/python-urlgrabber-3.9.1-17.fc17 python-urlgrabber-3.9.1-18.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/python-urlgrabber-3.9.1-18.fc17 python-urlgrabber-3.9.1-18.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |