From owner-freebsd-stable@FreeBSD.ORG Tue Apr 7 12:32:00 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 135F6106566B for ; Tue, 7 Apr 2009 12:32:00 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from flat.berklix.org (flat.berklix.org [83.236.223.115]) by mx1.freebsd.org (Postfix) with ESMTP id 06C578FC0A for ; Tue, 7 Apr 2009 12:31:58 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from js.berklix.net (p549A67F9.dip.t-dialin.net [84.154.103.249]) (authenticated bits=0) by flat.berklix.org (8.13.8/8.13.8) with ESMTP id n37C8IGU059402 for ; Tue, 7 Apr 2009 14:08:23 +0200 (CEST) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by js.berklix.net (8.13.8/8.13.8) with ESMTP id n37C87f3036198 for ; Tue, 7 Apr 2009 14:08:07 +0200 (CEST) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id n37BLhbY007253 for ; Tue, 7 Apr 2009 13:21:48 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <200904071121.n37BLhbY007253@fire.js.berklix.net> To: stable@freebsd.org From: "Julian Stacey" Organization: http://berklix.com BSD Linux Unix Consultancy, Munich Germany. User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://berklix.com/~jhs/cv/ Date: Tue, 07 Apr 2009 13:21:43 +0200 Sender: jhs@berklix.org Cc: Subject: more automated fetch of ISO-IMAGES & ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2009 12:32:00 -0000 Hi stable@ people, Idea for a SOC or other development: Not all ftp sites carry betas (understandably), that raises an inefficiency of human & net resources also seen similarly on ports/ , eg: I tried to download 7.2-BETA to test, Not on local ftp://ftp2.de.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.2 ftp://ftp.de.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.2 Found manually on ftp://ftp.uk.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.2 but slow at 60 KB/s Faster @ 100K from USA ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.2 but I'd feel guilty loading main site & intercontinental band width. One could rustle up a ports/ entry to fetch ISO-IMAGES automatically from a list of nearest local national sites, using MASTER_SITE_BACKUP &/or MASTER_SITE_OVERRIDE, But does a pseudo port or tool exist already ? Choosing ftp site just by country is crude, (albeit better than global as once was), but if client is near national border, another country's adjacent city might be a nearer & faster server. Some servers for ports/ fetch are also incredibly slow, but fetch will hang in there trying, even if another site lower in the list might be nearer &/or faster. Perhaps some SOC student might like to develop some extension to fetch, or a new tool to intelligently save net bandwidth & human time (if not this year if SOC bids are in, then next) : Intelligently & automatically sniff fetch list to see where stuff is, measure the bandwidth, perhaps on a preliminary README, & automatically decide where to fetch from. & as 2nd stage, give up & try elsewhere if the server connection gets too bad. Cheers, Julian -- Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com Mail plain ASCII text. HTML & Base64 text are spam. www.asciiribbon.org