On 09/07/2010 06:03 PM, Dr. David Kirkby wrote: > I decided to run "sage -upgrade" today - for about the first time ever. > I'm going to try to upgrade sage-4.5.3.alpha2 to sage-4.5.3. I don't > know if its a good idea to update alphas or not, but I'm not bothered if > it fails or not. > > > I get this: > > Testing mirrors... > > [2 ] boxen.math.washington.edu 895 [ms] > [9 ] mirror.switch.ch 10900 [ms] > [20] www.mirrorservice.org 10938 [ms] > [7 ] ftp.sh.cvut.cz 10973 [ms] > [11] mirrors.fe.up.pt 11027 [ms] > [10] mirror.yandex.ru 11028 [ms] > [18] sunsite.rediris.es 11038 [ms] > [14] modular.math.jmu.edu 11062 [ms] > [13] modular.fas.harvard.edu 11072 [ms] > [12] mirrors.xmission.com 11152 [ms] > [3 ] content.wuala.com 11226 [ms] > [4 ] ftp.iitm.ac.in 11299 [ms] > [8 ] mirror.aarnet.edu.au 11328 [ms] > [15] sagemath.c3sl.ufpr.br 11357 [ms] > [16] sagemath.mirror.ac.za 11516 [ms] > [5 ] ftp.kaist.ac.kr 11597 [ms] > [6 ] ftp.leg.uct.ac.za 11626 [ms] > [19] www.cecm.sfu.ca 14831 [ms] > [17] sagemath.polytechnic.edu.na 17131 [ms] > > Automatically selected server mirror.switch.ch > (http://mirror.switch.ch/mirror/sagemath/) > Downloading packages from http://mirror.switch.ch/mirror/sagemath//spkg > Reading package lists... Done! > The following packages will be upgraded: > > I assume these are ping time. > > If the ping time to boxen.math.washington.edu is an order of magnitude > less than any other mirror, why is mirror.switch.ch chosen in preference > to boxen.math.washington.edu? > > I suspect the reason boxen.math.washington.edu is quicker is that I have > it's IP address in /etc/inet/hosts, so there is no DNS lookup involved. > But I'm still puzzled why it was not chosen.
>From the docstring for SAGE_LOCAL/bin/sage-update's get_sage_mirror function: """ Retrieves official list of active and up-to-date mirrors. This only works in conjunction with a server script that generates the SAGE_SERVER/mirror_list file every 10 minutes. Then selects one of the top 3 mirrors, where pinging the host for index.html responses fastest. """ and the code: # select a random one from the top 3, to be fair By the way, you can also set a custom upgrade path, e.g., ./sage -upgrade http://sage.math.washington.edu/home/release/sage-4.5.3/sage-4.5.3/ which might be necessary until 4.5.3 propagates out to the mirrors. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org