Welcome to Centmin Mod Community
Register Now

Beta Branch initial install logging of yum timedhosts.txt mirror times

Discussion in 'Centmin Mod Github Commits' started by eva2000, Mar 31, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:10 AM
    Nginx 1.13.x
    MariaDB 5.5
  2. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    example
    Code (Text):
    ls -lahrt /root/centminlogs/
    total 3.1M
    -rw-r--r--. 1 root root  11K Mar 31 08:44 centminmod_1.2.3-eva2000.09.004_310317-184343_yuminstall_centos7.log
    -rw-r--r--. 1 root root  12K Mar 31 08:44 centminmod_yumtimes_310317-184343.log
    -rw-r--r--. 1 root root   37 Mar 31 08:44 centminmod_profiletimes_310317-184343.log
    -rw-r--r--. 1 root root 2.3K Mar 31 08:44 cmm-login-git-checks_310317-184456.log
    -rw-r--r--. 1 root root  66K Mar 31 08:45 centminmod_downloadtimes_310317-184343.log
    -rw-r--r--. 1 root root  275 Mar 31 08:45 securedtmp.log
    -rw-r--r--. 1 root root   45 Mar 31 08:46 centminmod_libresslinstalltime_310317-184343.log
    -rw-r--r--. 1 root root    0 Mar 31 08:46 patch_patchnginx_310317-184343.log
    -rw-r--r--. 1 root root 1.4K Mar 31 08:46 gcc_native.log
    -rw-r--r--. 1 root root 1.8K Mar 31 08:46 nginx-configure-310317-184343.log
    -rw-r--r--. 1 root root 640K Mar 31 08:48 centminmod_ngxinstalltime_310317-184343.log
    -rw-r--r--. 1 root root 9.4K Mar 31 08:51 setio_innodbstatus-before-310317-085055.log
    -rw-r--r--. 1 root root  783 Mar 31 08:51 centminmod_setio_310317-085055.log
    -rw-r--r--. 1 root root 9.4K Mar 31 08:51 setio_innodbstatus-after-310317-085055.log
    -rw-r--r--. 1 root root 1.7K Mar 31 08:51 gcc_php_native.log
    -rw-r--r--. 1 root root   58 Mar 31 08:58 centminmod_phpinstalltime_310317-184343.log
    -rw-r--r--. 1 root root  387 Mar 31 08:58 zendopcache_passfile.txt
    -rw-r--r--. 1 root root 6.6K Mar 31 09:03 centminmod_1.2.3-eva2000.09.004_310317-184343_yum-log.log
    -rw-r--r--. 1 root root  125 Mar 31 09:03 install.utc.time.log
    -rw-r--r--. 1 root root  293 Mar 31 09:03 centminmod_1.2.3-eva2000.09.004_310317-090327_git_updatecur_branch.log
    -rw-r--r--. 1 root root 2.2M Mar 31 09:03 centminmod_1.2.3-eva2000.09.004_310317-184343_install.log
    dr-xr-x---. 7 root root 4.0K Mar 31 09:03 ..
    -rw-r--r--. 1 root root   19 Mar 31 09:03 getcmtime_installtime_310317-183702.log
    -rw-r--r--. 1 root root   56 Mar 31 09:03 firstyum_installtime_310317-183702.log
    -rw-r--r--. 1 root root  551 Mar 31 09:03 sar-u-installstats.log
    -rw-r--r--. 1 root root  511 Mar 31 09:03 sar-q-installstats.log
    -rw-r--r--. 1 root root  711 Mar 31 09:03 sar-r-installstats.log
    -rw-r--r--. 1 root root 1.5K Mar 31 09:03 sar-d-installstats.log
    -rw-r--r--. 1 root root  461 Mar 31 09:03 sar-b-installstats.log
    drwxr-xr-x. 2 root root 4.0K Mar 31 09:03 .
    -rw-r--r--. 1 root root  700 Mar 31 09:03 yum-timedhosts.txt
    

    Code (Text):
    cat /root/centminlogs/yum-timedhosts.txt
    fedora.uberglobalmirror.com 0.0533549785614
    centos.mirror.serversaustralia.com.au 0.0536201000214
    centos.uberglobalmirror.com 0.0539820194244
    epel.mirror.digitalpacific.com.au 0.0558938980103
    mirror.intergrid.com.au 0.0586409568787
    mirror.optus.net 0.0587739944458
    mirror.ventraip.net.au 0.0623190402985
    mirror.aarnet.edu.au 0.0647430419922
    mirror.as24220.net 0.0666871070862
    ftp.swin.edu.au 0.0685679912567
    mirror.internode.on.net 0.0789370536804
    ucmirror.canterbury.ac.nz 0.0868639945984
    centos.mirror.digitalpacific.com.au 0.18536400795
    centos.mirror.crucial.com.au 0.189342021942
    mirror.overthewire.com.au 0.202524900436
    mirror.colocity.com 0.205379009247
    mirror.nsw.coloau.com.au 0.347601890564
    
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    Interesting doing tests on OVH BHS server, i noticed yum fast mirror never utilises OVH BHS's own yum mirror (http://centos.bhs.mirrors.ovh.net/ftp.centos.org/) and that ca.mirror.babylon.network is faster !
    Code (Text):
    cat /root/centminlogs/yum-timedhosts.txt
    ca.mirror.babylon.network 0.000385046005249
    mirror2.evolution-host.com 0.000389099121094
    centos.bhs.mirrors.ovh.net 0.000518083572388
    centos.mirror.vexxhost.com 0.0101099014282
    mirror.csclub.uwaterloo.ca 0.0113260746002
    centos.mirror.rafal.ca 0.0116109848022
    centos.mirror.colo-serv.net 0.0170569419861
    centos.mirror.iweb.ca 0.0289621353149
    muug.ca 0.0325689315796
    mirror.esecuredata.com 0.162511110306

    that is for latency but what about throughput ?

    Code (Text):
    curl -s "http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os"
    http://mirror.its.dal.ca/centos/7/os/x86_64/
    http://centos.mirror.colo-serv.net/7/os/x86_64/
    http://centos.les.net/7/os/x86_64/
    http://centos.westmancom.com/7/os/x86_64/
    http://centos.mirror.rafal.ca/7/os/x86_64/
    http://centos.mirror.iweb.ca/7/os/x86_64/
    http://centos.mirror.vexxhost.com/7/os/x86_64/
    http://mirror2.evolution-host.com/centos/7/os/x86_64/
    http://centos.bhs.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/
    http://mirror.csclub.uwaterloo.ca/centos/7/os/x86_64/
    

    Code (Text):
    curl -s "http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates"
    http://mirror.its.dal.ca/centos/7/updates/x86_64/
    http://centos.mirror.colo-serv.net/7/updates/x86_64/
    http://centos.les.net/7/updates/x86_64/
    http://centos.westmancom.com/7/updates/x86_64/
    http://centos.mirror.rafal.ca/7/updates/x86_64/
    http://centos.mirror.iweb.ca/7/updates/x86_64/
    http://centos.mirror.vexxhost.com/7/updates/x86_64/
    http://mirror2.evolution-host.com/centos/7/updates/x86_64/
    http://centos.bhs.mirrors.ovh.net/ftp.centos.org/7/updates/x86_64/
    http://mirror.csclub.uwaterloo.ca/centos/7/updates/x86_64/
    


    OVH BHS mirror
    Code (Text):
    wget -O /dev/null http://centos.bhs.mirrors.ovh.net/ftp.centos.org/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    --2017-04-01 17:22:50--  http://centos.bhs.mirrors.ovh.net/ftp.centos.org/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    Resolving centos.bhs.mirrors.ovh.net... 2607:5300:60:171d::1, 142.4.218.29
    Connecting to centos.bhs.mirrors.ovh.net|2607:5300:60:171d::1|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 713031680 (680M) [application/octet-stream]
    Saving to: ‘/dev/null’
    
    /dev/null                                                      100%[==================================================================================================================================================>] 680.00M   104MB/s    in 6.5s
    
    2017-04-01 17:22:57 (104 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    

    Babylon Network mirror
    Code (Text):
    607:5300:60:3a71::30, 149.56.229.30
    Connecting to ca.mirror.babylon.network|2607:5300:60:3a71::30|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 713031680 (680M) [application/octet-stream]
    Saving to: ‘/dev/null’
    
    /dev/null                                                      100%[==================================================================================================================================================>] 680.00M  5.23MB/s    in 2m 12s
    
    2017-04-01 17:25:51 (5.15 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    


    and 2nd fastest listed mirror2.evolution-host.com YUM mirror
    Code (Text):
    wget -O /dev/null http://mirror2.evolution-host.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    --2017-04-01 17:31:22--  http://mirror2.evolution-host.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    Resolving mirror2.evolution-host.com... 2607:5300:60:7146::d1e1:1, 167.114.47.151
    Connecting to mirror2.evolution-host.com|2607:5300:60:7146::d1e1:1|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 713031680 (680M) [application/x-iso9660-image]
    Saving to: ‘/dev/null’
    
    /dev/null                                                      100%[==================================================================================================================================================>] 680.00M  76.5MB/s    in 9.7s
    
    2017-04-01 17:31:32 (70.3 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    


    Looks like if I can force OVH BHS servers through OVH BHS CentOS YUM mirror it should download YUM packages much faster ? :)

    My OVH BHS server is going through slower Babylon Network mirror right now
    Code (Text):
    yum list updates
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
     * base: ca.mirror.babylon.network
     * epel: ca.mirror.babylon.network
     * extras: ca.mirror.babylon.network
     * rpmforge: repoforge.mirror.constant.com
     * updates: ca.mirror.babylon.network
    360 packages excluded due to repository priority protections
    

    Easy identifier for OVH BHS servers via /etc/machine-info
    Code (Text):
    cat /etc/machine-info
    CHASSIS=server
    LOCATION="OVH bhs5, Canada"
    


    So should I be excluding the slower mirrors or should I manipulate the timedhosts.txt file for OVH BHS to a faster time ?

    Excluding slow mirrors way might not be ideal when OVH BHS mirror is down ? But then it should fallback to next fastest mirror.
    Code (Text):
    cat /etc/yum/pluginconf.d/fastestmirror.conf
    [main]
    enabled=1
    verbose=0
    always_print_best_host = true
    socket_timeout=3
    #  Relative paths are relative to the cachedir (and so works for users as well
    # as root).
    hostfilepath=timedhosts.txt
    maxhostfileage=10
    maxthreads=15
    #exclude=.gov, facebook
    #include_only=.nl,.de,.uk,.ie
    exclude=ca.mirror.babylon.network, mirror2.evolution-host.com
    

    Code (Text):
    yum list updates
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    Excluding mirror: ca.mirror.babylon.network
    Excluding mirror: mirror2.evolution-host.com
     * base: centos.bhs.mirrors.ovh.net
    Excluding mirror: ca.mirror.babylon.network
     * epel: mirrors.mit.edu
    Excluding mirror: ca.mirror.babylon.network
    Excluding mirror: mirror2.evolution-host.com
     * extras: centos.bhs.mirrors.ovh.net
     * rpmforge: repoforge.mirror.constant.com
    Excluding mirror: ca.mirror.babylon.network
    Excluding mirror: mirror2.evolution-host.com
     * updates: centos.bhs.mirrors.ovh.net
    360 packages excluded due to repository priority protections
    


    manipulating timedhosts.txt to trick YUM fastmirrors to use OVH BHS mirror
    Code (Text):
    cat /var/cache/yum/x86_64/7/timedhosts.txt | sed -e 's|centos.bhs.mirrors.ovh.net .*|centos.bhs.mirrors.ovh.net 0.000115046005249|'
    muug.ca 0.0325689315796
    mirror.esecuredata.com 0.162511110306
    ca.mirror.babylon.network 0.000385046005249
    mirror2.evolution-host.com 0.000389099121094
    centos.mirror.rafal.ca 0.0116109848022
    centos.bhs.mirrors.ovh.net 0.000115046005249
    centos.mirror.vexxhost.com 0.0101099014282
    centos.mirror.iweb.ca 0.0289621353149
    mirror.csclub.uwaterloo.ca 0.0113260746002
    centos.mirror.colo-serv.net 0.0170569419861
    

    Code (Text):
    sed -i 's|centos.bhs.mirrors.ovh.net .*|centos.bhs.mirrors.ovh.net 0.000115046005249|' /var/cache/yum/x86_64/7/timedhosts.txt
    

    Code (Text):
    cat /var/cache/yum/x86_64/7/timedhosts.txt
    muug.ca 0.0325689315796
    mirror.esecuredata.com 0.162511110306
    ca.mirror.babylon.network 0.000385046005249
    mirror2.evolution-host.com 0.000389099121094
    centos.mirror.rafal.ca 0.0116109848022
    centos.bhs.mirrors.ovh.net 0.000115046005249
    centos.mirror.vexxhost.com 0.0101099014282
    centos.mirror.iweb.ca 0.0289621353149
    mirror.csclub.uwaterloo.ca 0.0113260746002
    centos.mirror.colo-serv.net 0.0170569419861
    

    Code (Text):
    yum list updates
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
     * base: centos.bhs.mirrors.ovh.net
     * epel: ca.mirror.babylon.network
     * extras: centos.bhs.mirrors.ovh.net
     * rpmforge: repoforge.mirror.constant.com
     * updates: centos.bhs.mirrors.ovh.net
    360 packages excluded due to repository priority protections
    

    Or just exclude ca.mirror.babylon.network ~5MB/s and leave fastmirror to utilise 2nd fastest which is at 70MB/s download vs OVH BHS at 104MB/s

    FYI, can do same for OVH France too if it turns out it's faster they have OVH YUM mirror at http://centos.mirrors.ovh.net/ftp.centos.org/

    As does Linode have locall YUM mirrors at https://www.linode.com/docs/platform/package-mirrors

    looks like DNF package manager fastest mirror also has same issue in picking OVH BHS slower Babylon Network mirror but there is no OVH BHS mirror for DNF fastest mirror for selection. There is one for EPEL on ovh.net
    Code (Text):
    cat /var/cache/dnf/fastestmirror.cache | egrep -v '^ts|rsync' | grep -v 'connectime=-1' | tr '\n' ' ' | sed -e 's| \[| \n\[|g'  | sort -k2 | grep ovh
    [http://epel.mirrors.ovh.net] connectime=0.10467899999999999
    

    Code (Text):
    cat /var/cache/dnf/fastestmirror.cache | egrep -v '^ts|rsync' | grep -v 'connectime=-1' | tr '\n' ' ' | sed -e 's| \[| \n\[|g'  | sort -k2
    
    [http://ca.mirror.babylon.network] connectime=0.00030899999999999981
    [https://ca.mirror.babylon.network] connectime=0.00035300000000000002
    [http://mirror2.evolution-host.com] connectime=0.00041199999999999982
    [http://repoforge.mirror.constant.com] connectime=0.0097070000000000004
    [http://mirror.csclub.uwaterloo.ca] connectime=0.011875999999999999
    [http://mirrors.mit.edu] connectime=0.015612000000000001
    [https://mirror.steadfast.net] connectime=0.016796999999999992
    [http://centos.mirror.colo-serv.net] connectime=0.017108999999999999
    [http://repoforge.spinellicreations.com] connectime=0.017535999999999996
    [http://mirror.steadfast.net] connectime=0.018976000000000007
    [http://mirror.math.princeton.edu] connectime=0.022813999999999987
    [http://mirror.cs.princeton.edu] connectime=0.022954999999999989
    [http://mirror.cogentco.com] connectime=0.026331999999999994
    [https://mirrors.lug.mtu.edu] connectime=0.026918999999999998
    [http://centos.mirror.iweb.ca] connectime=0.028213000000000002
    [http://mirror.cs.pitt.edu] connectime=0.028988000000000003
    [http://mirrors.lug.mtu.edu] connectime=0.029066000000000008
    [http://ftp.cse.buffalo.edu] connectime=0.032188999999999982
    [http://centos.westmancom.com] connectime=0.034488000000000019
    [http://archive.linux.duke.edu] connectime=0.036387000000000003
    [http://mirror.metrocast.net] connectime=0.037662000000000001
    [http://mirror.us.leaseweb.net] connectime=0.042326000000000003
    [http://mirror.nexcess.net] connectime=0.042566999999999994
    [http://mirror.its.dal.ca] connectime=0.044546000000000002
    [http://mirror.lstn.net] connectime=0.046089999999999999
    [http://fedora-epel.mirror.lstn.net] connectime=0.046335000000000001
    [http://mirror.cpsc.ucalgary.ca] connectime=0.046819999999999994
    [http://mirror.nodesdirect.com] connectime=0.047712999999999998
    [http://mirror.teklinks.com] connectime=0.047752999999999997
    [http://muug.ca] connectime=0.060283999999999997
    [http://centos.les.net] connectime=0.060438999999999993
    [https://pubmirror2.math.uh.edu] connectime=0.061001999999999994
    [http://pubmirror2.math.uh.edu] connectime=0.061030999999999995
    [https://mirrors.cat.pdx.edu] connectime=0.062359999999999971
    [http://mirrors.cat.pdx.edu] connectime=0.062392999999999921
    [https://mirrors.kernel.org] connectime=0.063133999999999996
    [http://mirrors.kernel.org] connectime=0.065463000000000007
    [http://linux.mirrors.es.net] connectime=0.071640000000000009
    [http://mirror.hmc.edu] connectime=0.072436
    [https://mirror.hmc.edu] connectime=0.072568999999999995
    [https://mirror.chpc.utah.edu] connectime=0.074318999999999996
    [http://mirror.esecuredata.com] connectime=0.074859999999999982
    [http://mirror.chpc.utah.edu] connectime=0.076519000000000031
    [http://dl.fedoraproject.org] connectime=0.076863999999999988
    [https://dl.fedoraproject.org] connectime=0.078257999999999994
    [http://mirror.sfo12.us.leaseweb.net] connectime=0.082149
    [http://mirrors.ircam.fr] connectime=0.082408000000000009
    [http://ftp.nluug.nl] connectime=0.085428999999999977
    [http://ftp.surfsara.nl] connectime=0.085949000000000025
    [http://repoforge.mirror.wearetriple.com] connectime=0.086515000000000009
    [http://repoforge.cu.be] connectime=0.089092999999999978
    [http://mirror1.hs-esslingen.de] connectime=0.094566999999999998
    [http://merlin.fit.vutbr.cz] connectime=0.099794000000000008
    [http://ftp.fi.muni.cz] connectime=0.099814
    [http://mirror.vutbr.cz] connectime=0.10112100000000002
    [http://mirror.de.leaseweb.net] connectime=0.10415099999999999
    [http://epel.mirrors.ovh.net] connectime=0.10467899999999999                
    [http://repoforge.eecs.wsu.edu] connectime=0.10628799999999999
    [http://mir01.syntis.net] connectime=0.10685500000000001
    [http://mirror.nl.leaseweb.net] connectime=0.10760000000000002
    [http://mirror.bacloud.com] connectime=0.117114
    [http://mirrors.m247.ro] connectime=0.117558
    [http://mirror.zetup.net] connectime=0.12350700000000001
    [http://mirror.awanti.com] connectime=0.13345500000000002
    [http://mirrors.netix.net] connectime=0.137179
    [http://mirrors.neterra.net] connectime=0.139849
    [http://mirror.veriteknik.net.tr] connectime=0.15241299999999999
    [http://ftp.cc.uoc.gr] connectime=0.15590200000000001
    [http://repoforge.xpg.com.br] connectime=0.15898800000000002
    [http://repoforge.gtdinternet.com] connectime=0.16259500000000002
    [http://repoforge.ip-connect.vn.ua] connectime=0.16407899999999997
    [http://mirror.fairway.ne.jp] connectime=0.17901999999999998
    [http://ftp.riken.jp] connectime=0.18761900000000004
    [http://ftp.neowiz.com] connectime=0.21390399999999998
    [http://mirror.ventraip.net.au] connectime=0.22331800000000002
    [http://repoforge.mirror.digitalpacific.com.au] connectime=0.22928099999999998
    [http://ftp.kddilabs.jp] connectime=0.23186499999999999
    [https://mirrors.tuna.tsinghua.edu.cn] connectime=0.23409900000000003
    [http://ftp.wa.co.za] connectime=0.24244099999999999
    [http://mirror.as24220.net] connectime=0.24453700000000006
    [http://mirrors.neusoft.edu.cn] connectime=0.24833999999999995
    [http://ftp.is.co.za] connectime=0.25375399999999998
    [http://mirror.smartmedia.net.id] connectime=0.25531099999999995
    [http://kartolo.sby.datautama.net.id] connectime=0.27276499999999998
    [http://mirrors.digipower.vn] connectime=0.28848600000000002
    [http://mirror.poliwangi.ac.id] connectime=0.29475000000000001
    [:_librepo_:] version=1
    


    Testing all OVH BHS YUM mirrorlist obtained mirrors

    test output for iso link
    Code (Text):
    curl -s "http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os" | while read l; do LINK=$(echo $l | sed -e 's|\/7\/os\/x86_64\/|\/7/isos\/x86_64\/CentOS-7-x86_64-Minimal-1611.iso|'); echo $LINK; done
    http://mirror.its.dal.ca/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    http://centos.mirror.colo-serv.net/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    http://centos.les.net/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    http://centos.westmancom.com/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    http://centos.mirror.rafal.ca/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    http://centos.mirror.iweb.ca/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    http://centos.mirror.vexxhost.com/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    http://mirror2.evolution-host.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    http://centos.bhs.mirrors.ovh.net/ftp.centos.org/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    http://mirror.csclub.uwaterloo.ca/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    


    wget command
    Code (Text):
    curl -s "http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os" | while read l; do LINK=$(echo $l | sed -e 's|\/7\/os\/x86_64\/|\/7/isos\/x86_64\/CentOS-7-x86_64-Minimal-1611.iso|'); echo $LINK; wget -O /dev/null $LINK; done
    


    Code (Text):
    curl -s "http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os" | while read l; do LINK=$(echo $l | sed -e 's|\/7\/os\/x86_64\/|\/7/isos\/x86_64\/CentOS-7-x86_64-Minimal-1611.iso|'); echo $LINK; wget -O /dev/null $LINK; done   
    http://mirror.its.dal.ca/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    --2017-04-01 21:39:08--  http://mirror.its.dal.ca/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    Resolving mirror.its.dal.ca... 2001:410:a000:50::20, 192.75.96.254
    Connecting to mirror.its.dal.ca|2001:410:a000:50::20|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 713031680 (680M) [application/x-iso9660-image]
    Saving to: ‘/dev/null’
    
    /dev/null                                                      100%[==================================================================================================================================================>] 680.00M  37.5MB/s    in 22s   
    
    2017-04-01 21:39:31 (30.3 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    
    http://centos.mirror.colo-serv.net/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    --2017-04-01 21:39:31--  http://centos.mirror.colo-serv.net/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    Resolving centos.mirror.colo-serv.net... 2001:19c0:e:13::23, 173.209.34.179
    Connecting to centos.mirror.colo-serv.net|2001:19c0:e:13::23|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 713031680 (680M) [application/octet-stream]
    Saving to: ‘/dev/null’
    
    /dev/null                                                      100%[==================================================================================================================================================>] 680.00M  1.13MB/s    in 12m 54s
    
    2017-04-01 21:52:25 (900 KB/s) - ‘/dev/null’ saved [713031680/713031680]
    
    http://centos.les.net/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    --2017-04-01 21:52:25--  http://centos.les.net/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    Resolving centos.les.net... 2605:e200:d111:1:225:90ff:fe24:3f9e, 199.87.154.255
    Connecting to centos.les.net|2605:e200:d111:1:225:90ff:fe24:3f9e|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 713031680 (680M) [application/octet-stream]
    Saving to: ‘/dev/null’
    
    /dev/null                                                      100%[==================================================================================================================================================>] 680.00M  19.2MB/s    in 32s   
    
    2017-04-01 21:52:57 (21.1 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    
    http://centos.westmancom.com/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    --2017-04-01 21:52:57--  http://centos.westmancom.com/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    Resolving centos.westmancom.com... 2607:0:2:1:216:36:128:35, 216.36.128.35
    Connecting to centos.westmancom.com|2607:0:2:1:216:36:128:35|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 713031680 (680M) [application/octet-stream]
    Saving to: ‘/dev/null’
    
    /dev/null                                                      100%[==================================================================================================================================================>] 680.00M  23.4MB/s    in 52s   
    
    2017-04-01 21:53:49 (13.1 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    
    http://centos.mirror.rafal.ca/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    --2017-04-01 21:53:49--  http://centos.mirror.rafal.ca/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    Resolving centos.mirror.rafal.ca... 2604:1500:f001:0:216:3eff:fe3f:746b, 207.210.46.249
    Connecting to centos.mirror.rafal.ca|2604:1500:f001:0:216:3eff:fe3f:746b|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 713031680 (680M) [application/x-iso9660-image]
    Saving to: ‘/dev/null’
    
    /dev/null                                                      100%[==================================================================================================================================================>] 680.00M   102MB/s    in 6.8s   
    
    2017-04-01 21:53:56 (99.6 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    
    http://centos.mirror.iweb.ca/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    --2017-04-01 21:53:56--  http://centos.mirror.iweb.ca/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    Resolving centos.mirror.iweb.ca... 2607:f748:10:12:0:ce17:705:1, 192.175.120.169
    Connecting to centos.mirror.iweb.ca|2607:f748:10:12:0:ce17:705:1|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 713031680 (680M) [application/x-iso9660-image]
    Saving to: ‘/dev/null’
    
    /dev/null                                                      100%[==================================================================================================================================================>] 680.00M  35.1MB/s    in 19s   
    
    2017-04-01 21:54:15 (36.6 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    
    http://centos.mirror.vexxhost.com/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    --2017-04-01 21:54:15--  http://centos.mirror.vexxhost.com/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    Resolving centos.mirror.vexxhost.com... 2604:e100:1:0:f816:3eff:fe28:88d0, 162.253.53.24
    Connecting to centos.mirror.vexxhost.com|2604:e100:1:0:f816:3eff:fe28:88d0|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 713031680 (680M) [application/octet-stream]
    Saving to: ‘/dev/null’
    
    /dev/null                                                      100%[==================================================================================================================================================>] 680.00M  16.1MB/s    in 51s   
    
    2017-04-01 21:55:06 (13.4 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    
    http://mirror2.evolution-host.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    --2017-04-01 21:55:06--  http://mirror2.evolution-host.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    Resolving mirror2.evolution-host.com... 2607:5300:60:7146::d1e1:1, 167.114.47.151
    Connecting to mirror2.evolution-host.com|2607:5300:60:7146::d1e1:1|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 713031680 (680M) [application/x-iso9660-image]
    Saving to: ‘/dev/null’
    
    /dev/null                                                      100%[==================================================================================================================================================>] 680.00M   106MB/s    in 6.4s   
    
    2017-04-01 21:55:12 (106 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    
    http://centos.bhs.mirrors.ovh.net/ftp.centos.org/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    --2017-04-01 21:55:12--  http://centos.bhs.mirrors.ovh.net/ftp.centos.org/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    Resolving centos.bhs.mirrors.ovh.net... 2607:5300:60:171d::1, 142.4.218.29
    Connecting to centos.bhs.mirrors.ovh.net|2607:5300:60:171d::1|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 713031680 (680M) [application/octet-stream]
    Saving to: ‘/dev/null’
    
    /dev/null                                                      100%[==================================================================================================================================================>] 680.00M   103MB/s    in 6.5s   
    
    2017-04-01 21:55:19 (104 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    
    http://mirror.csclub.uwaterloo.ca/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    --2017-04-01 21:55:19--  http://mirror.csclub.uwaterloo.ca/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    Resolving mirror.csclub.uwaterloo.ca... 2620:101:f000:4901:c5c:0:f:1055, 129.97.134.71
    Connecting to mirror.csclub.uwaterloo.ca|2620:101:f000:4901:c5c:0:f:1055|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 713031680 (680M) [application/octet-stream]
    Saving to: ‘/dev/null’
    
    /dev/null                                                      100%[==================================================================================================================================================>] 680.00M  95.4MB/s    in 6.9s   
    
    2017-04-01 21:55:26 (98.9 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    


    lets filter the results for mirror name and wget speed
    Code (Text):
    egrep '/dev/null’ saved|CentOS-7-x86_64-Minimal-1611.iso' speedtest.txt | egrep '^http|/dev/null’ saved'
    http://mirror.its.dal.ca/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    2017-04-01 21:39:31 (30.3 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    http://centos.mirror.colo-serv.net/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    2017-04-01 21:52:25 (900 KB/s) - ‘/dev/null’ saved [713031680/713031680]
    http://centos.les.net/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    2017-04-01 21:52:57 (21.1 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    http://centos.westmancom.com/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    2017-04-01 21:53:49 (13.1 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    http://centos.mirror.rafal.ca/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    2017-04-01 21:53:56 (99.6 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    http://centos.mirror.iweb.ca/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    2017-04-01 21:54:15 (36.6 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    http://centos.mirror.vexxhost.com/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    2017-04-01 21:55:06 (13.4 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    http://mirror2.evolution-host.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    2017-04-01 21:55:12 (106 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    http://centos.bhs.mirrors.ovh.net/ftp.centos.org/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    2017-04-01 21:55:19 (104 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    http://mirror.csclub.uwaterloo.ca/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
    2017-04-01 21:55:26 (98.9 MB/s) - ‘/dev/null’ saved [713031680/713031680]
    


    Slowest mirrors are:
    • centos.mirror.colo-serv.net at 900KB/s
    • centos.westmancom.com at 13.1MB/s
    • centos.mirror.vexxhost.com at 13.4MB/s
    • centos.les.net at 21.1MB/s

    Fastest mirrors are:
    • mirror2.evolution-host.com at 106MB/s
    • centos.bhs.mirrors.ovh at 104MB/s
    • centos.mirror.rafal.ca at 99.6MB/s
    • mirror.csclub.uwaterloo.ca at 98.9MB/s
     
    Last edited: Apr 2, 2017
  4. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:10 AM
    Nginx 1.13.x
    MariaDB 5.5
  5. ljseals

    ljseals Member

    88
    22
    8
    Dec 20, 2016
    Ratings:
    +43
    Local Time:
    1:10 PM
    Both Servers fo me show:
    Centos 7
    CHASSIS=server
    LOCATION="OVH bhs1, Canada"
     
    • Like Like x 1
  6. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    2:10 AM
    1.11
    10.2
    All CentOS 7
    My CentOS 6 Server
     
    • Like Like x 1
  7. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    cheers guys looks like /etc/machine-info only available on OVH CentOS 7 based servers then.
     
  8. BamaStangGuy

    BamaStangGuy Active Member

    470
    137
    43
    May 25, 2014
    Ratings:
    +180
    Local Time:
    1:10 PM
    [01:06][root@ovh-128.whippmedia.com centminmod]# cat /etc/machine-info

    CHASSIS=server

    LOCATION="OVH bhs1, Canada"
     
    • Like Like x 1