[mirror-admin] faster report_mirror available

Imre Gergely imre.gergely at upc.ro
Tue Mar 10 03:31:06 EDT 2009


Seems to be faster.

First run:

real    2m16.849s
user    0m15.295s
sys     0m18.114s

Second run:

real    0m57.912s
user    0m22.410s
sys     0m21.508s


On 03/10/2009 12:03 AM, Matt Domsch wrote:
> I've posted a newer version of report_mirror which might interest you.
> 
> http://git.fedorahosted.org/git/mirrormanager/?p=mirrormanager;a=blob_plain;f=client/report_mirror;hb=HEAD
> 
> This version is faster in 2 ways:
> 1) it eliminates the stat() calls on every file in your mirror, which
>    were slow and added to your system's disk I/O load.
> 2) it no longer uploads stat() data for each file to the MM database.
>    It now only uploads a list of directories, which is much less
>    data.  This should reduce the Proxy Error timeouts we've seen too,
>    as now it uploads only a few hundred bytes of data.
> 
> Behavior on the back end MM database is unchanged.  In reality, it
> was mostly ignoring  the per-file stat() data anyhow.
> 
> If you hadn't been running report_mirror after each rsync run, because
> it was too slow, please try with this new version.
> 
> Thanks,
> Matt
> Fedora Mirror Wrangler
> 

-- 
Imre Gergely
IP Services Engineer
UPC Romania
28 Dostoievski St., 400424 Cluj-Napoca
www.upc.ro
gpg --keyserver subkeys.pgp.net --recv-keys 0x34525305

--


More information about the Mirror-admin mailing list