public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* please add a find-the-fastest-mirror-automatically feature to setup.exe
@ 2008-05-23 15:43 Jason Spiro
  2008-05-23 16:23 ` Chris Sutcliffe
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Spiro @ 2008-05-23 15:43 UTC (permalink / raw)
  To: cygwin-apps

Setup.exe is a great tool, but could you please add a
find-the-fastest-mirror-automatically feature?

Thanks,
Jason Spiro

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: please add a find-the-fastest-mirror-automatically feature to setup.exe
  2008-05-23 15:43 please add a find-the-fastest-mirror-automatically feature to setup.exe Jason Spiro
@ 2008-05-23 16:23 ` Chris Sutcliffe
  2008-05-24  5:03   ` Soren Andersen
  2008-05-28 15:38   ` Jason Spiro
  0 siblings, 2 replies; 7+ messages in thread
From: Chris Sutcliffe @ 2008-05-23 16:23 UTC (permalink / raw)
  To: cygwin-apps

> Setup.exe is a great tool, but could you please add a
> find-the-fastest-mirror-automatically feature?

That would require making a connection attempt to every entry in
setup's list, which would be rather counter-productive I would think.

Chris

-- 
Chris Sutcliffe
http://emergedesktop.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: please add a find-the-fastest-mirror-automatically feature to  setup.exe
  2008-05-23 16:23 ` Chris Sutcliffe
@ 2008-05-24  5:03   ` Soren Andersen
  2008-05-25  4:49     ` Yitzchak Scott-Thoennes
  2008-05-28 15:38   ` Jason Spiro
  1 sibling, 1 reply; 7+ messages in thread
From: Soren Andersen @ 2008-05-24  5:03 UTC (permalink / raw)
  To: cygwin-apps

On Fri, 23 May 2008 12:23:13 -0400
"Chris Sutcliffe" <ir0nh34d@gmail.com> wrote:

> > Setup.exe is a great tool, but could you please add a
> > find-the-fastest-mirror-automatically feature?
> 
> That would require making a connection attempt to every entry in
> setup's list, which would be rather counter-productive I would think.

Yes, it would (and annoying, etc...). However, I can envision a
compromise solution in which Setup.exe looks for a file, a la unix user
rc files, and if found reads the address of the preferred host to use
from that file. Caching the result of a one-time burst of pings, in
other words.

   Soren A

-- 
All unaccompanied children will be given espresso and a free kitten.

----------------------------------------------------------------------
Find out how you can get spam free email.
http://www.bluebottle.com/tag/3

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: please add a find-the-fastest-mirror-automatically feature to        setup.exe
  2008-05-24  5:03   ` Soren Andersen
@ 2008-05-25  4:49     ` Yitzchak Scott-Thoennes
  0 siblings, 0 replies; 7+ messages in thread
From: Yitzchak Scott-Thoennes @ 2008-05-25  4:49 UTC (permalink / raw)
  To: cygwin-apps

On Fri, May 23, 2008 10:03 pm, Soren Andersen wrote:
> On Fri, 23 May 2008 12:23:13 -0400
> "Chris Sutcliffe" <ir0nh34d@gmail.com> wrote:
>
>
>>> Setup.exe is a great tool, but could you please add a
>>> find-the-fastest-mirror-automatically feature?
>>
>> That would require making a connection attempt to every entry in
>> setup's list, which would be rather counter-productive I would think.
>
> Yes, it would (and annoying, etc...). However, I can envision a
> compromise solution in which Setup.exe looks for a file, a la unix user rc
> files, and if found reads the address of the preferred host to use from
> that file. Caching the result of a one-time burst of pings, in other
> words.

Something like /etc/setup/last-mirror, perhaps?  :)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: please add a find-the-fastest-mirror-automatically feature to setup.exe
  2008-05-23 16:23 ` Chris Sutcliffe
  2008-05-24  5:03   ` Soren Andersen
@ 2008-05-28 15:38   ` Jason Spiro
  2008-05-28 22:34     ` Buchbinder, Barry (NIH/NIAID) [E]
  1 sibling, 1 reply; 7+ messages in thread
From: Jason Spiro @ 2008-05-28 15:38 UTC (permalink / raw)
  To: cygwin-apps
  Cc: ubuntu, michiel, michael.vogt, Chris Sutcliffe, Soren Andersen,
	Yitzchak Scott-Thoennes

