mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
Update KVM to simulate up to 4 CPUs.
This allows KVM stage to run significantly faster. On my machine, with this change I was able to run the pre-flight queue VM update tests in ~369 seconds, compared to the normal time of >1000 seconds. BUG=chromium-os:23112, chromium-os:22784 TEST=Verify speed increase, trybot runs. Change-Id: Ic27dd1719573fb50a412a0cfe39adf5408493ea8 Reviewed-on: https://gerrit.chromium.org/gerrit/11835 Commit-Ready: David James <davidjames@chromium.org> Reviewed-by: David James <davidjames@chromium.org> Tested-by: David James <davidjames@chromium.org>
This commit is contained in:
parent
d2ea8338fe
commit
42f4c75ad7
@ -90,6 +90,7 @@ function start_kvm() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sudo kvm -m 1024 \
|
sudo kvm -m 1024 \
|
||||||
|
-smp 4 \
|
||||||
-vga std \
|
-vga std \
|
||||||
-pidfile "${KVM_PID_FILE}" \
|
-pidfile "${KVM_PID_FILE}" \
|
||||||
-daemonize \
|
-daemonize \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user