qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Julian Ganz" <neither@nut.email>
To: "BALATON Zoltan" <balaton@eik.bme.hu>
Cc: qemu-devel@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [PATCH v6 00/25] tcg-plugins: add hooks for discontinuities
Date: Tue, 09 Sep 2025 19:48:02 +0000	[thread overview]
Message-ID: <a2eaee5105fb4b3302e2f65bb8bbea987a85454e@nut.email> (raw)
In-Reply-To: <819c9f3b-13f4-2ef2-e651-5cfec52f2e12@eik.bme.hu>

September 7, 2025 at 10:21 PM, "BALATON Zoltan" wrote:
> I have uploaded some PPC binaries for the STREAM benchmark that I tested with before here:
> http://zero.eik.bme.hu/~balaton/qemu/stream-test.zip
> which may excercise this if run on sam460ex or ppce500 machines but I don't have a scripted test case for that. There is some docs on how to run Linux on these machines here:
> https://www.qemu.org/docs/master/system/target-ppc.html

After spending too much time looking for usable root-images (and then
giving up and just stuffing the executables in an ext2), I got to run
these beanchmarks on Linux 4.4.5 configured for the Sam460ex from [1].

I ran streamPPCpowerpcO3 on qemu with these patches:

-------------------------------------------------------------
Function    Best Rate MB/s  Avg time     Min time     Max time
Copy:            2867.6     0.056828     0.055795     0.061792
Scale:           1057.5     0.153282     0.151305     0.158115
Add:             1308.8     0.187095     0.183380     0.193672
Triad:           1111.6     0.220863     0.215902     0.230440
-------------------------------------------------------------

After doing a clean build, with the fans still audible:

-------------------------------------------------------------
Function    Best Rate MB/s  Avg time     Min time     Max time
Copy:            2932.9     0.055131     0.054554     0.055667
Scale:           1067.9     0.151520     0.149832     0.155000
Add:             1324.9     0.184807     0.181150     0.191386
Triad:           1122.0     0.220080     0.213896     0.229302
-------------------------------------------------------------

On qemu (6a9fa5ef3230a7d51e0d953a59ee9ef10af705b8) without these
patches, but plugins enabled:

-------------------------------------------------------------
Function    Best Rate MB/s  Avg time     Min time     Max time
Copy:            2972.1     0.054407     0.053834     0.054675
Scale:           1068.6     0.151503     0.149726     0.154594
Add:             1327.6     0.185160     0.180784     0.193181
Triad:           1127.2     0.219249     0.212915     0.229230
-------------------------------------------------------------

And on qemu (6a9fa5ef3230a7d51e0d953a59ee9ef10af705b8) without these
patches, with plugins disabled:

-------------------------------------------------------------
Function    Best Rate MB/s  Avg time     Min time     Max time
Copy:            2983.4     0.055141     0.053630     0.060013
Scale:           1058.3     0.152353     0.151186     0.155072
Add:             1323.9     0.184707     0.181279     0.188868
Triad:           1128.2     0.218674     0.212734     0.230314
-------------------------------------------------------------

I fail to see any significant indication that these patches, or
plugins in general, would result in a degredation of performance.

Regards,
Julian

[1]: http://www.supertuxkart-amiga.de/amiga/sam.html#downloads


  parent reply	other threads:[~2025-09-09 19:49 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-04 20:46 [PATCH v6 00/25] tcg-plugins: add hooks for discontinuities Julian Ganz
2025-09-04 20:46 ` [PATCH v6 01/25] plugins: add types for callbacks related to certain discontinuities Julian Ganz
2025-09-04 20:46 ` [PATCH v6 02/25] plugins: add API for registering discontinuity callbacks Julian Ganz
2025-09-04 20:46 ` [PATCH v6 03/25] plugins: add hooks for new discontinuity related callbacks Julian Ganz
2025-09-22 11:34   ` Philippe Mathieu-Daudé
2025-09-22 20:57     ` Julian Ganz
2025-09-04 20:46 ` [PATCH v6 04/25] contrib/plugins: add plugin showcasing new dicontinuity related API Julian Ganz
2025-09-04 20:46 ` [PATCH v6 05/25] target/alpha: call plugin trap callbacks Julian Ganz
2025-09-04 20:46 ` [PATCH v6 06/25] target/arm: " Julian Ganz
2025-09-04 20:46 ` [PATCH v6 07/25] target/avr: " Julian Ganz
2025-09-04 20:46 ` [PATCH v6 08/25] target/hppa: " Julian Ganz
2025-09-22 11:38   ` Philippe Mathieu-Daudé
2025-09-22 21:09     ` Julian Ganz
2025-09-04 20:46 ` [PATCH v6 09/25] target/i386: " Julian Ganz
2025-09-04 20:46 ` [PATCH v6 10/25] target/loongarch: " Julian Ganz
2025-09-04 20:46 ` [PATCH v6 11/25] target/m68k: " Julian Ganz
2025-09-04 20:46 ` [PATCH v6 12/25] target/microblaze: " Julian Ganz
2025-09-04 20:46 ` [PATCH v6 13/25] target/mips: " Julian Ganz
2025-09-22 11:45   ` Philippe Mathieu-Daudé
2025-09-04 20:46 ` [PATCH v6 14/25] target/openrisc: " Julian Ganz
2025-09-04 20:46 ` [PATCH v6 15/25] target/ppc: " Julian Ganz
2025-09-04 20:46 ` [PATCH v6 16/25] target/riscv: " Julian Ganz
2025-09-04 20:46 ` [PATCH v6 17/25] target/rx: " Julian Ganz
2025-09-07 14:20   ` yoshinori.sato
2025-09-04 20:46 ` [PATCH v6 18/25] target/s390x: " Julian Ganz
2025-09-04 20:46 ` [PATCH v6 19/25] target/sh4: " Julian Ganz
2025-09-07 14:20   ` yoshinori.sato
2025-09-04 20:46 ` [PATCH v6 20/25] target/sparc: " Julian Ganz
2025-09-04 20:48   ` Julian Ganz
2025-09-04 20:48 ` [PATCH v6 21/25] target/tricore: " Julian Ganz
2025-09-04 20:48 ` [PATCH v6 22/25] target/xtensa: " Julian Ganz
2025-09-22 11:47   ` Philippe Mathieu-Daudé
2025-09-22 21:12     ` Julian Ganz
2025-09-04 20:48 ` [PATCH v6 23/25] tests: add plugin asserting correctness of discon event's to_pc Julian Ganz
2025-09-21 16:46   ` Alex Bennée
2025-09-22 10:11     ` Julian Ganz
2025-09-22 10:15       ` Daniel P. Berrangé
2025-09-23 20:29       ` Julian Ganz
2025-09-24 15:31         ` Julian Ganz
2025-09-25 10:41           ` Alex Bennée
2025-09-25 12:42             ` Julian Ganz
2025-09-04 20:48 ` [PATCH v6 24/25] tests: add test for double-traps on rv64 Julian Ganz
2025-09-04 20:49 ` [PATCH v6 25/25] tests: add test with interrupted memory accesses " Julian Ganz
2025-09-05 11:38 ` [PATCH v6 00/25] tcg-plugins: add hooks for discontinuities BALATON Zoltan
2025-09-05 12:20   ` Alex Bennée
2025-09-05 13:43   ` Julian Ganz
2025-09-05 19:25     ` BALATON Zoltan
2025-09-05 23:28       ` Julian Ganz
2025-09-07 20:21         ` BALATON Zoltan
2025-09-08 20:51           ` Julian Ganz
2025-09-09 19:48           ` Julian Ganz [this message]
2025-09-10 10:06             ` BALATON Zoltan
2025-09-10 11:41               ` Julian Ganz
2025-09-10 12:09                 ` Alex Bennée
2025-09-10 15:04                   ` BALATON Zoltan
2025-09-22 11:31 ` Philippe Mathieu-Daudé
2025-09-22 20:54   ` Julian Ganz

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=a2eaee5105fb4b3302e2f65bb8bbea987a85454e@nut.email \
    --to=neither@nut.email \
    --cc=alex.bennee@linaro.org \
    --cc=balaton@eik.bme.hu \
    --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).