Replies: 3 comments 2 replies
-
The only thing I can think of is the screenshotting process. It's configured to take a screenshot of the VM every 15 seconds for updating the image in the VM gallery. I haven't seen this cause huge disk writes before. What's the screen resolution for your VM? There's no hidden flag to disable the screenshotting at the moment, but I can think of several ways we could optimize it in case it's the culprit. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the info! Just checked: the .tiff is 168MB so that could indeed be related. The vm resolution is 5120x2880. Version 1.2.2 writes ~50MB, so significantly less. I'll try to disable the screenshotter and will report back if that helps. |
Beta Was this translation helpful? Give feedback.
-
Disabling the screenshotting process indeed fixes the freezes 😄 Few things I noticed:
Writing on the background queue significantly reduces the freezes, but there is still a quick hitch in the vm every 15s. I guess that is due to capturing the screenshot itself, but haven't verified that.
As far as I can see the screenshot is only used for the creation of the thumbnail and as background of the
Cheers! |
Beta Was this translation helpful? Give feedback.
-
My macOS VMs are repeatedly freezing for 2 seconds. I get a spinning beach ball for a moment and after that everything works fine again for about 10 seconds until the next 2s freeze. This happens for every macOS guest (Monterey/Ventura/Sonoma) on a Ventura host.
I've tried setting up the exact same .ipsw with same cpu (4) & mem (6) settings using UTM and the freezing does not occur there.
The freezing is less when the vm is stored on the internal SSD vs external SSD, which might suggest an IO issue. The guest does not seem to write any data, but the host app does write ~200MB every 10 seconds, which matches exactly with the freezes.
In the same UTM vm these writes do not happen, so it looks like this is specific to the VirtualBuddy implementation.
The issue is also less noticeable with VirtualBuddy v1.2.2, that seems to write a smaller amount of data (~50MB).
What exactly is being written to disk and could that be the cause for freezes inside the guest?
VirtualBuddy Version 1.3.2 (107)
Output of
iostat -d -w 1
on the host while vm is running:Beta Was this translation helpful? Give feedback.
All reactions