Re: [PATCH setup 0/3] Speed estimation for mirror list sites

Jon Turney via Cygwin-apps <[email protected]> Thu, 2 Apr 2026 21:01:33 +0100
Newsgroups gmane.os.cygwin.applications
Message-ID <[email protected]>
On 20/02/2026 14:47, Jon Turney via Cygwin-apps wrote:
> Add a simple speed estimation for mirror list sites.
> 
> Use it when no previous (from settings) or explicit (via --site options)
> site selection is made, to give a speed-sorted site selection dialog.
>      
> In that case, in unattended mode, also automatically select the 'fastest'
> mirror site.
> 
> Jon Turney (3):
>    Rename site_list -> selected_site_list for clarity
>    Drop maintaining SiteList in order
>    Add speed estimation for mirror list sites


I've build a test version of setup with this change, available at:

  https://cygwin.com/setup/setup-2.938.x86_64.exe (64 bit version)


If people would like to try it out and see if it gives reasonable 
results, and/or point out problems, that would be helpful.


Notes:

By default, it only activates if no previous (from settings) or explicit 
(via --site option) mirror site selection is available, to present a 
speed-sorted site selection dialog. Additionally, in unattended mode 
only, the fastest mirror site is selected.

For testing purposes, if the '--auto-site' option is provided, speed 
estimation is performed, and the fastest mirror (if we were able to 
determine one) overrides any previous selection.

Details of speed estimation are written to /var/log/setup.log.full