From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: Results from using qemu-user-static for trying to build other architectures
Date: Mon, 24 Jun 2024 13:54:50 +0200 [thread overview]
Message-ID: <85774e8f-f4e6-4586-ae17-47385d1256f9@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]
Hi All,
When ever I do a package update on something like samba then I normally only provide the rootfile for x86_64 and then others of you have to notice that and do the build for aarch64 or riscv64.
So I thought I would have another go at using qemu-user-static to test out building samba for aarch64.
I installed qemu-user-static and qemu-user-static-binfmt and then started a build with target-aarch64.
Unfortunately after 68 hours of build time the system is still only at the start of the build-ipfire and should reach the rust build section in the next hour or two.
Based on this then a full build could be around 8 or 9 days running 24/7.
The computer I am using for this has a Ryzen 7 5700G processor with 32G of memory so it seems a reasonably powerful system. With the native x86_64 architecture the build is around 2 to 2.5 hours.
For a lot of the packages when it is building the aarch64 the 16 CPU cores are 100% utilised.
I know that it is said that a build using qemu-user-static will be slower due to the emulation but is the sort of speed I am experiencing what you would expect or am I doing something wrong.
With the above sort of performance I cannot run the aarch64 and riscv64 architectures as the computer would just be unavailable for other things such as building update packages and trying to fix bugs.
Thanks for any feedback.
Regards,
Adolf.
reply other threads:[~2024-06-24 11:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85774e8f-f4e6-4586-ae17-47385d1256f9@ipfire.org \
--to=adolf.belka@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox