Skip to content

Commit

Permalink
env/linux-ppc64le/osuosl,env/linux-ppc64/osuosl: increase cpu/container
Browse files Browse the repository at this point in the history
I have requested, and had the core counts on these VM's doubled. This
will hopefully improve CI throughput.

Change-Id: I83566f33e0a99c04a54facadcffa5da344319e45
Reviewed-on: https://go-review.googlesource.com/c/build/+/422074
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Paul Murphy <murp@ibm.com>
  • Loading branch information
pmur committed Sep 15, 2022
1 parent 340f892 commit 29d2689
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions env/linux-ppc64/osuosl/rundockerbuildlet.service
Expand Up @@ -8,9 +8,9 @@ WantedBy=network-online.target
[Service]
Type=simple
# The (-n * -cpu) values must currently be <= number of host cores.
# The host has 10 cores, so the -n=5 (five containers) * -cpu=2 (two CPUs per container) == 10.
# The host has 20 cores, so the -n=5 (five containers) * -cpu=4 (four CPUs per container) == 20.
# TODO: Use -memory option once the docker/crun issues are fixed to support memory limits.
ExecStart=/usr/local/bin/rundockerbuildlet -basename=ppc64_ -image=golang/builder -n=5 -cpu=2 -memory= --env=host-linux-ppc64-osu
ExecStart=/usr/local/bin/rundockerbuildlet -basename=ppc64_ -image=golang/builder -n=5 -cpu=4 -memory= --env=host-linux-ppc64-osu
Restart=always
RestartSec=2
StartLimitInterval=0
4 changes: 2 additions & 2 deletions env/linux-ppc64le/osuosl/rundockerbuildlet.service
Expand Up @@ -8,8 +8,8 @@ WantedBy=network-online.target
[Service]
Type=simple
# The (-n * -cpu) values must currently be <= number of host cores.
# The host has 10 cores 32GB ram, so the -n=5 (five containers) * -cpu=2 (two CPUs per container) == 10.
ExecStart=/usr/local/bin/rundockerbuildlet -basename=power_ -image=golang/builder -n=5 -cpu=2 -memory=6g --env=XXX
# The host has 20 cores 32GB ram, so the -n=5 (five containers) * -cpu=4 (four CPUs per container) == 20.
ExecStart=/usr/local/bin/rundockerbuildlet -basename=power_ -image=golang/builder -n=5 -cpu=4 -memory=6g --env=XXX
Restart=always
RestartSec=2
StartLimitInterval=0

0 comments on commit 29d2689

Please sign in to comment.