[lago-devel] Slow reposync

Yaniv Kaul ykaul at redhat.com
Sun May 7 06:30:23 UTC 2017


On Sun, May 7, 2017 at 9:12 AM, Nadav Goldin <ngoldin at redhat.com> wrote:

> On Sat, May 6, 2017 at 7:01 PM, Yaniv Kaul <ykaul at redhat.com> wrote:
> >
> > Obviously, if I'm syncing a single repo, why is it fetching metadata from
> > other repos?
> > We perhaps need to start splitting the config files to multiple conf
> files?
> > It makes sense anyway, especially if we run the reposync per each repo
> > independently anyway?
>
>
> Yep, unfortunately reposync reads all repos in the config, despite the
> fact only one is enabled for each run. Though I hope that we only pay
> the penalty for the first repo, so that the next repos should already
> use the metadata fetched during the first repo synchronization. Thus
> the overall running time difference should be small. If it fetches the
> metadata for all repos over and over again then it is a problem.
>

It indeed looks like it's only happening for the 1st run.


>
>
> Splitting the repo file makes sense, but it might make it harder to
> maintain, and as I said, I'm not sure if it will have significant
> effect on the running time.
>

It might be actually easier, if different suites can share some repo
configurations. Not sure.
Y.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/lago-devel/attachments/20170507/9430ba81/attachment.html>


More information about the lago-devel mailing list