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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 running x86_64 arch.

I installed qemu-user-static and qemu-user-static-binfmt, restarted systemd-
binfmt as advised and the chroot worked using arch-chroot.

The slow execution speed has been surprising, I would say roughly 10 times 
slower than on native x86_64 (building a library, 53 mins instead of < 5). I 
understand that there's an overhead translation instructions for another 
architecture. qemu is always advertised as a *fast* emulator, so I'm wondering 
if I'm missing something.

I wish to know if there's some way to speed up execution time in the chroot, 
some magic configuration to apply. That's my first attempt in this direction.

Thank you for any input.






[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux