Created attachment 436422 [details, diff] PATCH for adding feature Currently, the mirrors defined in GENTOO_MIRRORS are used in the order they appear in the configuration file (make.conf). In order to split the load of downloading packages across all listed mirrors more fairly than just using the first mirror, "gentoo-mirrors-shuffle" FEATURE can be enabled. This is added as a FEATURE and not a preset because the mirror ordering might be important for some users of Portage. Also, the changes are so that the local mirrors added by a user are not affected and are still preferred over WAN mirrors (thanks zmedico!) This will also help relay the download requests to several mirrors when using parallel fetch reducing the chances of speed capping from the mirror, hence making it truly parallel. Please suggest any more fixes or suggestions that you have, I will make all necessary changes. Thanks
Rather than add a new global FEATURES flag, maybe it's better if we bind this to a repos.conf setting, since it's conceivable that a user could have different SRC_URI fetch settings for each repository. A global default setting could be set in the [DEFAULT] section of repos.conf.