Cc'ing the hackers of the Ubuntu "software-properties" app.

2008/5/23 Chris Sutcliffe <ir0nh34d@gmail.com> wrote:
> Jason Spiro wrote:
>> [Cygwin] Setup.exe is a great tool, but could you please add a
>> find-the-fastest-mirror-automatically feature?
>
> That would require making a connection attempt to every entry in
> setup's list, which would be rather counter-productive I would think.

What if Setup randomly tested just five or ten servers?

BTW, there are many mirror-testing servers out there.  (Ubuntu Linux
has a tool with a GUI interface called software-properties[1], with a
find-the-fastest-mirror-automatically feature called Select Best
Server.  You can see screenshots of the feature online.[2]  Fedora has
yum-fastestmirror.  Debian has netselect-apt, which is based on a tool
called netselect.  Dirk Eddelbuettel wrote a similar tool called
debian-mirrors which IIRC is no longer a Debian-only tool.)

And now, a question for the software-properties hackers I cc'ed:

Do you know?:  When is it worth the time it takes for users to test
various mirrors?  Is it worth it if they are planning to do just 2
minutes of downloading?  How about 20 minutes?  Is it useful for users
who have only, say, 128Kbps connections like DSL or "lite" cable?

Please Reply to All.  The cygwin-apps mailing list[3] will reject your
replies because you are not subscribed but I will forward them to the
list (or someone else can do it if they beat me to it.)

Regards,
Jason Spiro

^ [1]. https://code.launchpad.net/software-properties/

^ [2]. http://www.ubuntugeek.com/how-to-select-fastest-mirror-in-ubuntu.html

^ [3]. http://www.cygwin.com/lists.html#subscribe-unsubscribe

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: please add a find-the-fastest-mirror-automatically feature to setup.exe
  2008-05-28 15:38   ` Jason Spiro
@ 2008-05-28 22:34     ` Buchbinder, Barry (NIH/NIAID) [E]
  2008-05-30 14:48       ` Jason Spiro
  0 siblings, 1 reply; 7+ messages in thread
From: Buchbinder, Barry (NIH/NIAID) [E] @ 2008-05-28 22:34 UTC (permalink / raw)
  To: cygwin-apps, Jason Spiro

Jason Spiro wrote on Wednesday, May 28, 2008 11:38 AM:

> Cc'ing the hackers of the Ubuntu "software-properties" app.
> 
> 2008/5/23 Chris Sutcliffe <ir0nh34d@gmail.com> wrote:
>> Jason Spiro wrote:
>>> [Cygwin] Setup.exe is a great tool, but could you please add a
>>> find-the-fastest-mirror-automatically feature?
>> 
>> That would require making a connection attempt to every entry in
>> setup's list, which would be rather counter-productive I would think.
> 
> What if Setup randomly tested just five or ten servers?
> 
> BTW, there are many mirror-testing servers out there.  (Ubuntu Linux
> has a tool with a GUI interface called software-properties[1], with a
> find-the-fastest-mirror-automatically feature called Select Best
> Server.  You can see screenshots of the feature online.[2]  Fedora
> has yum-fastestmirror.  Debian has netselect-apt, which is based on a
> tool called netselect.  Dirk Eddelbuettel wrote a similar tool called
> debian-mirrors which IIRC is no longer a Debian-only tool.)      
> 
> And now, a question for the software-properties hackers I cc'ed:
> 
> Do you know?:  When is it worth the time it takes for users to test
> various mirrors?  Is it worth it if they are planning to do just 2
> minutes of downloading?  How about 20 minutes?  Is it useful for
> users who have only, say, 128Kbps connections like DSL or "lite"
> cable?    

I would think that if one has a slow connection,
that is the rate-limiting factor, not the server.

[snip]

> Jason Spiro

I'm not a programmer, so please excuse me for commenting on a topic
whose solution I am incapable of contributing to.

I do not see what the problem is.  Or, rather, it seems to me (remember
that I admit haven't forgot that I'm totally unqualified to make this
estimate) that the benefit:work ratio is high compared to some other
improvements to setup.  If one finds a mirror too slow, one can always
look on the list of mirrors <http://cygwin.com/mirrors.html>, pick a few
that seem geographically close*, and time them with ping.  Better yet,
just try a few and see which works best.

* Actually, one could also try one that is far away, if it
  is the middle of the night in that part of the world.

I say this as someone who started with cygwin the pre-setup days, when
to get the "user" package involved downloading a zip file that, if I
remember correctly, was at least 20 Meg.  And I downloaded it over
*dial-up*!  Get it started and the phone line was tied up for two
hours.  (Now, with DSL or faster connections, I suspect that the slow
downloads for some people are really caused by downloading movies at
the same time. :-) )  And yes, I have had to change mirrors from time
to time as my favorite mirror has gotten slow or gone off line;
annoying at the moment but, averaged over time, no big deal.

However, I do seem to remember that I've sometimes had problems
(probably over dial-up -- it has been a while) downloading lots of new
packages.  Then the solution has always been to do it a few packages at
a time, e.g., one category at a time.

Now the above is not to dismiss your concerns.  Obviously, this is an
issue for you.  However, having read various cygwin lists for years,
this is the first time I can remember that someone has asked for this
feature.  Most setup requests have to do with user interface.  Most
mirror complaints are about staleness or disappearances.

Well, that's my two bits (and not even worth that much).

Best wishes,

- Barry
  -  Disclaimer:  Statements made herein are not made on behalf of NIAID.
  -  If you believe you received this e-mail in error, you are probably
     sadly mistaken, but if not, aren't you lucky?
  -  Sending this e-mail does not constitute endorsement of the contents;
     I may change my mind later.
  -  This e-mail may have been sent in haste; if any of its contents are
     offensive, inappropriate, inaccurate, ungrammatical, misspelled, or
     incomplete, too bad.
  -  Ideas in this e-mail are bigger than they appear and the writer may
     be smarter than he appears.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: please add a find-the-fastest-mirror-automatically feature to setup.exe
  2008-05-28 22:34     ` Buchbinder, Barry (NIH/NIAID) [E]
