You are not logged in.

Announcement

Due to heavy spamming of forums registration is going in stages. If you wish to register as a new user with ArchBang Forums, first register and then send an e-mail to: archbangforums at gmail dot com. It should contain the problem you want to discuss or some other AB related content. You will be promoted from registering member with no posting rights to new member with posting rights after that. If your mail is ignored you haven't fulfilled the requirements.

#1 2012-03-27 19:06:14

khaos64
Member
Registered: 2012-03-27
Posts: 11

New to linux and arch - question about mirrors and pacman

I have installed archbang and have first ran rankmirrors to get the best connecting mirrors then ran reflector to get the best bandwidth mirrors of those. But have noticed occasionally speeds can stay at rather slow speeds(25K/s). And have also noticed that sometimes if it was under a certain speed (can't remember what) it switches to a different mirror.

So my questions are one, Is there a way to force pacman to switch mirrors during a download/update and two is there a way to alter that minimum download speed to a higher number so it will switch to a different mirror on its own if there is no way to force it to switch during the download.

Offline

#2 2012-03-28 10:34:14

Kruppt
Moderator
From: Blue Ridge Mountains, NC
Registered: 2010-12-20
Posts: 299

Re: New to linux and arch - question about mirrors and pacman

Offline

#3 2012-03-28 14:53:49

khaos64
Member
Registered: 2012-03-27
Posts: 11

Re: New to linux and arch - question about mirrors and pacman


I had already run 'rankmirrors' as instructed in the Arch Begginers guide, but instead of 6 I used 10 I think, and then ran 'reflector' as shown on the wiki page, except with 10 again(or is there more to reflector that I need to do, not just --sort rate). So the slow results was with reflector already as said. Is there nothing as far as either one of my questions? Or do I have to run reflector everytime before any large packages/updates to make sure I don't get stuck on a mirror thats rather loaded at the time.

Offline

#4 2012-03-28 20:38:52

Kruppt
Moderator
From: Blue Ridge Mountains, NC
Registered: 2010-12-20
Posts: 299

Re: New to linux and arch - question about mirrors and pacman

I have no idea, there may be, but I'm not up on those options. I just edit the /etc/pacman.d/mirrorlist file, commenting out or delete mirrors that are problematic and not use them. I'd just Cntrl-c the current process, delete the mirror, sync and try the next.

Offline

#5 2012-03-29 05:15:08

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,664
Website

Re: New to linux and arch - question about mirrors and pacman

@ chaos: don't use the report function to communicate support content; this is only for reporting not accepted behaviour like insults or spamming.

See this wiki post: http://wiki.archbang.org/index.php?titl … st_Mirrors
I don't use reflector; remember that the first mirror should be the fastest one.
Experiment with trial and error to see which is fastest in your surroundings


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#6 2012-03-29 06:06:24

khaos64
Member
Registered: 2012-03-27
Posts: 11

Re: New to linux and arch - question about mirrors and pacman

pablokal wrote:

@ chaos: don't use the report function to communicate support content; this is only for reporting not accepted behaviour like insults or spamming.

Not sure what you mean, never touched it - at least if I did, it was completely an accident and was unaware I did so.

Thanks for the replies.

What purpose does reflector serve then, the way I understood it and was trying to use it, was that I could use 'rankmirrors' to get the closest mirrors that could potentially give me my best speeds.
While 'reflector' would then sort them by the ones that actually gave me the most/best speeds of those.

Last edited by khaos64 (2012-03-29 06:08:34)

Offline

#7 2012-03-29 08:28:10

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,664
Website

Re: New to linux and arch - question about mirrors and pacman

This is the report you made:

Reported by khaos64     Pacman/Packages » New to linux and arch - question about mirrors and pacman » Post #12879
Reason     How do you know which mirror? Is it just going to be the first one in the list?

Regarding Reflector:
Sometimes software works as intended; sometimes the parameters it works upon are not well defined. I can only speak from personal experience, that reflector wasn't satisfying for me.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#8 2012-03-29 10:43:33

ArchVortex
Retired AB Overlord
From: Jakarta, Indonesia
Registered: 2011-04-01
Posts: 1,449

Re: New to linux and arch - question about mirrors and pacman

I tried reflector two months ago thinking I would be lazy and use a cron job to update mirrors weekly but it messed up everything badly. From my experience, I wouldn't recommend reflector yet others use it successfully. 6 years without it has been just fine.

Try running rankmirrors once or twice a week for a couple of weeks and find out what your best mirrors consistently are for downloading and go with them. Just because a mirror is ranked your fastest doesn't mean it is the fastest for downloading. Quite often when I rank mirrors, the fastest downloading mirror might well not even be in the top 5.


GUI's?? We don't need no stinkin' GUI's!!!

Offline

#9 2012-03-29 12:59:28

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,893

Re: New to linux and arch - question about mirrors and pacman

Might be way off target but I thought you could run aria to grab of multi mirrors.

https://wiki.archlinux.org/index.php/Im … sing_aria2

Not sure if that is what OP is looking for, certainly rankmirror does a good job of finding best local mirror.

Offline

Board footer

Powered by FluxBB