View Full Version : Update through yum is terribly slow?

27th May 2010, 04:40 PM
Finally I updated my fedora 12 to 13 yesterday.I'm very pleased with some changes,even though it is not so obvious.However,I found that update my system through yum is such a hard work that I had to wait a long time because I got a terribly slow download speed.After some check,I found that I can't get access to ubuntu99.cn99.com and so on.Does anyone have suggestions what can I do now?:confused:

27th May 2010, 04:55 PM
The slow speed is most likely caused by the fact that Fedora 13 was just released and everyone and their brother is downloading and updating.

Why you can't get to ubuntu99.cn99.com could be a number of things, what have you done to troubleshoot the problem so far?

Did you try going to the domain ubuntu99.cn99.com is aliased to (webhop.3322.org)?

27th May 2010, 05:13 PM
Oh,man,I finally got it!
I installed the fastestmirror plugin of yum and disabled the f**king slow source and now the speed is as fast as fedora 12 used to be.

Glad to watch yum dancing now.

27th May 2010, 05:37 PM
Glad you got it resolved.

5th June 2010, 08:56 AM
I have a similar problem but unlike yzpdsg I did a fresh install of F13 and had the fastestmirror plugin installed from the begining. In my case the three major internet applications (yum, Firefox, Evolution) are extremely slow. yum gives very often a timeout error on all the mirrors and it downloads stuff with about 2 B/s. Also in Firefox every single page I visit has at least one timeout error. So I don't think this has anything to do with everyone downloading updates.

5th June 2010, 09:08 AM
With respect to Firefox, did you already disable IPv6? If not, open about:config and search for network.dns.disableIPv6 and set it to true.

5th June 2010, 10:54 AM
... open about:config and search for network.dns.disableIPv6 and set it to true.

and how will this help my other applications?

16th July 2010, 10:46 PM
How do we know which sources are the slow ones and how do we disable them?

16th July 2010, 10:54 PM
@ddalley Install yum-plugin-fastestmirror

17th July 2010, 12:04 AM
A time warp back to 2006?

Come on guys, it is not the program, it is you network and hardware.

cpu, memory, diskdrive, nic, isp, and on and on.
All those things mentioned above are about remote stuff, or hardware/cpu time in ms.'s
And the time of the day, the day of the week, and the month.


17th July 2010, 03:13 AM
@ddalley Install yum-plugin-fastestmirror
That was done a few months ago, if installation is all that is necessary.

It's still unusually slow, compared to any other distro I have ever encountered.

17th July 2010, 03:16 AM
how slow? :p

i don't use that plug-in and have never* had a problem with download speeds with fedora's repos

* never
1. unless it's a new release
2. unless someone on the other end broke their 'puter.

17th July 2010, 03:50 AM
Enough time to go mow the lawn?

Today, there were 104 items to update. That is similar to the last one that I did and it took over an hour for each one. This is compared to an update of any other distro, of a similar number of items in just a few minutes.

Older Fedora versions were not this painful, only recent versions.

17th July 2010, 04:22 AM
Enough time to go mow the lawn?

Today, there were 104 items to update. That is similar to the last one that I did and it took over an hour for each one. This is compared to an update of any other distro, of a similar number of items in just a few minutes.

Older Fedora versions were not this painful, only recent versions.

I had that same update: 104 packages, quoting my yum.log
the update after download took about 6 minutes, or 360seconds/104 -> about 3.6 seconds per package. That doesn't include the download time though. But I have a history buffer setup for my root
account so I can see when I fired off the yum update command:

401 2010-07-14 21:57:22 yum check-update > /tmp/yum.out
402 2010-07-14 21:58:04 less /tmp/yum.out
403 2010-07-14 21:58:10 yum update
404 2010-07-14 22:35:14 vi /boot/grub/grub.conf
405 2010-07-14 22:35:26 rpm -q kernel

Which suggests the yum download time was 17minutes, so the total update was 17+6 = 23mins
or 13 seconds per package.

Jul 14 22:15:09 Updated: 1:qt-4.6.3-8.fc12.x86_64
Jul 14 22:15:11 Updated: bash-4.0.38-1.fc12.x86_64
Jul 14 22:15:12 Updated: strigi-libs-0.7.2-4.fc12.x86_64
Jul 14 22:15:17 Updated: mono-core-
Jul 14 22:15:18 Updated: ibus-libs-1.3.6-1.fc12.x86_64
Jul 14 22:15:19 Updated: libcurl-7.19.7-12.fc12.x86_64
Jul 14 22:15:20 Updated: 2:gimp-libs-2.6.10-1.fc12.x86_64
Jul 14 22:15:21 Updated: pcsc-lite-libs-1.5.2-5.fc12.x86_64
Jul 14 22:15:22 Updated: imsettings-libs-0.108.0-4.fc12.x86_64
Jul 14 22:15:24 Updated: imsettings-0.108.0-4.fc12.x86_64
Jul 14 22:15:43 Updated: 2:gimp-2.6.10-1.fc12.x86_64
Jul 14 22:15:46 Updated: setroubleshoot-server-2.2.88-1.fc12.x86_64
Jul 14 22:15:50 Updated: 1:dovecot-1.2.12-1.fc12.x86_64
Jul 14 22:15:51 Updated: 1:qt-sqlite-4.6.3-8.fc12.x86_64
Jul 14 22:15:55 Updated: 1:qt-x11-4.6.3-8.fc12.x86_64
Jul 14 22:16:06 Updated: 1:qt-devel-4.6.3-8.fc12.x86_64
Jul 14 22:16:07 Updated: amarok-utils-2.3.1-2.fc12.x86_64
Jul 14 22:16:08 Updated: libmsn-4.1-1.fc12.x86_64
Jul 14 22:16:09 Installed: optipng-0.6.4-1.fc12.x86_64
Jul 14 22:16:11 Installed: dialog-1.1-9.20080819.fc12.x86_64
Jul 14 22:16:12 Installed: advancecomp-1.15-12.x86_64
Jul 14 22:16:12 Updated: ksysguardd-4.4.5-1.fc12.x86_64
Jul 14 22:16:14 Updated: ffmpeg-libs-0.6-1.fc12.x86_64
Jul 14 22:16:15 Updated: alsa-utils-1.0.23-3.fc12.x86_64
Jul 14 22:16:17 Updated: setroubleshoot-2.2.88-1.fc12.x86_64
Jul 14 22:16:18 Updated: 2:gimp-help-browser-2.6.10-1.fc12.x86_64
Jul 14 22:16:18 Updated: imsettings-xfce-0.108.0-4.fc12.x86_64
Jul 14 22:16:19 Updated: curl-7.19.7-12.fc12.x86_64
Jul 14 22:16:21 Updated: pcsc-lite-1.5.2-5.fc12.x86_64
Jul 14 22:16:21 Updated: 1:qt-mysql-4.6.3-8.fc12.x86_64
Jul 14 22:16:24 Updated: mercurial-1.6-3.fc12.x86_64
Jul 14 22:16:26 Updated: 3:traceroute-2.0.15-1.fc12.x86_64
Jul 14 22:16:28 Updated: 1:qt-4.6.3-8.fc12.i686
Jul 14 22:16:29 Updated: kdesdk-utils-4.4.5-1.fc12.x86_64
Jul 14 22:16:30 Updated: 1:qt-sqlite-4.6.3-8.fc12.i686
Jul 14 22:16:35 Updated: 1:qt-x11-4.6.3-8.fc12.i686
Jul 14 22:16:37 Updated: libcurl-7.19.7-12.fc12.i686
Jul 14 22:16:39 Updated: mono-data-
Jul 14 22:16:40 Updated: strigi-devel-0.7.2-4.fc12.x86_64
Jul 14 22:16:40 Updated: mono-data-sqlite-
Jul 14 22:17:00 Updated: oxygen-icon-theme-4.4.5-1.fc12.noarch
Jul 14 22:17:02 Updated: kernel-firmware-
Jul 14 22:17:03 Updated: 6:kdelibs-common-4.4.5-1.fc12.x86_64
Jul 14 22:17:14 Updated: 6:kdelibs-4.4.5-1.fc12.x86_64
Jul 14 22:17:17 Updated: kdepimlibs-4.4.5-1.fc12.x86_64
Jul 14 22:17:18 Updated: kdepimlibs-akonadi-4.4.5-1.fc12.x86_64
Jul 14 22:17:24 Updated: 6:kdelibs-devel-4.4.5-1.fc12.x86_64
Jul 14 22:17:26 Updated: PyKDE4-4.4.5-1.fc12.x86_64
Jul 14 22:17:28 Updated: 7:kdegraphics-libs-4.4.5-2.fc12.x86_64
Jul 14 22:17:29 Updated: 6:kdemultimedia-libs-4.4.5-1.fc12.x86_64
Jul 14 22:17:30 Updated: 6:kdegames-libs-4.4.5-1.fc12.x86_64
Jul 14 22:17:32 Updated: 7:kdenetwork-libs-4.4.5-3.fc12.x86_64
Jul 14 22:17:32 Updated: kross-python-4.4.5-1.fc12.x86_64
Jul 14 22:17:36 Updated: 6:kdegames-minimal-4.4.5-1.fc12.x86_64
Jul 14 22:17:37 Updated: 7:kio_msits-4.4.5-2.fc12.x86_64
Jul 14 22:17:49 Updated: 6:kdegames-4.4.5-1.fc12.x86_64
Jul 14 22:17:50 Updated: 6:kdemultimedia-devel-4.4.5-1.fc12.x86_64
Jul 14 22:17:50 Updated: 7:system-config-printer-kde-4.4.5-1.fc12.x86_64
Jul 14 22:17:51 Updated: 6:kdeutils-printer-applet-4.4.5-1.fc12.x86_64
Jul 14 22:17:54 Updated: kdepimlibs-devel-4.4.5-1.fc12.x86_64
Jul 14 22:17:54 Updated: pcsc-lite-devel-1.5.2-5.fc12.x86_64
Jul 14 22:17:56 Updated: libcurl-devel-7.19.7-12.fc12.x86_64
Jul 14 22:18:19 Installed: kernel-devel-
Jul 14 22:18:19 Updated: perf-
Jul 14 22:18:21 Updated: kernel-headers-
Jul 14 22:18:23 Updated: koji-1.4.0-2.fc12.noarch
Jul 14 22:18:24 Updated: GitPython-0.2.0-0.1.beta1.fc12.noarch
Jul 14 22:19:09 Installed: kernel-
Jul 14 22:19:15 Updated: kdebase-runtime-4.4.5-1.fc12.x86_64
Jul 14 22:19:23 Updated: ibus-1.3.6-1.fc12.x86_64
Jul 14 22:19:24 Updated: kdeedu-marble-libs-4.4.5-1.fc12.x86_64
Jul 14 22:19:26 Updated: kdepim-runtime-4.4.5-1.fc12.x86_64
Jul 14 22:19:27 Updated: kdesdk-libs-4.4.5-1.fc12.x86_64
Jul 14 22:19:28 Updated: 1:kdeaccessibility-libs-4.4.5-1.fc12.x86_64
Jul 14 22:19:29 Updated: kdepim-runtime-libs-4.4.5-1.fc12.x86_64
Jul 14 22:19:31 Updated: kdebase-runtime-libs-4.4.5-1.fc12.x86_64
Jul 14 22:19:36 Updated: kdesdk-4.4.5-1.fc12.x86_64
Jul 14 22:19:37 Updated: ibus-gtk-1.3.6-1.fc12.x86_64
Jul 14 22:19:41 Updated: kdeedu-marble-4.4.5-1.fc12.x86_64
Jul 14 22:19:49 Updated: 1:kdeaccessibility-4.4.5-1.fc12.x86_64
Jul 14 22:19:51 Updated: mono-web-
Jul 14 22:19:52 Updated: mono-winforms-
Jul 14 22:19:58 Updated: ibus-chewing-
Jul 14 22:20:01 Updated: 7:kdegraphics-4.4.5-2.fc12.x86_64
Jul 14 22:20:08 Updated: 7:kdenetwork-4.4.5-3.fc12.x86_64
Jul 14 22:20:10 Updated: kdebase-workspace-libs-4.4.5-1.fc12.x86_64
Jul 14 22:20:16 Updated: kdebase-workspace-4.4.5-1.fc12.x86_64
Jul 14 22:20:17 Updated: 6:kdebase-libs-4.4.5-1.fc12.x86_64
Jul 14 22:20:18 Updated: 6:kdeutils-libs-4.4.5-1.fc12.x86_64
Jul 14 22:20:20 Updated: amarok-libs-2.3.1-2.fc12.x86_64
Jul 14 22:20:23 Updated: 6:kdepim-libs-4.4.5-1.fc12.x86_64
Jul 14 22:20:26 Updated: 6:kdeutils-4.4.5-1.fc12.x86_64
Jul 14 22:20:29 Updated: 6:kdebase-4.4.5-1.fc12.x86_64
Jul 14 22:20:31 Updated: 6:kdemultimedia-4.4.5-1.fc12.x86_64
Jul 14 22:20:32 Updated: kdeartwork-kxs-4.4.5-1.fc12.x86_64
Jul 14 22:20:36 Updated: amarok-2.3.1-2.fc12.x86_64
Jul 14 22:20:41 Updated: 6:kdepim-4.4.5-1.fc12.x86_64
Jul 14 22:20:43 Updated: kdeartwork-screensavers-4.4.5-1.fc12.x86_64
Jul 14 22:20:46 Updated: kdm-4.4.5-1.fc12.x86_64
Jul 14 22:20:47 Updated: kdebase-workspace-python-applet-4.4.5-1.fc12.x86_64
Jul 14 22:20:48 Updated: kdebase-workspace-devel-4.4.5-1.fc12.x86_64
Jul 14 22:20:49 Updated: kdeplasma-addons-libs-4.4.5-1.fc12.x86_64
Jul 14 22:20:52 Updated: kdeplasma-addons-4.4.5-1.fc12.x86_64

But this is also a very hard set of packages, lots of really big KDE ones with lots of
files. Too bad yum doesn't keep download statistics about how many bytes it was
and I don't feel like checking each rpm size in the rpm DB. Another thing that's makes update comparisons
unfair with other Linux versions is that Fedora has selinux, if you update the policy data in a yum update
part of the process of loading the selinux policy package is to relabel the disk. That's why you'll see the
selinux-policy-targeted package taking so long to update.

17th July 2010, 04:26 AM
Yum is definitely slower than some other download managers, but it can also do more.

My downloads very seldom take anywhere near that long. Usually it's pretty quick. What you can also do, sometimes, is, if it's crawling on one package, hit ctl-C--it then gives a message that if you do it again, it will stop, but then will often redownload the current package at a much better speed.

17th July 2010, 04:35 AM
There's also a time cost you pay with presto, the size of the packages are smaller but the xz decompression is hard for the processor to do. I've noticed they've really cut back on the number of packages that are presto'd. I used to do yum updates in the internet cafe on their wireless AP because presto made the packages so small but I can't do that as much now. It would be nice if yum had a flag to only get the updates that are drpms

17th July 2010, 04:48 AM
Enough time to go mow the lawn?

lol. sorry to hear.