Question about the location of software repositories

,

Hi all,
I am using Fedora 39 KDE and I get regular updates. Lately I notice that downloading these updates is pretty slow. I have a 200mbps connection but I get speeds in hundreds kbps.
I was wondering which repository servers I am using. This must be something which is setup at install, I have never changed them cause I have no idea how to do that. I found the /etc/yum.repos.d folder but can’t find out which servers I am using?
I live in The Netherlands and expect to have servers from here but how can I tell if that is so, and how can I change that should it be different? I do assume that local servers are faster because of the shorter distance but I do realize that should not always be the case.
I looked at several pages in Fedora docs, for example: Fedora Repositories :: Fedora Docs but can’t find any help here.

Who can help me?

I am also in NL with slow KPN DSL connection but no complaints with the download speeds.
I don’t change the out-of-the-box settings. Saw this…

I just did an update on a Minisforum 780 64 gb ram and this was the download speed:

Total   4.4 MB/s |  80 MB     00:18

This was the download speed on a Fedora VM running in Lima on a Mac mini 64gb ram

Total   5.1 MB/s | 317 MB     01:02 

Thank you both for your answers.
It is not only today that it is slower than usual, this has been going on for several weeks already. I noticed it again this morning so I thought I ask about it.
@mac2net I will look into this. Thanks.

Very slow Fedora mirrors - #3 by vgaetera

Have you done a speed test of the connection?
I just did this. As you can see, not a fast connection.

Note that the speed test is given in Mbps (Megabits per second)
The download speed reported by dnf is in MB/s (Megabytes per second) There is about a factor of ten in the reported values. [4.4 MB/s is approximately 44 Mb/s] (1 byte = 8 bits and there is additional overhead with sending data via the network)

In other words, my download speed was about the same as my speed-test network connection speed. It’s possible that by the time I did the speed test, Sunday internet traffic had picked up. I was actually expecting +45 mbps download.

If you still us dnf4 give dnf5 a try. You can install it parallel to dnf4.

Beside of fastest mirror, parallel download max_parallel_downloads=10 also helps to speed up.

1 Like

I installed dnf5 in a few places, but as Fedora is already ahead, I thought I would stay behind of ahead of ahead. Is there a critical reason why dnf5 hasn’t officially replaced dnf[4] yet?
Cheers M

Yes, I thought I had dnf5 already but it turned out I didn’t. I will give this a try the next days to see if it changes things.
Thanks again for the tips.

OK I just ran dnf5 update on a MF790 with a direct wire to the router. Not a purely scientific test…

[97/97] Total            100% |   6.6 MiB/s | 341.4 MiB |  00m52s

Yes it was planed to release … I guess with 39 but then there where problems and the release got postponed. But in the meantime you can use it with dnf5.

The actual set if mirrors for your location can be found at /var/cache/dnf/*/metalink.xml. These are the first files to be downloaded when doing refreshing the dnf cache.

Thank you for this answer. I opened a few files and see mirrors like:

Preference 100
http://mirror.serverion.com/fedora/releases/39/Everything/x86_64/os/repodata/repomd.xml
https://mirror.serverion.com/fedora/releases/39/Everything/x86_64/os/repodata/repomd.xml
rsync://mirror.serverion.com/fedora/releases/39/Everything/x86_64/os/repodata/repomd.xml

Preference 99
rsync://mirror.nl.leaseweb.net/fedora/linux/releases/39/Everything/x86_64/os/repodata/repomd.xml
http://mirror.nl.leaseweb.net/fedora/linux/releases/39/Everything/x86_64/os/repodata/repomd.xml
http://fedora.mirror.wearetriple.com/linux/releases/39/Everything/x86_64/os/repodata/repomd.xml

etc.

I would have expected that the mirrors in The Netherlands (with nl in the name) would have higher preferences, but no.
Does this actually mean that the higher the preference, the higher the speed? Is this tested from my computer or is this a general list, or …?
I know Manjaro Linux has a way to determine the fastest mirrors. It ets you build a list according to speed. Does Fedora has something like this as well?

A lot of Dutch sites uses a .com domain, and your quoted sites are actually in the Netherlands.

You can for example search for “whois wearetriple.com” to find out.

I expect that based on your IP (before NAT) is used to find out where you are and you will get a list of mirrors based on that.