Re: qemu, aarch64, binfmt: can the execution speed be improved?

2024-06-04 Thread solsTiCe d'Hiver
Here is some data. I compiled the driver from the repo at https://github.com/aircrack-ng/rtl8812au x86_64 (the host with cpu=i5-8500): 43s `make -j4` arm7h (qemu/systemd-nspawn): 33m `make` arm7h (qemu/systemd-nspawn): 7m44s `make -j4` arm7h (qemu/systemd-nspawn): 2m47s `make -j4 CC=distcc CXX=dis

Re: qemu, aarch64, binfmt: can the execution speed be improved?

2024-06-04 Thread solsTiCe d'Hiver
I repost my reply for the list: Hello, I don't know any magic trick to do what you asked; What I usually do is to use distcc on the guest, and on the host run distccd-armv8. This way you can speed up compilation, though I can't tell you exactly by how much. You are not using native compilation

Re: qemu, aarch64, binfmt: can the execution speed be improved?

2024-06-04 Thread SET
Le mardi 4 juin 2024 17:39:41 UTC+2 Łukasz Michalski a écrit : > you will see that compilation times > of my C++ project looks similar: Yep, it's clear from the Matrix:build times of your project that one should expect this slowness. It's acceptable since it is not native execution, the magnitud

Re: qemu, aarch64, binfmt: can the execution speed be improved?

2024-06-04 Thread Łukasz Michalski
On 6/2/24 7:17 PM, SET wrote: Hello, I followed the instructions at https://nerdstuff.org/posts/ 2020/2020-003_simplest_way_to_create_an_arm_chroot/ and successfully chroot'ed in the generic aarch64 image available at https://archlinuxarm.org/platforms/armv8/generic on a host runni