Re: What's up with fastestmirror?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2011-12-16 at 22:04 -0200, Itamar Reis Peixoto wrote:
> On Fri, Dec 16, 2011 at 9:59 PM, Patrick O'Callaghan
> <pocallaghan@xxxxxxxxx> wrote:
> > I have a slow (1Mbps) connection at home, so I'm keen to reduce yum
> > update times. The fastestmirror plugin ought to be good for someone like
> > me, but I can't discover any rationale for how it's supposed to work.
> > This is not helped by the complete absence of documentation.
> >
> > For example, I explicitly exclude the .br TLD since FM thinks Brazil is
> > close to Venezuela where I live. However networkologically they aren't
> > that close, and downloads from the Brazil mirror(s) general go at 20Kbps
> > or less. So the weighting algorithm is demonstrably wrong. I've actually
> > brought this up before on the list, but I don't remember BZing it. My
> > mistake.
> >
> > Anyway, despite this explicit exclusion, yum insists on trying to
> > download from a Brazil mirror. In fact today it wanted to update json-c
> > and decided to use Brazil, however there was a connection problem so the
> > update failed. Several retries gave the same result.
> >
> > I then disabled fastestmirror completely and tried again. The update
> > completed instantly. So I guess I'll be leaving fastestmirror turned off
> > from now on.
> >
> > poc
> >
> 
> fastestmirror is broken
> 
> it should detect the fast speed downloads, but it tries to find the
> nearest mirror or something else.

I think you're right. The smoking gun is this, from the Python source:

def get_mirrorlist(self):
        """
        This function pings/polls all the mirrors in the list
        C{FastestMirror.mirrorlist} and returns the sorted list of mirrors
        according to the increasing response time of the mirrors.

If that's all it does, it is indeed completely useless. [Insert lecture
about the difference between latency and bandwidth here]. And that's
aside from it apparently ignoring config file setings.

poc

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux