Virtual Machine Boot Time
Hi, could I ask for some more details/context about your use case? Are you seeing slow VM boot times? Is the system under load at the time? Are you booting multiple VMs simultaneously or just 1.
I don't think there are any tips I can give that will speed up boot for every use case, but I might be able to help if I know more about your use case.
— Aaron
Also, if a cold boot is too expensive, you may want to consider the virtualization save/restore APIs on VZVirtualMachine, which avoids the overhead of a cold boot.
— Aaron
We are using openai/tart and cirruslabs/gitlab-tart-executor for our iOS CI infrastructure.
So we run Xcode builds / tests in a virtual machine.
Just trying to optimise the pipeline speed we have.
Currently it takes about ~20-30secs to wait for the VM to boot.
Towards 20secs if no other VM is running or 30secs if another VM is running already.
Ah, I see.
Sorry, I don't have any general tips that would help lower that time. Please do file some feedback with us here if the boot times are too slow for your use case.
— Aaron