On 6/2/20 4:48 AM, Richard Shaw wrote:
On Mon, Jun 1, 2020 at 9:37 PM Adam Williamson
<adamwill(a)fedoraproject.org <mailto:adamwill@fedoraproject.org>> wrote:
On June 1, 2020 7:13:51 p.m. PDT, Richard Shaw
<hobbes1069(a)gmail.com <mailto:hobbes1069@gmail.com>> wrote:
>I've noticed lately when doing mock builds that it takes a lot longer
>to
>install all the dependencies. Especially large -devel packages with
>tons of
>small files (boost-devel, vtk-devel, cmake-data).
Things I'm aware of that have changed is a switch to mock 2 (quite
recently with an update)
and rpm-compression since F31.
The switch of mock might have affected which kind of build-container it
defaults to.
The switch to cgroup-v2 might have affected how the systemd-containers
are working.
Maybe you can try to force it to chroot to have the container as thin as
possible.
Klaus
I've noticed the same problem but I'm not sure it's about the
packages. It may be something to do with mock or the kernel,
possibly. Are you running Rawhide on the machine where you're
doing the mock builds?
I'm building for rawhide, but on my F32 desktop...
I most recently noticed it when building lives with Python 3.9 for
testing - that should take less than an hour per image, it
actually took 12+ hours per image. When I attach an strace to the
dnf process it seems like it doesn't really stick on any one call
for a *long* time, but it seems to do a lot of fsyncs, and each
one takes, like, a half second or so. I *think* the slowness is
the result of all those fsyncs piling up.
The actual package build time doesn't "feel" any difference, but
installing the dependencies definitely takes much longer.
I've tried installing nosync (both i686 and x86-64) on the host
but it didn't seem to make a difference, I didn't check for sure
that it actually kicked in. I'll try and do a bit more of a
systematic look at it tomorrow, since at least now I know I'm not
the only one...
I have nosync (both arches) installed as well...
Thanks,
Richard
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)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