Hello everyone!
I've built an alternative to Reflector, which:
- knows something about internet infrastructure (submarine cables and at least numbers of internet exchanges per country)
- doesn't spend eternity on trying to load a file of a fixed size from a half-dead mirror
- knows when the speed has stabilized and is able to stop a speed test
- tests concurrently during the phase #1, where dirty checks occur
- re-tests top N mirrors - phase #2
- is ok to run before each system update.
Links:
- https://github.com/westandskif/rate-arch-mirrors
- AUR rate-arch-mirrors-bin - pre-built binary with statically linked musl
- AUR rate-arch-mirrors - needs rust, dynamically links glibc
This is an example of output: github gist
Any feedback is much appreciated!
[TO TEST OUT] rate-arch-mirrors: client-side map-aware tool
-
- recruit crewman
- Posts: 2
- Joined: Sun Apr 04, 2021 10:19 pm
- erikdubois
- Captain
- Posts: 3978
- Joined: Tue Nov 07, 2017 3:45 pm
- Location: Belgium
- Contact:
Re: rate-arch-mirrors: client-side map-aware tool
Well I have a question
Can we have a switch (might be there already) to just write (-w) the result to /etc/pacman.d/mirrorlist?
Having a config file somewhere is most of the time very helpful to read and adjust all the options.
Can we have a switch (might be there already) to just write (-w) the result to /etc/pacman.d/mirrorlist?
Having a config file somewhere is most of the time very helpful to read and adjust all the options.
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.
- erikdubois
- Captain
- Posts: 3978
- Joined: Tue Nov 07, 2017 3:45 pm
- Location: Belgium
- Contact:
Re: [TO TEST OUT] rate-arch-mirrors: client-side map-aware tool
We created an alias to test it out.
alias mirrorr="rate-arch-mirrors | sudo tee /etc/pacman.d/mirrorlist"
Code: Select all
sudo pacman -S rate-arch-mirrors-bin
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.
-
- recruit crewman
- Posts: 2
- Joined: Sun Apr 04, 2021 10:19 pm
Re: rate-arch-mirrors: client-side map-aware tool
Hi!
Thank you very much for recording the video on this!
Thank you very much for recording the video on this!

Sure, I'll add ``--save`` option and let you guys know - https://github.com/westandskif/rate-arc ... s/issues/2erikdubois wrote: ↑Mon Apr 05, 2021 7:33 amCan we have a switch (might be there already) to just write (-w) the result to /etc/pacman.d/mirrorlist?
Having a config file somewhere is most of the time very helpful to read and adjust all the options.