Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to only use performance cores when automatically determining core count #2557

Closed
iRonJ opened this issue May 23, 2021 · 5 comments
Closed
Labels
settings Anything in the setting/create views
Milestone

Comments

@iRonJ
Copy link

iRonJ commented May 23, 2021

Describe the issue
I tried out the latest UTM version using an existing qcow and vhdx windows 10 ARM image, and Windows 10 runs qualitatively much slower (less responsive, more GUI tearing), than another compiled version of QEMU.
UTM running Windows 10 arm:
Screen Shot 2021-05-23 at 2 17 39 AM

Standalone Qemu running exact same image:
Screen Shot 2021-05-23 at 2 21 51 AM

My goal is for UTM to be just as fast or faster than standalone Qemu. The launch options when I run qemu by itself are:
launchwin.sh.txt

Configuration
Version 2.0.28 (28)
*MacOS 11.3.1 (20E241)

  • Apple Silicon

Comparing to QEMU compiled using these directions:
https://forums.macrumors.com/threads/success-virtualize-windows-10-for-arm-on-m1-with-alexander-grafs-qemu-hypervisor-patch.2272354/

Debug log
debug.log

Upload VM
config.plist.txt

@iRonJ
Copy link
Author

iRonJ commented May 23, 2021

I did a quick test of setting UTM to max cores of 4, and this seems to bring it to parity with my other qemu version. So perhaps there's some issue with using all cores and hypervisor framework?

My only issue now is #2471

@osy
Copy link
Contributor

osy commented May 23, 2021

@iRonJ I think the issue is that Windows doesn’t understand the difference between the performance cores and the efficiency cores and may have scheduled tasks non-optimally. So forcing it to a lower core count solved it. I’ll consider adding an option to use only the performance core count instead of the total core count.

@osy
Copy link
Contributor

osy commented May 23, 2021

Here's the plan: a new global setting "Ignore efficiency cores when determining core count". Manually setting a core count for a VM will still override the automatic count.

@osy osy added the settings Anything in the setting/create views label May 23, 2021
@osy osy changed the title windows 10 on ARM runs slower under UTM than standalone QEMU compile Option to only use performance cores when automatically determining core count May 23, 2021
@osy osy added this to the v2.2 milestone May 23, 2021
@iRonJ
Copy link
Author

iRonJ commented May 24, 2021

Just a follow up to this, but i noticed also that playing a youtube video works perfectly fine in my standalone qemu, but there's horrible video artifacts when running through UTM. Any thoughts on what could cause this?

@osy
Copy link
Contributor

osy commented May 24, 2021

It may be related to #2569

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
settings Anything in the setting/create views
Projects
None yet
Development

No branches or pull requests

2 participants