[CentOS-mirror] CentOS-mirror Digest, Vol 71, Issue 4

Fri Jan 7 18:23:42 UTC 2011
Andre Dault <adault at uottawa.ca>

Another question regarding mirrors...

I've noticed that today when I execute an update command on my systems it is now resolving to my mirror for all but the update mirror.
Based on the timehosts.txt file we can clearly see that my server has the quickest time, but for some reason the update mirror is never the same as the others:

Determining fastest mirrors
 * addons: mirror.science.uottawa.ca
 * base: mirror.science.uottawa.ca
 * extras: mirror.science.uottawa.ca
 * updates: centos.mirror.netelligent.ca

Is there something that dictates which mirrors are update mirrors?

Andre

Timhosts.txt
==============================
mirrors.liquidweb.com 0.0354559421539
mirrors.cat.pdx.edu 0.0865287780762
mirrors.usc.edu 0.088595867157
centos.mirror.netelligent.ca 0.0178909301758
mirror.its.dal.ca 0.0291829109192
mirrors.kernel.org 0.0907509326935
centos.arcticnetwork.ca 0.0480401515961
www.muug.mb.ca 0.0358769893646
ftp.telus.net 0.0614769458771
mirror.science.uottawa.ca 0.000492095947266
mirror.its.sfu.ca 0.0598459243774
centos.westmancom.com 0.0344429016113
centos.mirror.iweb.ca 0.00503897666931
mirror.csclub.uwaterloo.ca 0.0119950771332
mirrors.versaweb.com 0.0810549259186
mirror.san.fastserv.com 0.0867609977722
centos.mbni.med.umich.edu 0.0318138599396
mirrors.xmission.com 0.0765750408173
centos.omnispring.com 0.0557861328125


> Date: Thu, 06 Jan 2011 12:57:48 -0600
> From: Rex Dieter <rdieter at math.unl.edu>
> Subject: Re: [CentOS-mirror] Mirror question
> To: "Mailing list for CentOS mirrors." <centos-mirror at centos.org>
> Message-ID: <4D2610AC.3020807 at math.unl.edu>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 01/06/2011 12:39 PM, Andre Dault wrote:
>
> > I was wondering, how does the "fastest mirror" algorithm work?
>
> Very simple/naive, compares ping response times, see /var/cache/yum/timedhosts.txt for last-used values (which I sometimes tweak by hand to get mirrors I want).
>
> -- Rex