GENTOO MIRRORS

The GENTOO_MIRRORS variable in contains a space-delimited list of Gentoo Source Mirrors that Portage should use to download source code.

A list of Gentoo Source Mirrors is provided on the Gentoo site.

Choosing a fast mirror
A good mirror can make Portage download source code faster. Usually, you can choose a mirror that is near you.

A tool called mirrorselect is available in the Portage tree. Mirrorselect can make choosing a fast mirror an easy process. To automatically select the best (fastest) five mirrors and automatically update use the following command:

Alternatively, to interactively choose the mirrors and automatically update the GENTOO_MIRRORS variable run:

To automatically select the 3 best mirrors, deep mode (the  option) is used to provide a more accurate speed test. Deep mode downloads a 100k file from each server. The output can be redirected to the desired file, in most cases the file will be. The example below is a typical redirect case:

External resources

 * Gentoo Source Mirrors