diff options
author | 2020-02-28 19:24:15 +0000 | |
---|---|---|
committer | 2020-02-28 17:43:31 -0800 | |
commit | 600e17b261555c56a048781b8dd5ba3985650013 (patch) | |
tree | a917d7a99cb61a5073568c67feec9aa7ec74ae32 /scripts/qapi/expr.py | |
parent | accel/tcg: only USE_STATIC_CODE_GEN_BUFFER on 32 bit hosts (diff) | |
download | 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 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions