From owner-freebsd-ports Thu Feb 20 1: 6:49 2003 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 415B237B401; Thu, 20 Feb 2003 01:06:46 -0800 (PST) Received: from perrin.int.nxad.com (internal.ext.nxad.com [69.1.70.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FC1443F75; Thu, 20 Feb 2003 01:06:45 -0800 (PST) (envelope-from sean@perrin.int.nxad.com) Received: by perrin.int.nxad.com (Postfix, from userid 1001) id A1A6021076; Sat, 15 Feb 2003 05:24:40 -0800 (PST) Date: Sat, 15 Feb 2003 05:24:40 -0800 From: Sean Chittenden To: Kris Kennaway Cc: Doug Barton , ports@FreeBSD.org Subject: Re: Randomizing master sites for distfile downloads... Message-ID: <20030215132440.GC27077@perrin.int.nxad.com> References: <20030210021953.GT15936@perrin.int.nxad.com> <20030209213619.I866@12-234-22-23.pyvrag.nggov.pbz> <20030210063435.GA20880@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VdOwlNaOFKGAtAAV" Content-Disposition: inline In-Reply-To: <20030210063435.GA20880@rot13.obsecurity.org> User-Agent: Mutt/1.4i X-PGP-Key: finger seanc@FreeBSD.org X-PGP-Fingerprint: 3849 3760 1AFE 7B17 11A0 83A6 DD99 E31F BC84 B341 X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --VdOwlNaOFKGAtAAV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > > I've got a few ideas for randomizing load for a given geographic > > > region (Europe, Asia, Affrica, and the US being the 4 biggies: > >=20 > > I'd like to steal part of your thread for an idea that I've been > > kicking around. I think it would be useful to allow a user to > > specify something like PORTS_DOWNLOAD_REGION in /etc/make.conf, > > and have bsd.sites.mk make reasonable decisions about which set of > > servers to use first based on that. I think your choices of > > regions is a good one. The code to do this is pretty easy to > > conceive, but if you need a proof of concept let me know. >=20 > This is a good idea, but I think we should keep the two things > separate so they don't get extended to the point where no-one > implements them Now that random(6) is in both -CURRENT and 4.8 to be, can I submit this for some kind of approval? By default it won't make any difference to someone's download capabilities unless they explicitly set RANDOMIZE_MASTER_SITES. I'm hard pressed to think this shouldn't be the default though, but that's a call the portmgr's will have to make. :) Anyway, I contend that even though this isn't geographically distributed/weighted, setting RANDOMIZE_MASTER_SITES by default is better than where we are right now. http://people.freebsd.org/~seanc/#patch-random_master_sites -sc --=20 Sean Chittenden --VdOwlNaOFKGAtAAV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: Sean Chittenden iD8DBQE+Tj+Y3ZnjH7yEs0ERAswfAKC+W0Ozmv8uwtdymtCfTykqSDcnPgCg4Pfx q4GMRKmYrh0TOW+WCrsVdNo= =5qyE -----END PGP SIGNATURE----- --VdOwlNaOFKGAtAAV-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message