[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Inconsistent qemu-system-ppc speed on Apple M1 (was: Re: [PATCH v6] ui/c
From: |
BALATON Zoltan |
Subject: |
Inconsistent qemu-system-ppc speed on Apple M1 (was: Re: [PATCH v6] ui/cocoa: Use NSWindow's ability to resize) |
Date: |
Tue, 12 Dec 2023 19:45:22 +0100 (CET) |
On Tue, 12 Dec 2023, Marek Glogowski wrote:
Additionally, how can I use this message on qemu-devel.
It has a post for people who use Macos or Asahi Linux. Verify random qemu
sessions under Macos .Some are faster others are slow.
The topic is posted on qemu-discuss@nongnu.org (I don't know if developers
look there often)
https://lists.nongnu.org/archive/html/qemu-discuss/2023-12/msg00008.html
The program posted there was prepared by one of the maintainers of ppc qemu
machines "BALATON Zoltan".
We are starting to gather as much information as possible for it.
I hope nobody will be offended about this information in this topic. I do
not want to start a topic and litter other lists
It's better to do that in a separate thead, I've changed the subject
accordingly. I only came up with the idea and scripted it but the actual
test case comes from Marek and the original report from Rene Engel.
This problem was first seen running AmigaOS with qemu-system-ppc but then
we also reproduced it with Linux guest with the test in the qemu-discuss
messgage linked above. The runs are not exactly random but there seem to
be slow and fast sessions with the slow one about half the expected speed.
If we get a fast or slow session seems to be random. This was seen on
Apple M1 and Apple M1 Max under macOS but could not reproduce on x86_64
host under Linux or Apple M2 host under Linux so it may either be related
to Apple M1 or macOS host.
What could be tested to narrow it further may be trying the test on Apple
M1 under Linux or Apple M2 under macOS. (And maybe trying some other
qemu-system target on Apple M1 macOS to see if it's specific to
qemu-system-ppc.) Then the question is what might cause it. Marek tested
that these always run on Performance cores and also experimented with
taskpolicy -B but that does not seem to change anything. Lacking a better
idea I could think of frequency scaling maybe but I don't know how to
check that under macOS. Or maybe something about how macOS schedules QEMU
thread? Does anybody have an idea how to debug this further?
Thank you,
BALATON Zoltan
- Inconsistent qemu-system-ppc speed on Apple M1 (was: Re: [PATCH v6] ui/cocoa: Use NSWindow's ability to resize),
BALATON Zoltan <=