[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Very poor compilation performance in armhf chroot vs
Re: [Qemu-discuss] Very poor compilation performance in armhf chroot vs native
Thu, 12 Sep 2019 09:46:32 +0100
On Wed, 11 Sep 2019 at 20:33, Aboul Fad <address@hidden> wrote:
> I am not entirely sure if this belongs here, if not it would be greatly
> appreciated to redirect me to the best mailing list.
> I have setup an ARM chroot on a Xenial system, compiled and installed
> qemu-arm-static from source v4.1.0.
> I compiled using gcc a simple hello world on the native system (Xenial) and
> the same in the ARM chroot using qemu-arm-static.
> The performance degradation is large (~15x slower) and am unsure if this is
> expected because qemu-arm-static is emulating instructions in user space or
> what ?
Yes, emulation is slower than running on real hardware.
(Note also that your test isn't strictly comparing like for
like, because the two compilers are outputting different
things. But it probably doesn't make much difference.)