Constantly high CPU usage on Intel Mac (hypervisor) #3611
Replies: 6 comments 5 replies
-
|
Additional Information: |
Beta Was this translation helpful? Give feedback.
-
VM Config PLIST<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ConfigurationVersion</key>
<integer>2</integer>
<key>Debug</key>
<dict/>
<key>Display</key>
<dict>
<key>ConsoleFont</key>
<string>Menlo</string>
<key>ConsoleFontSize</key>
<integer>12</integer>
<key>ConsoleOnly</key>
<false/>
<key>ConsoleTheme</key>
<string>Default</string>
<key>DisplayCard</key>
<string>virtio-vga-gl</string>
<key>DisplayDownscaler</key>
<string>nearest</string>
<key>DisplayRetina</key>
<false/>
<key>DisplayUpscaler</key>
<string>nearest</string>
</dict>
<key>Drives</key>
<array>
<dict>
<key>DriveName</key>
<string>drive0</string>
<key>ImagePath</key>
<string>win10_64.qcow2</string>
<key>ImageType</key>
<string>disk</string>
<key>InterfaceType</key>
<string>ide</string>
</dict>
<dict>
<key>DriveName</key>
<string>drive1</string>
<key>ImageType</key>
<string>cd</string>
<key>InterfaceType</key>
<string>ide</string>
<key>Removable</key>
<true/>
</dict>
</array>
<key>Info</key>
<dict>
<key>Icon</key>
<string>windows</string>
<key>IconCustom</key>
<false/>
</dict>
<key>Input</key>
<dict>
<key>InputLegacy</key>
<false/>
</dict>
<key>Networking</key>
<dict>
<key>NetworkBridgeInterface</key>
<string>en0</string>
<key>NetworkCard</key>
<string>e1000</string>
<key>NetworkCardMAC</key>
<string>3E:C6:4F:34:68:B8</string>
<key>NetworkMode</key>
<string>bridged</string>
</dict>
<key>Printing</key>
<dict/>
<key>Sharing</key>
<dict>
<key>ClipboardSharing</key>
<true/>
<key>DirectorySharing</key>
<true/>
<key>Usb3Support</key>
<true/>
<key>UsbRedirectMax</key>
<integer>3</integer>
</dict>
<key>Sound</key>
<dict>
<key>SoundCard</key>
<string>intel-hda</string>
<key>SoundEnabled</key>
<true/>
</dict>
<key>System</key>
<dict>
<key>Architecture</key>
<string>x86_64</string>
<key>BootDevice</key>
<string></string>
<key>BootUefi</key>
<false/>
<key>CPU</key>
<string>default</string>
<key>JITCacheSize</key>
<integer>0</integer>
<key>MachineProperties</key>
<string>vmport=off</string>
<key>Memory</key>
<integer>8196</integer>
<key>SystemUUID</key>
<string>796AD07D-8E7C-4419-8929-7F39548B5325</string>
<key>Target</key>
<string>q35</string>
</dict>
</dict>
</plist>
|
Beta Was this translation helpful? Give feedback.
-
|
Welcome to UTM.
Yes, if your host and guest architecture is the same then UTM will by default use the macOS Hypervisor instead of emulating the CPU completely. This means very fast performance. The same will NOT work if your host is not the same as guest, e. g. Apple Silicon CPU and a x86 VM. Now, in terms of CPU usage with hypervisor mode, on Intel Mac I have experienced the same (unusually high CPU usage even if the VM is idling). On Apple Silicon this is not the case, so maybe a problem with the Apple Hypervisor or QEMU (UTM backend). |
Beta Was this translation helpful? Give feedback.
-
|
@tiiiecherle can you try again with CPU set to "host"? And please provide Debug Log as per VM Troubleshooting guide. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the help and the suggestions. I tried running the vms with CPU set to host and did not get a really noticeable difference except the win 10 vm crashes a lot. |
Beta Was this translation helpful? Give feedback.
-
|
It seems qemu in UTM is runnning with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
first of all thanks a lot for this project, really appreciated.
As I am going to buy a new MacBook Pro with M1 I was switching from Virtualbox to UTM on my current MacBook Pro 2019, 1 TB SSD, 32 GB Ram.
I am not an expert but my vms are x86_64 and I am on an Intel Mac. Is there a way to use UTM as a hypervisor and not an emulator in this setup?
The performance in the Windows 10 vm and the Archlinux vm is very (s)low and uses a way more cpu than Virtualbox. Even if the vm is using not so much cpu in the activity monitor it is constantly draining the battery pretty fast and even when not using the vm at all the fans do not stop spinning. There are no active processes in the vm besides the base system running.
When trying out settings I found out that scaling set to nearest neighbour gives me way better and sharper graphics. I don`t know about other systems, but regarding to quality here it should be the default value.
I am using the following settings:
Thanks in advance for any feedback and help.
Beta Was this translation helpful? Give feedback.
All reactions