From: "Alex Bennée" <alex.bennee@linaro.org>
To: Kenneth Adam Miller <kennethadammiller@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: Change TCG cache size?
Date: Wed, 22 Sep 2021 11:47:21 +0100 [thread overview]
Message-ID: <87a6k4op6n.fsf@linaro.org> (raw)
In-Reply-To: <CAK7rcp9HjoCVbFmT9rwAteAVdCCMgobt1jvCLuhL3CCBKJZSsA@mail.gmail.com>
Kenneth Adam Miller <kennethadammiller@gmail.com> writes:
> Hello all,
>
> I just want to ask this one question: if I change the qemu tcg cache
> size (TB_JMP_CACHE_SIZE), will that force any errors at run time?
Hopefully not - for both user-mode and softmmu we take some care to
ensure tb_jmp_cache_hash_func and tb_jmp_cache_hash_page return
appropriately masked values for the table lookup.
What has not been done since Emilio's work in 6f1653180f (tb-hash:
improve tb_jmp_cache hash function in user mode) is a deeper look at the
hit rate and bounce rate of the softmmu jump table hashing. Any
suggested changes will need some benchmarking to show what difference it
makes.
--
Alex Bennée
next prev parent reply other threads:[~2021-09-22 10:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-21 21:07 Change TCG cache size? Kenneth Adam Miller
2021-09-22 10:47 ` Alex Bennée [this message]
2021-09-22 12:32 ` Kenneth Adam Miller
2021-09-22 17:32 ` Alex Bennée
2021-09-22 17:50 ` Kenneth Adam Miller
2021-09-22 19:52 ` Kenneth Adam Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a6k4op6n.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=kennethadammiller@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.