[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-devel-list
Subject: Re: Has something changed with RPMS?
From: Richard Shaw <hobbes1069 () gmail ! com>
Date: 2020-06-02 11:43:25
Message-ID: CAN3TeO2Tv_ijwXb0T2CxxBbeOzDjb9+zxtCS-kbSMvcFfMYL8A () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Tue, Jun 2, 2020 at 6:38 AM Panu Matilainen <pmatilai@redhat.com> wrote:
> On 6/2/20 2:34 PM, Richard Shaw wrote:
> > On Tue, Jun 2, 2020 at 5:13 AM Panu Matilainen <pmatilai@redhat.com
> > <mailto:pmatilai@redhat.com>> wrote:
> >
> >
> > Well, it's a guess.
> >
> > Just tested the particular case of boost-devel install with plain
> > rpm on
> > all of sqlite, bdb and ndb, and of the three, bdb is the slowest one.
> > The tested, expected behavior of sqlite is as fast or faster than
> bdb,
> > but of course it's *possible* previously unknown worst-case
> > behaviors exist.
> >
> > Lets start with the basics:
> > - is sqlite even involved - it will only be used on rawhide builds if
> > mock bootstrap is used
> > - does it make a difference if you override _db_backend to bdb/sqlite
> > from mock config / cli define
> > - a reproducer please (eg, what package is considerably slower to
> build
> > than before, and by how much)
> >
> >
> >
> > boost-devel, nosync=True, bootstrap=False
> > real 0m6.083s
> > user 0m4.232s
> > sys 0m1.155s
> >
> > real 0m6.134s
> > user 0m4.356s
> > sys 0m1.115s
> > ---
> >
> > boost-devel, nosync=True, bootstrap=True
> > real 0m7.464s
> > user 0m4.849s
> > sys 0m1.364s
> >
> > I think this one was only slower because it converted the database? I
> > saw a bunch of messages about looking for sqlite but finding bdb
> database.
> >
> > real 0m7.234s
> > user 0m4.984s
> > sys 0m1.321s
> >
> > Nope, about the same on a second run.
> > ---
> >
> > boost-devel, nosync=False, bootstrap=False
> > real 0m7.017s
> > user 0m4.388s
> > sys 0m1.144s
> > ---
> >
> > boost-devel, nosync=False, bootstrap=True
> > real 1m13.294s
> > user 0m6.723s
> > sys 0m2.761s
> > ---
> >
> > So it looks like boostrap=True and nosync=False is the culprit, which I
> > inadvertantly got myself into. I did have either set and of course
> > nosync would be False by default and it looks like bootstrap=True by
> > default for rawhide.
>
> What's the actual command you're running here?
>
$ mock -r fedora-rawhide-x86_64 --init
$ time mock -r fedora-rawhide-x86_64 --install boost-devel
Thanks,
Richard
[Attachment #5 (text/html)]
<div dir="ltr"><div dir="ltr">On Tue, Jun 2, 2020 at 6:38 AM Panu Matilainen <<a \
href="mailto:pmatilai@redhat.com">pmatilai@redhat.com</a>> wrote:<br></div><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 6/2/20 2:34 PM, \
Richard Shaw wrote:<br> > On Tue, Jun 2, 2020 at 5:13 AM Panu Matilainen <<a \
href="mailto:pmatilai@redhat.com" target="_blank">pmatilai@redhat.com</a> <br> > \
<mailto:<a href="mailto:pmatilai@redhat.com" \
target="_blank">pmatilai@redhat.com</a>>> wrote:<br> > <br>
> <br>
> Well, it's a guess.<br>
> <br>
> Just tested the particular case of boost-devel install with plain<br>
> rpm on<br>
> all of sqlite, bdb and ndb, and of the three, bdb is the slowest one.<br>
> The tested, expected behavior of sqlite is as fast or faster than \
bdb,<br> > but of course it's *possible* previously unknown \
worst-case<br> > behaviors exist.<br>
> <br>
> Lets start with the basics:<br>
> - is sqlite even involved - it will only be used on rawhide builds if<br>
> mock bootstrap is used<br>
> - does it make a difference if you override _db_backend to bdb/sqlite<br>
> from mock config / cli define<br>
> - a reproducer please (eg, what package is considerably slower to \
build<br> > than before, and by how much)<br>
> <br>
> <br>
> <br>
> boost-devel, nosync=True, bootstrap=False<br>
> real 0m6.083s<br>
> user 0m4.232s<br>
> sys 0m1.155s<br>
> <br>
> real 0m6.134s<br>
> user 0m4.356s<br>
> sys 0m1.115s<br>
> ---<br>
> <br>
> boost-devel, nosync=True, bootstrap=True<br>
> real 0m7.464s<br>
> user 0m4.849s<br>
> sys 0m1.364s<br>
> <br>
> I think this one was only slower because it converted the database? I <br>
> saw a bunch of messages about looking for sqlite but finding bdb database.<br>
> <br>
> real 0m7.234s<br>
> user 0m4.984s<br>
> sys 0m1.321s<br>
> <br>
> Nope, about the same on a second run.<br>
> ---<br>
> <br>
> boost-devel, nosync=False, bootstrap=False<br>
> real 0m7.017s<br>
> user 0m4.388s<br>
> sys 0m1.144s<br>
> ---<br>
> <br>
> boost-devel, nosync=False, bootstrap=True<br>
> real 1m13.294s<br>
> user 0m6.723s<br>
> sys 0m2.761s<br>
> ---<br>
> <br>
> So it looks like boostrap=True and nosync=False is the culprit, which I <br>
> inadvertantly got myself into. I did have either set and of course <br>
> nosync would be False by default and it looks like bootstrap=True by <br>
> default for rawhide.<br>
<br>
What's the actual command you're running \
here?<br></blockquote><div><br></div><div>$ mock -r fedora-rawhide-x86_64 \
--init<br></div><div>$ time mock -r fedora-rawhide-x86_64 --install boost-devel \
</div><div><br></div><div>Thanks,</div><div>Richard</div></div></div>
[Attachment #6 (text/plain)]
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic