[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 &lt;<a \
href="mailto:pmatilai@redhat.com">pmatilai@redhat.com</a>&gt; 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> &gt; On Tue, Jun 2, 2020 at 5:13 AM Panu Matilainen &lt;<a \
href="mailto:pmatilai@redhat.com" target="_blank">pmatilai@redhat.com</a> <br> &gt; \
&lt;mailto:<a href="mailto:pmatilai@redhat.com" \
target="_blank">pmatilai@redhat.com</a>&gt;&gt; wrote:<br> &gt; <br>
&gt; <br>
&gt;        Well, it&#39;s a guess.<br>
&gt; <br>
&gt;        Just tested the particular case of boost-devel install with plain<br>
&gt;        rpm on<br>
&gt;        all of sqlite, bdb and ndb, and of the three, bdb is the slowest one.<br>
&gt;        The tested, expected behavior of sqlite is as fast or faster than \
bdb,<br> &gt;        but of course it&#39;s *possible* previously unknown \
worst-case<br> &gt;        behaviors exist.<br>
&gt; <br>
&gt;        Lets start with the basics:<br>
&gt;        - is sqlite even involved - it will only be used on rawhide builds if<br>
&gt;        mock bootstrap is used<br>
&gt;        - does it make a difference if you override _db_backend to bdb/sqlite<br>
&gt;        from mock config / cli define<br>
&gt;        - a reproducer please (eg, what package is considerably slower to \
build<br> &gt;        than before, and by how much)<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; boost-devel, nosync=True, bootstrap=False<br>
&gt; real 0m6.083s<br>
&gt; user 0m4.232s<br>
&gt; sys 0m1.155s<br>
&gt; <br>
&gt; real 0m6.134s<br>
&gt; user 0m4.356s<br>
&gt; sys 0m1.115s<br>
&gt; ---<br>
&gt; <br>
&gt; boost-devel, nosync=True, bootstrap=True<br>
&gt; real 0m7.464s<br>
&gt; user 0m4.849s<br>
&gt; sys 0m1.364s<br>
&gt; <br>
&gt; I think this one was only slower because it converted the database? I <br>
&gt; saw a bunch of messages about looking for sqlite but finding bdb database.<br>
&gt; <br>
&gt; real 0m7.234s<br>
&gt; user 0m4.984s<br>
&gt; sys 0m1.321s<br>
&gt; <br>
&gt; Nope, about the same on a second run.<br>
&gt; ---<br>
&gt; <br>
&gt; boost-devel, nosync=False, bootstrap=False<br>
&gt; real 0m7.017s<br>
&gt; user 0m4.388s<br>
&gt; sys 0m1.144s<br>
&gt; ---<br>
&gt; <br>
&gt; boost-devel, nosync=False, bootstrap=True<br>
&gt; real 1m13.294s<br>
&gt; user 0m6.723s<br>
&gt; sys 0m2.761s<br>
&gt; ---<br>
&gt; <br>
&gt; So it looks like boostrap=True and nosync=False is the culprit, which I <br>
&gt; inadvertantly  got myself into. I did have either set and of course <br>
&gt; nosync would be False by default and it looks like bootstrap=True by <br>
&gt; default for rawhide.<br>
<br>
What&#39;s the actual command you&#39;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