this post was submitted on 01 Nov 2024
9 points (90.9% liked)

Arch Linux

7777 readers
4 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

When I pacman-Syu, it fluctuates between 200kb to 500kb

I checked my internet speed at fast.com and it says 490Mbps

Something isn’t right.

Reflector is doing its job. I checked /etc/pacman.d/mirrorlist and saw the last updated time is very recent (today).

top 15 comments
sorted by: hot top controversial new old
[–] SpacingBat3@szmer.info 7 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

If I'm not mistaken, Reflector is the kind of the tool that picks mirrors based on different aspects, not just by which is fastest or close by. And if my memory serves me right, it actually picks mirrors based on their sync date with the upstream rather than speed by default.

You might want to check your configuration and set it to prioritize the mirrors based on the aspects you want.

[–] tiz@lemmy.ml 4 points 3 weeks ago (1 children)

I see. Much more complicated algorithms involved. Now I actually stop & disabled reflector and manually picked some local servers. Now I’m seeing 50mb/s and I feel totally dumb lol

[–] MsFlammkuchen@lemmy.blahaj.zone 2 points 3 weeks ago

You can also tell reflector to ignore certain mirrors in the configuration.

[–] unknowing8343@discuss.tchncs.de 3 points 3 weeks ago

reflector will choose mirrors depending on your specific orders.

You have not specified your orders here, so I'm guessing you haven't launched it properly.

Check the Wiki and launch it with your specific needs. Is it speed? Is it updatedness? Global mirrors? Local?

[–] Telorand@reddthat.com 2 points 3 weeks ago (1 children)

Glad you posted this. I thought reflector was a set it and forget it tool, but sounds like it isn't as smart as advertised. I think Garuda (Arch) uses a different tool to rate and update mirrors (dunno what), so if you want something automatic, maybe look into what they do.

[–] tiz@lemmy.ml 2 points 3 weeks ago

Thanks. This is something that I will have a look.

[–] dhtseany@lemmy.ml 1 points 3 weeks ago (1 children)
[–] tiz@lemmy.ml 1 points 3 weeks ago (2 children)

That’s a valid answer. But isn’t it the whole purpose of using reflector in the first place?

[–] dhtseany@lemmy.ml 2 points 3 weeks ago (1 children)

I don't use reflector, I just pick a couple of local .edu mirrors that proved themselves fast in past and that's all I use. I only change if the mirror is performing poorly.

[–] tiz@lemmy.ml 1 points 3 weeks ago (1 children)

I see. I will try. Maybe the ones reflector chose was fast atm but not now. Thanks

[–] dhtseany@lemmy.ml 2 points 3 weeks ago (1 children)

Reflector isn't that smart of a tool. That's exactly what happened and why I stopped using it.

[–] tiz@lemmy.ml 2 points 3 weeks ago* (last edited 3 weeks ago)

I just did and manually picked some near ones. It’s at 50mb/s and I really feel stupid now.

Thanks. really.

[–] Dirk@lemmy.ml 1 points 3 weeks ago

Yes, but reflector can't do magic. Just manually go through the mirrors and try if they're fast enough. You should prefer geographically closer mirrors.

[–] BaalInvoker@lemmy.eco.br 1 points 3 weeks ago (1 children)

I like to use reflector with -f and -l arguments... It always gives me the best combination of servers

The command I use is

reflector -f 10 -l 5 --save /etc/pacman.d/mirrorlist

[–] tiz@lemmy.ml 2 points 3 weeks ago

I’ll try these options next time! Thanks