X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Ron de Bruijn Subject: Re: Parallel downloading of Cygwin packages Date: Mon, 02 Nov 2009 10:18:20 +0100 Lines: 34 Message-ID: References: <4AEAD9EE DOT 4010009 AT gamr7 DOT com> <20091030125852 DOT GB1361 AT ednor DOT casa DOT cgf DOT cx> <4AEBA0D2 DOT 5060001 AT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <4AEBA0D2.5060001@gmail.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi Chris, Chris Cormie schreef: > Christopher Faylor wrote: >> On Fri, Oct 30, 2009 at 01:19:58PM +0100, Ron de Bruijn wrote: >>> I use the latest installer, but it only uses one mirror to download >>> packages from at the same time. I have the impression that the mirror >>> I selected only gives about 30KB/s, which makes installing Cygwin slow. >>> What I would like the installer to do is to download from all mirrors >>> in parallel different packages and in case one mirror doesn't respond >>> that it just drops that one and uses another one. The mirrors together >>> should be able to saturate my connection. > > With respect Ron, why not select a fast mirror if your current mirror is > slow? A single fast mirror is always going to be faster than multiple > mirrors, so there is little reason for the setup.exe team to support > multiple mirrors, or so it seems to me. A single fast mirror is only going to be faster than multiple mirrors for unrealistic values of "fast". The reason for me not picking a fast mirror is simple; the only way to find out the speed of all the mirrors on this particular network is trying them all, because there is a proxy which only sends the files to my machine when they are completely done downloading. If the list of required packages is documented in a dead simple format (which it probably is) and the list of mirrors is always in some stable location, then writing something which downloads everything in parallel should be less than 50 lines of code. I am not saying that anyone is obliged to do so, I am just saying it isn't a huge problem. Best regards, Ron de Bruijn -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple