diff options
author | Alex Bennée | 2020-02-28 20:24:15 +0100 |
---|---|---|
committer | Richard Henderson | 2020-02-29 02:43:31 +0100 |
commit | 600e17b261555c56a048781b8dd5ba3985650013 (patch) | |
tree | a917d7a99cb61a5073568c67feec9aa7ec74ae32 /include | |
parent | accel/tcg: only USE_STATIC_CODE_GEN_BUFFER on 32 bit hosts (diff) | |
download | qemu-600e17b261555c56a048781b8dd5ba3985650013.tar.gz qemu-600e17b261555c56a048781b8dd5ba3985650013.tar.xz qemu-600e17b261555c56a048781b8dd5ba3985650013.zip |
accel/tcg: increase default code gen buffer size for 64 bit
While 32mb is certainly usable a full system boot ends up flushing the
codegen buffer nearly 100 times. Increase the default on 64 bit hosts
to take advantage of all that spare memory. After this change I can
boot my tests system without any TB flushes.
As we usually run more CONFIG_USER binaries at a time in typical usage
we aren't quite as profligate for user-mode code generation usage. We
also bring the static code gen defies to the same place to keep all
the reasoning in the comments together.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Reviewed-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Message-Id: <20200228192415.19867-5-alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions