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

Arch Linux

7755 readers
1 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
[–] [email protected] 6 points 2 weeks ago* (last edited 2 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.

[–] [email protected] 4 points 2 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

[–] [email protected] 2 points 2 weeks ago

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

[–] [email protected] 3 points 1 week 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?

[–] [email protected] 2 points 2 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.

[–] [email protected] 2 points 2 weeks ago

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

[–] [email protected] 1 points 2 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

[–] [email protected] 2 points 2 weeks ago

I’ll try these options next time! Thanks

[–] [email protected] 1 points 2 weeks ago (1 children)
[–] [email protected] 1 points 2 weeks ago (2 children)

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

[–] [email protected] 2 points 2 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.

[–] [email protected] 1 points 2 weeks ago (1 children)

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

[–] [email protected] 2 points 2 weeks ago (1 children)

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

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago)

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

Thanks. really.

[–] [email protected] 1 points 2 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.