I think it would be nice if emerge randomized the mirror to fetch from when downloading from a SRC_URI mirror://.
I couldn't agree more. I've noticed that recent versions of Portage do not include a MIRROR directive in /etc/make.conf, period. This is putting undue strain on Ibiblio, and causing much stress amongst users.
*** Bug 14880 has been marked as a duplicate of this bug. ***
I think it would be nicer to have a tool that pings all the mirrors and tries to get an index(http)/dir listing(ftp), and then orders them by speed. Run that every once in a while (forced by portage), and it will automatically even out...
*** Bug 16244 has been marked as a duplicate of this bug. ***
the ping thing doesn't work behind firewalls and/or disabled ping-reply hosts maybe it could be realized with an option.
*** Bug 25761 has been marked as a duplicate of this bug. ***
Created attachment 15386 [details, diff] introduce local mirrors, and shuffle extern mirrors I think it would be nice to have two priorities of mirrors: - local, in case you're in a LAN with a distfile mirror. If the distfile isn't there, or you're not in a LAN, - extern. IMHO the extern mirrors should be shuffled by default; So I'd like to propose something like the attached.
Created attachment 15403 [details, diff] ... and shuffle third party mirrors as well Third party mirrors should be shuffled as well. I hope the patch works as advertised. Cheers, n.
Created attachment 15511 [details, diff] the same again, a little beautified Lucky me, today I found out that my ISP does its own Gentoo mirror :) I put this mirror at the end of GENTOO_MIRRORS_LOCAL. So it is the first extern mirror that gets queried, the rest of them is shuffled.
.
Hmmmm... Nice patch, actually. Short and sweet... I'm not certain how mirrors would handle the switch in load though. Secondary mirrors presently taking little of the major load would be swarmed with requests. Comment?
2.0.49 does this and i like it :)