 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

14th August 2011, 02:15 AM
|
 |
Registered User
|
|
Join Date: Apr 2005
Location: linuxscriber.com
Age: 24
Posts: 136

|
|
|
YUM is super super slow
I don't know why but every time I type
I have to wait about 3 minutes just for this:
Code:
Loaded plugins: langpacks, presto, refresh-packagekit
fedora/metalink | 32 kB 00:00
fedora | 4.2 kB 00:00
fedora/primary_db | 14 MB 00:07
fedora/group | 1.8 MB 00:01
google-chrome | 951 B 00:00
google-chrome/primary | 1.4 kB 00:00
google-talkplugin | 951 B 00:00
google-talkplugin/primary | 1.6 kB 00:00
rpmfusion-free | 3.3 kB 00:00
rpmfusion-free/primary_db | 378 kB 00:00
rpmfusion-free/group | 9.8 kB 00:00
rpmfusion-free-updates | 2.7 kB 00:00
rpmfusion-free-updates/primary_db | 164 kB 00:00
rpmfusion-nonfree | 3.3 kB 00:00
rpmfusion-nonfree/primary_db | 115 kB 00:00
rpmfusion-nonfree/group | 4.7 kB 00:00
rpmfusion-nonfree-updates | 2.7 kB 00:00
rpmfusion-nonfree-updates/primary_db | 50 kB 00:00
updates/metalink | 29 kB 00:00
updates | 4.7 kB 00:00
updates/primary_db | 3.9 MB 00:02
updates/group | 1.8 MB 00:01
google-chrome 3/3
google-talkplugin 1/1
updates/pkgtags | 42 kB 00:00
How can I fix it ?
__________________
Preoptimization is the root of all evils
-------------------------------------------------------------------
My Blog :D
|

14th August 2011, 02:55 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: YUM is super super slow
yum is very inconsistent with speed, sometimes its fast for me an sometimes super slow., only thing that bugs me about yum.
here's something i found that may help to speed up yum http://forums.fedoraforum.org/showthread.php?t=64891
Last edited by tox; 14th August 2011 at 03:02 AM.
|

14th August 2011, 08:57 AM
|
|
Registered User
|
|
Join Date: Jul 2009
Location: England, UK
Posts: 821

|
|
|
Re: YUM is super super slow
Something else that might help is to install the "fastest mirror" plugin:
Code:
su -c 'yum install yum-plugin-fastestmirror'
After the first run, it seems to speed things up for me.
|

15th August 2011, 02:24 PM
|
 |
Registered User
|
|
Join Date: Apr 2005
Location: linuxscriber.com
Age: 24
Posts: 136

|
|
|
Re: YUM is super super slow
Thank you both
It seems to speed up things a little but yet it's slower than apt-get.
__________________
Preoptimization is the root of all evils
-------------------------------------------------------------------
My Blog :D
|

15th August 2011, 02:42 PM
|
|
Registered User
|
|
Join Date: Sep 2009
Location: Salento - Italy
Age: 32
Posts: 507

|
|
|
Re: YUM is super super slow
Quote:
|
It seems to speed up things a little but yet it's slower than apt-get.
|
I think that is the opposite.
|

15th August 2011, 02:55 PM
|
 |
Administrator (yeah, back again)
|
|
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,201

|
|
|
Re: YUM is super super slow
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651
Don't use any of my solutions on working computers or near small children.
|

16th August 2011, 07:19 PM
|
|
Registered User
|
|
Join Date: Aug 2011
Location: Scotland
Age: 24
Posts: 54

|
|
|
Re: YUM is super super slow
This is not even mentioning the five hours it takes for the delta-rpms to build.
Yum is honestly the aspect of Fedora I most dislike. You just have to put up with it I'm afraid, though disabling presto (warning: don't do this is your isp enforces a data cap, as it will drastically increase your download traffic, but if your bottleneck is cpu power rather than connection speed, it works great), or using the fastest mirror plugin as mentioned above should help.
|

18th August 2011, 08:46 AM
|
|
Registered User
|
|
Join Date: Jul 2009
Location: England, UK
Posts: 821

|
|
|
Re: YUM is super super slow
Quote:
Originally Posted by Mordac
This is not even mentioning the five hours it takes for the delta-rpms to build. [snip
|
It might be horses for courses here: the yum-presto plugin has drastically reduced update times for me (with a slow broadband connexion but reasonable CPU). I can imagine that it's not a great choice, though, for someone with the opposite set-up.
|

18th August 2011, 09:15 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: YUM is super super slow
dunno for sure but have you tried to update by disabling presto
yum update --disableplugin=Presto ] i think it is.
look into yum help
|

19th August 2011, 12:02 AM
|
|
Registered User
|
|
Join Date: Aug 2011
Location: Scotland
Age: 24
Posts: 54

|
|
|
Re: YUM is super super slow
Quote:
Originally Posted by marriedto51
It might be horses for courses here: the yum-presto plugin has drastically reduced update times for me (with a slow broadband connexion but reasonable CPU). I can imagine that it's not a great choice, though, for someone with the opposite set-up.
|
Aye, it is a tradeoff, but my CPU is not even that slow (2 cores a 2.0Ghz), and it can still take upwards of five minutes if the update is more than 10 or so packages!
Last edited by Mordac; 19th August 2011 at 12:04 AM.
|

19th August 2011, 12:37 AM
|
 |
Registered User
|
|
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,442

|
|
|
Re: YUM is super super slow
Mordac, there's either something wrong with your system or your network connection. I have a similar machine at work (Dell Optiplex 755 with a E8500 dual core and 4GB of ram) and it doesn't take 5 minutes to do 10 packages.
I'd try looking for hard disk errors in your /var/log/messages.log (remember to set up smartd to get that output in the log). Also examine your dmesg for unusual warnings.
Also try going to dslreports.com and do some speed tests on your network:
http://www.dslreports.com/speedtest
I also see you have a PAE kernel thread about missing RAM, that might be related to this slowness.
Last edited by marko; 19th August 2011 at 12:40 AM.
|

21st August 2011, 12:06 AM
|
|
Registered User
|
|
Join Date: Aug 2011
Location: Scotland
Age: 24
Posts: 54

|
|
|
Re: YUM is super super slow
Actually, I think it's more likely disk I/O problems. I'm booting Fedora from an external hard drive, linked via USB, so that probably explains it. Will have to try swapping the disks out and see if the problem persists. I may have exaggerated the extent of the problem a bit though; though if one of the packages is the kernel or something similarly large, it's true.
Also, did Red Hat hire the guy who wrote the windows file transfer dialogue and have him write the yum presto countdown thing?
|

17th January 2012, 04:20 PM
|
|
Registered User
|
|
Join Date: Jul 2008
Posts: 46

|
|
|
Re: YUM is super super slow
No that is not the problem. I have a 2.8GHz system with fedora installed on a top of the line Intel SSD with 6GB of memory. I recently updated from fc14 to fc16 and the performance of YUM is considerably slower (ofcourse in comparison to apt-get it was slow in fc14 as well but one could live with it). Now, I am doing "yum info" and really think about it before I issue the command. I do not want to make this rocket science, but that is my opinion.
|

17th January 2012, 08:50 PM
|
 |
Registered User
|
|
Join Date: Nov 2006
Location: Detroit
Posts: 4,612

|
|
|
Re: YUM is super super slow
I agree with marko that something else is wrong with your system if yum is that slow. Yum is very fast for me in F16. I don't use any yum plugins, so that may be part of it, but I doubt that's the main reason.
__________________
OS: Fedora 18 x86_64 | CPU: AMD64 3700+ 2.2GHz | RAM: 2GB PC3200 DDR | Disk: 160GB PATA | Video: ATI Radeon 7500 AGP 64MB | Sound: Turtle Beach Santa Cruz CS4630 | Ethernet: Realtek 8110SC
|

22nd January 2012, 11:28 PM
|
|
Registered User
|
|
Join Date: Jul 2008
Posts: 46

|
|
|
Re: YUM is super super slow
Well, my argument was against disk I/O problems.
Also, I doubt how plugins can slow up the yum process, since they usually introduce new commands, which are not called upon.
It is just sad, how much the difference between the debian package manager apt and yum has increased over the past few years. I think, I'll be jumping ship soon.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 13:10 (Saturday, 18-05-2013)
|
|
 |
 |
 |
 |
|
|