Skip to content

Commit

Permalink
env/windows-arm64/aws: increase VM resources
Browse files Browse the repository at this point in the history
a1.metal instances have 32Gb of ram, and 16 cores. We should try to use
as much as possible.

We run into CLOCK_WATCHDOG_TIMEOUT when using more than 4 of the 16
cores. The VM can also fail to boot. We have a thread discussing how to
resolve this.

A new AMI will need to be created and configured after any changes to
this script.

For golang/go#42604

Change-Id: If49b89718fca6dc5cee30e609a8ded9f99bf1f05
Reviewed-on: https://go-review.googlesource.com/c/build/+/322655
Trust: Alexander Rakoczy <alex@golang.org>
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
  • Loading branch information
toothrot committed May 26, 2021
1 parent 79f0ef2 commit 214f252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env/windows-arm64/aws/win10-arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
-cpu host \
--accel kvm \
-smp 4 \
-m 8G \
-m 24G \
-drive file=/home/ubuntu/win10/QEMU_EFI.fd,format=raw,if=pflash,readonly=on \
-drive file=/home/ubuntu/win10/QEMU_VARS.fd,format=raw,if=pflash \
-device nec-usb-xhci \
Expand Down

0 comments on commit 214f252

Please sign in to comment.