8
submitted 9 hours ago* (last edited 9 hours ago) by tiz@lemmy.ml to c/archlinux@lemmy.ml

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 14 comments
sorted by: hot top controversial new old
[-] Telorand@reddthat.com 2 points 5 hours ago

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 1 points 3 hours ago

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

[-] SpacingBat3@szmer.info 6 points 9 hours ago* (last edited 6 hours ago)

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 9 hours ago

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 7 hours ago

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

[-] BaalInvoker@lemmy.eco.br 1 points 6 hours ago

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 hours ago

I’ll try these options next time! Thanks

[-] dhtseany@lemmy.ml 1 points 9 hours ago
[-] tiz@lemmy.ml 1 points 9 hours ago

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

[-] dhtseany@lemmy.ml 2 points 9 hours ago

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 9 hours ago

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

[-] dhtseany@lemmy.ml 2 points 9 hours ago

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

[-] tiz@lemmy.ml 2 points 9 hours ago* (last edited 9 hours 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 9 hours 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.

this post was submitted on 01 Nov 2024
8 points (90.0% liked)

Arch Linux

7173 readers
23 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS