07.10.2024 18:09, Richard Henderson wrote:
The #2491 issue appears to be for user-mode emulation. Because the reported host is x86, I would expect guest page size == host page size to improve performance, not degrade it.
Yes, it is about linux-user.
If this is really about user-mode, then perf may be your friend in determining where the extra overhead is coming from.
I updated the issue adding some perf output. It looks like the 4k-pagesize case just calls tb_lookup() and extract64() significantly more times than with 16K pages. Thanks, /mjt