bacongravy / macinbox

Puts macOS in a Vagrant box
Other
662 stars 45 forks source link

the vm(format .pvm) created using macinbox boot more slowly than created using parallels #59

Open MTBug opened 4 years ago

MTBug commented 4 years ago

this tool largely addresses the time we spent creating the vm, thanks!!!! I came across,the vm(format .pvm) created using macinbox boot more slowly than created using parallels,comparing the two configurations (CPU, memory, hard disk) results are the same, but the vm which created using 'macinbox' size is less than the other one, are there any system configuration files that are not pre-installed? are there any suggestions to improve the problem?

bacongravy commented 4 years ago

Hi @MTBug ! Can you tell me more about what you are measuring? Is it the first start of the VM that is slower, or all starts? Is anything else slower after startup? And how are you creating the VM with parallels? Do you manually step through the installer?

One guess I have is that the type of virtual disk might be different between what Parallels makes and what macinbox makes. You could potentially test this theory by running a disk benchmarking tool inside the two VMs and see if they have different read/write performance.

MTBug commented 4 years ago

ok! in my comparison tests today, the virtual machine created using macinbox was slower to boot, shut down, install and open the software than the virtual machine manually created using parallels 
I also installed “Disk Speed Test” on the two comparison VM, but found no significant differences.

I guess there are two things:

  1. The disk read and write speeds created by the two are significantly different
  2. There are some differences between the two systems: macinbox creat .pvm file size is around 12.21G, while that created by parallels is around 14.6G

Of course, it's all the same: MacOS Mojave (V10.14.6) + Parallels Desktop (V13.3.1) + macinbox (V3.3.0) MacOS Mojave installer application (V14.6.06)