On pondělí 21. listopadu 2022 3:16:39 CET Neal Gompa wrote:
Hey all,
Lately, I've been using the COPR ARM builders a fair bit: I've been working on Fedora Asahi stuff with Davide Cavalca for the past several months, and I've noticed that builds in COPR are easily at least 2x slower than their equivalent builds in Koji, most of the time considerably worse.
For a concrete example: I've been building kernel-asahi in ngompa/fedora-asahi and ngompa/fedora-asahi-dev COPRs for some time now, and each kernel build is basically 3 hours. Most recently, I built a kernel based on 6.1-rc5 (https://copr.fedorainfracloud.org/coprs/ngompa/fedora-asahi-dev/build/504189...) that took 3 hours. The equivalent build in Koji (https://koji.fedoraproject.org/koji/taskinfo?taskID=94172035) took less than 1.25 hours.
I tried earlier today to build QtWebEngine in COPR for testing a fix, and it couldn't complete in the 5 hour time limit it has by default. I eventually did a build locally (which took about an hour to build) and validated it before pushing it to Koji (https://koji.fedoraproject.org/koji/taskinfo?taskID=94372924), which took a little under 3.15 hours.
I thought we had access to super-fast Graviton-based builders for COPR. Our builds should be *flying* compared to Koji or my local resources. So what's going on?
Not sure what is in Koji, so just some facts about the Copr arm builders...
Copr uses 'a1.2xlarge' machines: https://aws.amazon.com/ec2/instance-types/a1/
Copr uses mock's tmpfs feature, with cca 140GB SWAP volume on a gp2 disk: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/general-purpose.html
Pavel
-- 真実はいつも一つ!/ Always, there's only one truth!