Summary: | Speed optimized lists of thirdpartymirrors and portage's fetch order | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Robin Johnson <robbat2> |
Component: | Enhancement/Feature Requests | Assignee: | John Mylchreest (RETIRED) <johnm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | carpaski, chutz+bugs.gentoo.org, dev-portage, lordvan, method, mholzer |
Priority: | High | ||
Version: | 2.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 28806 | ||
Bug Blocks: | 10149 |
Description
Robin Johnson
2003-05-21 19:22:39 UTC
hmm.. sounds a bit complicated maybe.. u'd need quite huge lists of all src_uris in portage .. + possible download speed limitation + latency .. /me just my approach... I think if it were to be done itll be in 2 stages. 1: mirrorselect to optimize thirdpartymirrors 2: portage to run netselect on gentoo_mirrors+optimized thirdpartymirrors when needed 2, in my mind might not be very efficient, and perhaps just use a thirdpartymirrors optimized file but as for #1, I'm all for that idea although itll have to somehoe move outside of the portage tree, to something like /var/cache/edb/thirdpartymirrors, and for portage to use that, if it exists anyone against this? My few cents: 1. A new variable telling to use either gentoo first or the third party mirrors first, so something like 'USE_3RD_PARTY_MIRROR=YES emerge foobar' is possible 2. Perhaps this could be 'leveled up'. I set (e.g.) LOCATION=de which tells portage to use rsync.de.gentoo... and sets german/european mirrors for gentoo and third party stuff. Of course you should be able to supercede this via vars. I think this would speed up installs a lot without having to tinker with all the special vars. 3. (somewhat off topic, but this bugs be a lot lately) If the crc check fails, automatically refetch the file from the source URI. portage 2.0.49 is now rotation thirdparty mirrors not valid right now. thirdpartymirrors is randomized by portage. will muull over with carpaski one day reopening as per discussion on -core at the moment. /etc/portage/mirrors now supports 'favored' mirror selection see portage(5) in portage-2.0.50_preX closing |