Metalink returns suboptimal list of mirrors for SG

When called from singapore metalink returns suboptimal list of mirrors

curl “https://mirrors.fedoraproject.org/metalink?repo=updates-released-f33&arch=x86_64&country=sg

returns mirrors from JP, CN and HK.
meanwhile mirror from SG is available according to
https://admin.fedoraproject.org/mirrormanager/mirrors/Fedora/33
and it’s quite fast.

I’m not too sure what to do next as I don’t know how metalink works and how it chooses mirrors.

You can try

fastestmirror=True

in /etc/dnf/dnf.conf and see if that connects you to (faster?) SG mirrors. But be aware, fastestmirror measures the latency to the server, which does not necessarily correspond to download speed.

Also, I see that the JP mirrors have a bandwidth of 10000, while the only mirror listed in SG is 1000. So maybe that is the reason why a JP mirror can be faster than a mirror in SG, even if physically located closer to you.

2 Likes

I coded specific mirror sites and was able to greatly increase performance.

https://admin.fedoraproject.org/mirrormanager/mirrors

2 Likes