@ 2008-05-30 14:48       ` Jason Spiro
  0 siblings, 0 replies; 7+ messages in thread
From: Jason Spiro @ 2008-05-30 14:48 UTC (permalink / raw)
  To: Buchbinder, Barry (NIH/NIAID) [E]
  Cc: cygwin-apps, ubuntu, michiel, michael.vogt, Chris Sutcliffe,
	Soren Andersen, Yitzchak Scott-Thoennes

On Wed, May 28, 2008 at 6:33 PM, Buchbinder, Barry
<BBuchbinder@niaid.nih.gov> wrote:
[...]
> [...] it seems to me [...] that the benefit:work ratio is high compared to some other
> improvements to setup.

I am a programmer and that seems sensible and correct to me.

> If one finds a mirror too slow, one can always
> look on the list of mirrors <http://cygwin.com/mirrors.html>, pick a few
> that seem geographically close*, and time them with ping.  Better yet,
> just try a few and see which works best.
[...]
> Now the above is not to dismiss your concerns.  Obviously, this is an
> issue for you.
[...]
> However, having read various cygwin lists for years,
> this is the first time I can remember that someone has asked for this
> feature.  Most setup requests have to do with user interface.  Most
> mirror complaints are about staleness or disappearances.

It actually wasn't an issue for me.  I am at University of Ottawa and
things are very fast.  A full download of every Cygwin package (to
burn to DVD) took about half an hour.  I tried 2 different servers and
found that the 2nd was fast.  I subscribed to list to complain about a
UI issue.  I just made the suggestion about the find-fastest-mirror
idea because I was already subscribed and to help others.  (I know
that some people won't bother finding the fastest mirror themselves.
So they may waste half an hour extra waiting for a full download of
Cygwin because they did not bother.  I want to save time for those
people. :) )

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-05-30 14:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-23 15:43 please add a find-the-fastest-mirror-automatically feature to setup.exe Jason Spiro
2008-05-23 16:23 ` Chris Sutcliffe
2008-05-24  5:03   ` Soren Andersen
2008-05-25  4:49     ` Yitzchak Scott-Thoennes
2008-05-28 15:38   ` Jason Spiro
2008-05-28 22:34     ` Buchbinder, Barry (NIH/NIAID) [E]
2008-05-30 14:48       ` Jason Spiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).