OuterSpace
OuterSpace

Reputation: 31

QEMU android aarch64 as host. Which will be faster as guest 32-bit x86 or x86_64?

Can i achieve more CPU performance by running x86_64 instead x86 on host which is aarch64?

Upvotes: 1

Views: 934

Answers (1)

nevilad
nevilad

Reputation: 995

Since the architecture of the host and guest mismatch, qemu will run the guest in emulation mode (tcg). This mode is very slow compared to native speed. If even there will a speed difference between 32 and 64-bit x86 guests, it should be very small.

Given that there are more cases for the 64-bit guests in disas_insn function in qemu source code (this function disassembles the original guest code and generates target architecture code), I would say that 32-bit guest should be a little bit faster. But this is not the only aspect that will influence performance and you have to compare both variants on your use cases to find the fastest.

Upvotes: 2

Related Questions