CentOS 8 How to make yum fast again?

Issues related to applications and software problems and general support
Post Reply
Traace
Posts: 2
Joined: 2020/08/19 08:30:23

CentOS 8 How to make yum fast again?

Post by Traace » 2020/08/19 08:35:28

Hi, I just installed CentOS and I'm very disappointed about its download performance.
yum upgrade rarely hits 100kb/s, while my connection is 600MBit/s static.


FastestMirror package seems to be missing from CentOS 8 repos.
https://wiki.centos.org/PackageManageme ... testMirror

How can I make yum fast again?

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 8 How to make yum fast again?

Post by TrevorH » 2020/08/19 11:02:44

Since the yum-plugin-fastestmirror has always been complete and utter junk and never did what it claimed, its loss is no loss. It is still present but it's now integrated into dnf but thankfully it's disabled by default. The reason it is junk is that it claims to connect to the fastest mirror but what it actually measures to decide that is how quickly you can connect to a tcp socket. That's a bit like rating the speed of your car by timing how quickly you can open the door. The entire plugin is based on a fallacy.

Your speed problem comes from something else. Check which mirror you are connecting to and see where that is in relation to you. If it's in a different country then it's possible that the geolocation data for your ip address is wrong and it's placing you in the wrong place and thus giving you a wrong mirror.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
remirepo
Posts: 447
Joined: 2014/09/21 09:07:12
Location: France
Contact:

Re: CentOS 8 How to make yum fast again?

Post by remirepo » 2020/08/19 14:04:52

Tips, in dnf.conf

Code: Select all

fastestmirror=1
max_parallel_downloads=8
Of course this have to be adpated to your internet connection speed
Remi's Repository - Forum - Blog

Traace
Posts: 2
Joined: 2020/08/19 08:30:23

Re: CentOS 8 How to make yum fast again?

Post by Traace » 2020/11/04 10:38:19

@remirepo that did the trick. Many thanks

Post Reply