Re: Debugging mirror selection

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

 



Hi!

> Fedora's mirrormanager is returning it (and only it) at pref 100
> in the metalink file.

mirrormanager order and prefs are used only initially, then
their previously measured download speeds are used.

> For example, it'll pull repomd.xml and foo-primary.sqlite.bz2 from my
> mirror, but then (for no apparent reason, no error logged) it'll
> fetch foo-primary.sqlite.bz2 from another mirror.

Was the repomd.xml DL slow?  It might have decreased the rank
of 1st mirror below that of the 2nd one..

Also, maybe Yum hasn't yet used the 2nd mirror, so there's 
no information available, so Yum assumes it's at DEFAULT_SPEED=1MBps.

If your 1st mirror is slower, 2nd one is used, then 3rd..
Of course, if they're slower, they are used only once.

> What can I do to fix this?

There's a special handling of private="True" mirrors.  Yum always
prefers such mirrors, regardless of their speed..

Maybe preference="100" could imply private mirror, too.

Other possibility is to let users configure the DEFAULT_SPEED
to some smaller value than 1M.  As long as the fastest available
mirrors are faster than this, Yum should not ever try other one.
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux