From owner-freebsd-ports@FreeBSD.ORG Wed Oct 4 01:00:49 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CCE016A415 for ; Wed, 4 Oct 2006 01:00:49 +0000 (UTC) (envelope-from rainer.alves@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id B399743D5F for ; Wed, 4 Oct 2006 01:00:47 +0000 (GMT) (envelope-from rainer.alves@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so3155wxd for ; Tue, 03 Oct 2006 18:00:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=jZzsqvuZz2+IDwOWUMxpuS/X7317YUtQUEAqlKJeXYIO3Bl+/avx+mFyhOtYKu6Zv+m15Zdjx6dJZeirWXZprs0AbLMZIpLZqFWBudCWmIyQwexfnOa2ztv9ehjzSRIb9U02iJJ1iTGH3OUZNTXmSVLhubR6ypMsjAvYzfG7kdg= Received: by 10.70.96.3 with SMTP id t3mr12188824wxb; Tue, 03 Oct 2006 18:00:46 -0700 (PDT) Received: from ?127.0.0.1? ( [200.181.68.107]) by mx.gmail.com with ESMTP id h17sm29976wxd.2006.10.03.18.00.45; Tue, 03 Oct 2006 18:00:46 -0700 (PDT) Message-ID: <45230756.8010604@gmail.com> Date: Tue, 03 Oct 2006 21:59:02 -0300 From: Rainer Alves User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.7) Gecko/20060915 Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: Mike Jakubik References: <4256BB8CAC97017A8BF293DE@utd59514.utdallas.edu> <20061003225950.GA53790@icarus.home.lan> <4522F7C7.7090705@rogers.com> In-Reply-To: <4522F7C7.7090705@rogers.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Incredibly slow mirror site X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 01:00:49 -0000 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