From a6bf2af9017dc5178548776a3a78cb81400737ec Mon Sep 17 00:00:00 2001 From: Ryan Berger Date: Mon, 9 Feb 2026 08:06:23 -0800 Subject: [PATCH 1/3] h4d --- scripts/cloud_init_ubuntu22.bash | 2 -- scripts/google_cloud.bash | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/cloud_init_ubuntu22.bash b/scripts/cloud_init_ubuntu22.bash index f8db1b6..d03319a 100644 --- a/scripts/cloud_init_ubuntu22.bash +++ b/scripts/cloud_init_ubuntu22.bash @@ -33,7 +33,5 @@ function cloud_init_ubuntu22 { source ~/.cargo/env cd ~/tvs && RUSTFLAGS='-Ctarget-cpu=native' cargo build --release ./benchmarks/run.sh cpu - rm -r ~/.rustup/ - rm -r ~/.cargo/ " } diff --git a/scripts/google_cloud.bash b/scripts/google_cloud.bash index 8aedbac..22be8d4 100644 --- a/scripts/google_cloud.bash +++ b/scripts/google_cloud.bash @@ -3,10 +3,10 @@ function spin_google_cloud { gcloud compute instances create "$1" --format="json" \ - --zone=us-central1-a \ - --machine-type=c4d-highcpu-96 \ + --zone=us-central1-b \ + --machine-type=h4d-standard-192 \ --network-interface=network-tier=PREMIUM,nic-type=GVNIC,stack-type=IPV4_ONLY,subnet=default \ - --metadata=startup-script="sudo rm -r /usr/lib/google-cloud-sdk/",ssh-keys=atlas:"$2" \ + --metadata=ssh-keys=atlas:"$2" \ --no-restart-on-failure \ --maintenance-policy=TERMINATE \ --provisioning-model=SPOT \ From e34d4d3a007ce9c817861144fbe8ac78099f51c6 Mon Sep 17 00:00:00 2001 From: Ryan Berger Date: Tue, 10 Feb 2026 19:44:23 -0800 Subject: [PATCH 2/3] run benchmarks first before release build --- scripts/cloud_init_ubuntu22.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/cloud_init_ubuntu22.bash b/scripts/cloud_init_ubuntu22.bash index d03319a..155ba73 100644 --- a/scripts/cloud_init_ubuntu22.bash +++ b/scripts/cloud_init_ubuntu22.bash @@ -31,7 +31,9 @@ function cloud_init_ubuntu22 { ssh "$address" "\ set -euo pipefail source ~/.cargo/env - cd ~/tvs && RUSTFLAGS='-Ctarget-cpu=native' cargo build --release ./benchmarks/run.sh cpu + cd ~/tvs && RUSTFLAGS='-Ctarget-cpu=native' cargo build --release + rm -r ~/.rustup/ + rm -r ~/.cargo/ " } From f053b7be513fe54d00a8403243bd86b2fbe17778 Mon Sep 17 00:00:00 2001 From: Ryan Berger Date: Tue, 10 Feb 2026 19:45:20 -0800 Subject: [PATCH 3/3] add deletion of google-cloud-sdk back in --- scripts/google_cloud.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/google_cloud.bash b/scripts/google_cloud.bash index 22be8d4..9f4131a 100644 --- a/scripts/google_cloud.bash +++ b/scripts/google_cloud.bash @@ -6,7 +6,7 @@ function spin_google_cloud { --zone=us-central1-b \ --machine-type=h4d-standard-192 \ --network-interface=network-tier=PREMIUM,nic-type=GVNIC,stack-type=IPV4_ONLY,subnet=default \ - --metadata=ssh-keys=atlas:"$2" \ + --metadata=startup-script="sudo rm -r /usr/lib/google-cloud-sdk/",ssh-keys=atlas:"$2" \ --no-restart-on-failure \ --maintenance-policy=TERMINATE \ --provisioning-model=SPOT \