Re: Comments on the fastestmirror plugin
- From: Bill Davidsen <davidsen@xxxxxxx>
- Date: Sun, 14 Mar 2010 20:57:17 -0400
Patrick O'Callaghan wrote:
On Sat, 2010-03-13 at 16:52 -0500, Bill Davidsen wrote:Wow, I wasn't talking dialup. Tens of kb is a few ms on anything useful for
Patrick O'Callaghan wrote:
The yum fastestmirror plugin (yum-plugin-fastestmirror) claims toAnd there you have the heart of the problem, the evaluation is not remotely
evaluate the speed of a bunch of repo mirrors and use the fastest one
relative to the user's location.
However AFAIK what it *actually* does is make a test connection to the
to the candidate mirrors and order them according to response time,
which in many cases is dominated by network latency, which can distort
the results. For well-connected user machines in first-world countries
it probably doesn't matter much, and may have the beneficial effect of
spreading the load over a wider range of mirrors, but for those of us in
a less privileged position it can matter a lot. Ironically, these are
the cases where such an optimization could do the most good.
correct for most cases. It would be worth adding code to download some small RPM
from a number of sites and measure b/w for something real. However, disabling
the feature works, too.
Sadly, downloading a "small" RPM is unlikely to give very reliable
results either. Due to TCP slow-start, a stable effective b/w may only
be reached after some 10's of kb have been downloaded.
major D/L, the slowest DSL I've ever seen sold was 768kb, or max of ~80kB/s.
Figure 100kB per site and stop after the ten fastest are within 5-10% of each
other (that's probably max line speed). Base the speed calc on the last 10k of
100kB to get the steady state value. You don't really care if the process is
slow, once the table is built you use it. Actually, rechecking the five fastest
is probably practical.
This is not an easy problem to solve.Fortunately, you don't have to find the best, virtually all of the top sites
will be close unless they're overloaded. The perfect is the enemy of the good
enough.
--
Bill Davidsen <davidsen@xxxxxxx>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
--
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
- Follow-Ups:
- Re: Comments on the fastestmirror plugin
- From: Patrick O'Callaghan
- Re: Comments on the fastestmirror plugin
- References:
- Comments on the fastestmirror plugin
- From: Patrick O'Callaghan
- Re: Comments on the fastestmirror plugin
- From: Bill Davidsen
- Re: Comments on the fastestmirror plugin
- From: Patrick O'Callaghan
- Comments on the fastestmirror plugin
- Prev by Date: Re: How to Install Nvidia Driver in Fedora12?
- Next by Date: Re: Deafening silence
- Previous by thread: Re: Comments on the fastestmirror plugin
- Next by thread: Re: Comments on the fastestmirror plugin
- Index(es):
Relevant Pages
|