I’m setting up some base images for PHP that are deployed and built via GitHub actions, I noticed that I will randomly get very slow builds (which eventually complete) but the def upgrade/install
process is realllllyy slow.
Has anyone else experienced this?
Alright, it turns out that I needed to disable the fedora-cisco-openh264
repo as that was causing the delays.
RUN dnf --disablerepo=fedora-cisco-openh264 install -y \
curl \
unzip \
nginx
And the speeds dramatically improved, also the connections overall seem kind of slow, seeing these kind of connection speeds.
Fedora 38 - aarch64 592 kB/s | 62 MB
petersen
(Jens Petersen)
3
Shouldn’t we disable the h264 repo for the fedora container image by default?
I even think we ought to disable modular repos by default in general for F39…
1 Like
Yeah I was surprised to see that repo. It thought there was maybe a good reason? Is there a repo or something I can look into for where those images are built?
dimejo
(Alex JOST)
5
And the speeds dramatically improved, also the connections overall seem kind of slow, seeing these kind of connection speeds.
Fedora 38 - aarch64 592 kB/s | 62 MB
Sorry for reviving this old thread but I was wondering if you somehow managed to improve network speed. My builds on x86_64 finish in ~ 2min while builds on aarch64 usually take 30min.
What’s odd to me is the time difference between the build log and dnf.
#12 0.226 + dnf --assumeyes --refresh upgrade --security
#12 118.3 Fedora 38 - aarch64 742 kB/s | 79 MB 01:48
#12 800.8 Fedora Modular 38 - aarch64 221 kB/s | 2.7 MB 00:12
#12 884.2 Fedora 38 - aarch64 - Updates 886 kB/s | 33 MB 00:38
#12 1347.2 Fedora Modular 38 - aarch64 - Updates 143 kB/s | 2.1 MB 00:14
pschiffe
(Peter Schiffer)
6
I’m also seeing this 
#10 94.40 Fedora 39 - aarch64 1.0 MB/s | 86 MB 01:26
#10 689.2 Fedora 39 - aarch64 - Updates 1.2 MB/s | 24 MB 00:19
#10 946.8 Last metadata expiration check: 0:04:22 ago on Sat Dec 23 20:57:24 2023.
#10 1037.8 Dependencies resolved.
pschiffe
(Peter Schiffer)
7
I also noticed, that with the image rockylinux/rockylinux:9-ubi
the situation is not that bad:
#9 4.571 Extra Packages for Enterprise Linux 9 - aarch64 7.1 MB/s | 20 MB 00:02
#9 36.28 Extra Packages for Enterprise Linux 9 openh264 1.0 kB/s | 2.5 kB 00:02
#9 37.71 Rocky Linux 9 - BaseOS 2.4 MB/s | 2.3 MB 00:00
#9 42.97 Rocky Linux 9 - AppStream 3.0 MB/s | 6.4 MB 00:02
#9 51.86 Rocky Linux 9 - Extras 23 kB/s | 14 kB 00:00
#9 53.68 Yarn Repository 355 kB/s | 316 kB 00:00
#9 54.99 Last metadata expiration check: 0:00:01 ago on Sat Dec 23 20:52:48 2023.
#9 60.14 Dependencies resolved.