23.10.2023 05:40, Song Gao wrote:
The LoongArch kernel supports 4K page size. Change TARGET_PAGE_BITS to 12.
This change appears to have 2 issues. First, the subject is misleading, - it does not only introduces support for 4K page size, it actually *switches* to 4K page size. But this is sort of minor. More interestingly is that it has quite noticeable effect on performance. For example, https://gitlab.com/qemu-project/qemu/-/issues/2491 - I confirm 7z decompression performance drop from ~110Mb/s before this change to ~73Mb/s after it. Is such a performance drop expected? Thanks, /mjt