From owner-freebsd-current Tue Jan 25 2:44: 5 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail.ddg.com (eunuch.ddg.com [216.30.58.66]) by hub.freebsd.org (Postfix) with ESMTP id DB61214C81; Tue, 25 Jan 2000 02:44:00 -0800 (PST) (envelope-from rkw@dataplex.net) Received: from nomad (128.83.46.85) by mail.ddg.com with SMTP (Eudora Internet Mail Server 2.1); Tue, 25 Jan 2000 04:43:51 -0600 From: Richard Wackerbarth To: "Rodney W. Grimes" Subject: Re: Please help spread the CVSup mirror load more evenly Date: Tue, 25 Jan 2000 04:29:54 -0600 X-Mailer: KMail [version 1.0.28] Content-Type: Multipart/Mixed; boundary="Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD" Cc: hasty@rah.star-gate.com (Amancio Hasty), obrien@FreeBSD.ORG, jdp@polstra.com (John Polstra), current@FreeBSD.ORG References: <200001241838.KAA68737@gndrsh.dnsmgr.net> In-Reply-To: <200001241838.KAA68737@gndrsh.dnsmgr.net> MIME-Version: 1.0 Message-Id: <00012504433301.00830@nomad> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD Content-Type: text/plain Content-Transfer-Encoding: 8bit On Mon, 24 Jan 2000, Rodney W. Grimes wrote: > This does not need to really be a wrapper around cvs, folks should run > a tool 1 time to pick the best guess as to what server they should be > using, stick that value in thier cvsup file and be done with it. If > jdp calls for a ``this server is being overloaded please move'' folks > should rerun the selection tool and pick new servers. This latter > event happens 2 or 3 times a year, it is a waste to run this every time > you start up cvsup and can cause the grief if you change cvsup servers > in <1 hour due to the update policy of the mirrors. I agree that you need to do it with a "run once (in a blue moon?)" script that helps you select an appropriate host site. But for now, we can leave that to "manually select a good site" Here is a patch that I suggested to John the last time this came up. Rather than patching the supfiles, I "patch" my local `make` configuration. Just having this in the code might help steer users to a different site. If we can get most users off of "cvsup.FreeBSD.ORG", we could change that DNS CNAME to point the underutilized site of the week. --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD Content-Type: text/plain; name="wacky.patch" Content-Transfer-Encoding: 8bit Content-Description: CVSUP Preferred Site Content-Disposition: attachment; filename="diffs" --- src/Makefile.inc1~ Tue Jan 25 04:12:36 2000 +++ src/Makefile.inc1 Tue Jan 25 04:21:00 2000 @@ -407,17 +407,20 @@ @echo "--------------------------------------------------------------" @echo ">>> Running ${SUP}" @echo "--------------------------------------------------------------" +.if defined(FreeBSD_SUPSITE) +SITEFLAGS= -h ${FreeBSD_SUPSITE} +.endif .if defined(SUPFILE) - @${SUP} ${SUPFLAGS} ${SUPFILE} + @${SUP} ${SUPFLAGS} ${SITEFLAGS} ${SUPFILE} .endif .if defined(SUPFILE1) - @${SUP} ${SUPFLAGS} ${SUPFILE1} + @${SUP} ${SUPFLAGS} ${SITEFLAGS} ${SUPFILE1} .endif .if defined(SUPFILE2) - @${SUP} ${SUPFLAGS} ${SUPFILE2} + @${SUP} ${SUPFLAGS} ${SITEFLAGS} ${SUPFILE2} .endif .if defined(PORTSSUPFILE) - @${SUP} ${SUPFLAGS} ${PORTSSUPFILE} + @${SUP} ${SUPFLAGS} ${SITEFLAGS} ${PORTSSUPFILE} .endif .endif .if defined(CVS_UPDATE) --- src/etc/defaults/make.conf~ Tue Jan 25 04:14:36 2000 +++ src/etc/defaults/make.conf Tue Jan 25 04:16:42 2000 @@ -197,6 +197,7 @@ # #SUP= /usr/local/bin/cvsup #SUPFLAGS= -g -L 2 +#FreeBSD_SUPSITE= cvsup8.FreeBSD.ORG #SUPFILE= /usr/share/examples/cvsup/standard-supfile #SUPFILE1= /usr/share/examples/cvsup/secure-supfile #PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message