Date: Tue, 03 Oct 2006 21:59:02 -0300 From: Rainer Alves <rainer.alves@gmail.com> To: Mike Jakubik <mikej@rogers.com> Cc: freebsd-ports@freebsd.org Subject: Re: Incredibly slow mirror site Message-ID: <45230756.8010604@gmail.com> In-Reply-To: <4522F7C7.7090705@rogers.com> References: <4256BB8CAC97017A8BF293DE@utd59514.utdallas.edu> <20061003225950.GA53790@icarus.home.lan> <4522F7C7.7090705@rogers.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Jakubik wrote: > The problem i think is that many ports with multiple mirrors will use > mirrors from 3rd world countries first, and the mirrors with real > bandwidth will always be last on the list. Can anyone explain to me why > that is? Doesn't it make more sense to try the fastest one first? Perhaps you should try using MASTER_SORT_REGEX and setting some mirror priorities... here's a good example (mirrors in my country are given top priority, followed by *.edu which usually have near infinite bandwidth... put this in /etc/make.conf): MASTER_SORT_REGEX?=^file: \ ://ftp.?\.br\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/ \ mesh \ ://[^/]*\.br[./] \ ://ufpr\.dl\.sourceforge\.net/ \ ://[^/]*\.edu[./] -- Rainer Alves
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45230756.8010604>