From: Mahmoud Mandour <ma.mandourr@gmail.com>
To: qemu-devel@nongnu.org
Cc: Mahmoud Mandour <ma.mandourr@gmail.com>, cota@braap.org
Subject: plugins/cache: multicore cache modelling and minor tweaks
Date: Wed, 21 Jul 2021 12:36:06 +0200 [thread overview]
Message-ID: <20210721103612.48844-1-ma.mandourr@gmail.com> (raw)
Hello,
This series introduce some minor improvements/bug fixes in the cache
plugins and multicore cache modelling.
Multi-core cache modelling is handled such that for full-system
emulation, a private L1 cache is maintained to each core available to
the system. For multi-threaded userspace emulation, a static number of
cores is maintained for the overall system, and every memory access go
through one of these, even if the number of fired threads is more than
that number.
Also, raising the levels of warnings induced some warnings, this is
fixed in it's own patch.
Patches that still need review (other patches are already queued):
1. plugins/cache: Supported multicore cache modelling
2. docs/devel/tcg-plugins: added cores arg to cache plugin
v1 -> v2:
1. Dropped the patch with mitigating the use-after-free bug since
it's not needed anymore (fixed by Alex Bennée here)
2. Summed cache performance data as a post-processing step.
3. Refactored appending core data to it's own function
Mahmoud Mandour (5):
plugins/cache: Fixed a bug with destroying FIFO metadata
plugins/cache: limited the scope of a mutex lock
plugins/cache: Supported multicore cache modelling
docs/devel/tcg-plugins: added cores arg to cache plugin
plugins/cache: Fixed "function decl. is not a prototype" warnings
contrib/plugins/cache.c | 165 ++++++++++++++++++++++++++++---------
docs/devel/tcg-plugins.rst | 13 +--
2 files changed, 132 insertions(+), 46 deletions(-)
--
2.25.1
next reply other threads:[~2021-07-21 10:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-21 10:36 Mahmoud Mandour [this message]
2021-07-21 10:36 ` [PATCH v2 1/5] plugins/cache: Fixed a bug with destroying FIFO metadata Mahmoud Mandour
2021-07-21 10:36 ` [PATCH v2 2/5] plugins/cache: limited the scope of a mutex lock Mahmoud Mandour
2021-07-21 10:36 ` [PATCH v2 3/5] plugins/cache: Supported multicore cache modelling Mahmoud Mandour
2021-07-21 10:36 ` [PATCH v2 4/5] docs/devel/tcg-plugins: added cores arg to cache plugin Mahmoud Mandour
2021-07-21 10:36 ` [PATCH v2 5/5] plugins/cache: Fixed "function decl. is not a prototype" warnings Mahmoud Mandour
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=20210721103612.48844-1-ma.mandourr@gmail.com \
--to=ma.mandourr@gmail.com \
--cc=cota@braap.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).