[CentOS-mirror] Very Slow Mirror

Graham Frank gfrank at neoservers.com
Tue Aug 24 17:13:51 EDT 2010


KB --
In general, CentOS mirrors have been fine enough in my experience.  A
simple test for something like this could be just a few samples of
download rates periodically and then make note of it in the mirror
status page.

Suppose an average response from a server of 80Kbps gets it a bad
mark.  8Mbps or higher is good enough for most yum needs I would
think.  32Mbps on up is excellent.  Incorporating something similar
into the status page and fastest-mirror could help get around issues
such as this one.

We are not looking to come up with an index of how fast each mirror
is.  Rather, we are simply trying to identify problems with mirrors to
preemptively handle issues and offer a baseline of a mirror's speed.

The options for this are numerous.  Your thoughts?

>> [1]: acceptable to the mirror admins. I dont think they would like it
>> much if we were to pull a 600M iso every 6 hours as a speed test.
So why not pull a small 1MB test file?  That's only a few megs a day,
and less than a half gig a month.  I dare say only testing once or
twice daily would be necessary.  You don't need much to see if any
mirror is running at a crawl.

Hopefully my thoughts lead to something.  Have a good evening!

--Graham

On Tue, Aug 24, 2010 at 5:59 AM, Karanbir Singh <mail-lists at karan.org> wrote:
> I can fairly easily plumb in a scheduled regular tests that would check
> b/w rates from various places. However, the question then would be :
> what is a reasonable acceptable[1] performance test.
>
> If we can come up with a test that is considered acceptable, we can then
> move to adding a metric from there into the mirrorlist generation to
> make sure that slower mirrors are used more infrequently.
>
> The caveat here being that even through a machine might only be 10mbps,
> because its used more infrequently - it might give its 2 simultaneous
> users a better / faster experience than the 100mbps machine can to its
> 500 simultaneous users.


More information about the CentOS-mirror mailing list