On Sat, May 10, 2025 at 01:50:02PM +0800, Herbert Xu wrote: > On Sat, May 10, 2025 at 01:49:13PM +0800, Herbert Xu wrote: > > > > Did I do something wrong? > > OK perhaps it's just that the qemu emulation being slow.
Yes, non-native QEMU usually isn't any good for benchmarking the architecture-optimized code, due to the instructions it uses having to be emulated. Just to give another random example, in (non-native) QEMU the RISC-V CRC code is much slower than the generic CRC code. But when run on an actual RISC-V processor it's much faster. - Eric