Date: Sat, 15 Feb 2003 05:24:40 -0800 From: Sean Chittenden <sean@chittenden.org> To: Kris Kennaway <kris@obsecurity.org> Cc: Doug Barton <DougB@FreeBSD.org>, ports@FreeBSD.org Subject: Re: Randomizing master sites for distfile downloads... Message-ID: <20030215132440.GC27077@perrin.int.nxad.com> In-Reply-To: <20030210063435.GA20880@rot13.obsecurity.org> References: <20030210021953.GT15936@perrin.int.nxad.com> <20030209213619.I866@12-234-22-23.pyvrag.nggov.pbz> <20030210063435.GA20880@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <sean@chittenden.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030215132440.GC27077>