Performance Improvement Techniques #331
Replies: 3 comments 2 replies
-
Hey @sheldonneuberger-sc, could you please tell a little more about your testing scenario? Are you creating a VM that have the same CPU/Memory amount as you M1 Ultra Studio? What kind of project are you running? Are you mounting it via |
Beta Was this translation helpful? Give feedback.
-
The VM has the same CPU count as the host, memory is not the same but plenty high enough. I'm not doing any --dir mounts. The very large build I'm testing takes about an hour. |
Beta Was this translation helpful? Give feedback.
-
Here is a very insightful talk where at But it does seem like performance of the mounted folders should be on a par with the host. A workaround can be to mount a folder and run your I/O intensive build inside this shared fodler. |
Beta Was this translation helpful? Give feedback.
-
I'd like to know what people have done or are trying to improve VM performance across any of cpu, disk, network. All ideas/speculation welcome.
Testing on an m1 studio ultra, I'm seeing a large cpu-bound build 20% slower in guest vs host, and another very large build is 40% slower (I suspect it's disk io bound, not sure).
I tried changing VZDiskImageSynchronizationMode to 'none' (it defaults to full), but it didn't have an effect on perf.
Another idea I had was to create a ramdisk and then keep the disk image on there, but at best that would be an 80GB ramdisk, and that's too small for some of my builds.
I assume apple will eventually add the ability to directly attach a physical disk to a VM, which might have much better io perf, but so far that doesn't exist.
Beta Was this translation helpful? Give feedback.
All reactions