Annoying low speed of manjaro mirrors

Last night i was doing a full system upgrade and noticed really low download speed (15-30 KiB/s). It took me a long time to fully upgrade the system. I thought something temporarily is going on and ignored it. Today i tested it again and the same thing happened. I'm located in Iran and although i saw some mirrors from Iran when installing manjaro seems they are not fast enough to be listed by pacman-mirrors.

$ sudo pacman-mirrors -f 10 && sudo pacman -Syyu
::INFO Downloading mirrors from repo.manjaro.org
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  ..... United_States  : https://mirror.math.princeton.edu/pub/manjaro/
  1.632 Switzerland    : https://manjaro.osmir.ch/
  1.480 Switzerland    : http://manjaro.osmir.ch/
  ..... Netherlands    : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/
  ..... Netherlands    : ftp://ftp.nluug.nl/pub/os/Linux/distr/manjaro/
  1.669 Ukraine        : http://mirrors.colocall.net/manjaro/
  ..... Ukraine        : ftp://mirrors.colocall.net/manjaro/
  ..... Czech          : https://mirror.dkm.cz/manjaro/
  ..... Italy          : https://ct.mirror.garr.it/mirrors/manjaro/
  2.330 Sweden         : https://ftp.lysator.liu.se/pub/manjaro/
  ..... Sweden         : ftp://ftp.lysator.liu.se/pub/manjaro/
  ..... Australia      : http://manjaro.mirror.serversaustralia.com.au/

::ERROR TIMEOUT 'http://manjaro.mirror.serversaustralia.com.au/'

  3.123 Hungary        : https://quantum-mirror.hu/mirrors/pub/manjaro/
  ..... Hungary        : http://quantum-mirror.hu/mirrors/pub/manjaro/
  ..... United_Kingdom : https://www.mirrorservice.org/sites/repo.manjaro.org/repos/
::INFO Writing mirror list
::Switzerland     : https://manjaro.osmir.ch/stable
::Hungary         : https://quantum-mirror.hu/mirrors/pub/manjaro/stable
::Czech           : https://mirror.dkm.cz/manjaro/stable
::Italy           : https://ct.mirror.garr.it/mirrors/manjaro/stable
::United_Kingdom  : https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable
::Sweden          : https://ftp.lysator.liu.se/pub/manjaro/stable
::Ukraine         : http://mirrors.colocall.net/manjaro/stable
::United_States   : https://mirror.math.princeton.edu/pub/manjaro/stable
::Netherlands     : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
:: Synchronizing package databases...
 core                                           171.5 KiB  34.0 KiB/s 00:05 [##########################################] 100%
 extra                                         1996.9 KiB  14.5 KiB/s 02:18 [##########################################] 100%
 community                                        5.8 MiB  18.1 KiB/s 05:30 [##########################################] 100%
 multilib                                       192.4 KiB  17.7 KiB/s 00:11 [##########################################] 100%
:: Starting full system upgrade...
 there is nothing to do

I have been on ubuntu and kali rolling before and haven't seen such low speeds on them. (350-400 KiB/s on kali ). So there should be something wrong with manjaro network settings or its mirros.

solved by
sudo pacman-mirrors -f5

10 is too high and allows slower mirrors into the list

1 Like

A few things

  • Try removing -f 10 from your command and let it search all the mirrors
  • It is also possible that at the time you ran pacman-mirrors was shortly after an update and their weren't enough up-to-date mirrors
  • I am not sure how it is in your part of the world, but where I am there is all kinds of traffic shaping happening at the ISP level to try to manage all the people suddenly forced to be remote 24/7
1 Like

Maybe cause this is my first week on manjaro and did the update just after i saw the system notification. So maybe servers were doing sync when i was doing the update :thinking: . About traffic shaping and other stuff related to the ISP, i'm using this ISP for a long time and been using different Linux distros for 14 months straight now so i don't think it is an ISP thing but cause this was my first full system upgrade i wait for another one and try to do that with 24hrs delay and see what happens then.

Most manjaro mirrors are hosted by universities or dedicated community members.

You have to take into account where you are located and the connection you are using. Another factor is how up-to-date a mirror is - and some mirrors are more popular than others.

pacman-mirrors is providing the mirror pool and the mirror list is generated from the status of the mirrors.

The best result you will get by selecting a mirror which provides the best connection for you - then have patience until your mirror has synced.

Shopping around between mirrors is a bad experience and not the intention of pacman-mirrors but like any other tool it can used and abused.

thanks actually it did help to boost my download speed from 30 to 50-80 KiB/s but i really wanna go up to 200-300 KiB/s

Thanks i will try as you suggested and doing upgrades with a delay. Manjaro has been the best distro i have tried so far.

Please use this command - select one mirror - and save it.

sudo pacman-mirrrors -i -c country

This will ensure you always use the same mirror no matter what - because Pamac defaults to update the mirror list once a week and this can create both frustration and weird issues.

Did that but seems Iran mirror is down or something so i went with the Turkey.

So i don't need to do sudo pacman-mirrors -f5 bofore sudo pacman -Syyu now that i set my mirror to Turkey. All i have to do is sudo pacman -Syyu??

It looks like it is out-of-date.

https://repo.manjaro.org/

It also looks like an update to the mirrors is happening since most of them are currently partially out-of-date

Just make sure that mirror is fast for you. The closest mirror isn't always the fastest. I sometimes use mirrors from other continents because they are much faster than the ones near me.

Correct. You don't need to pick a new mirror everytime.

1 Like

First time yes -Syyu next time - -Syu

1 Like

Forum kindly sponsored by