aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/run-shader-db.sh
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-10-21 13:36:14 -0700
committerEric Anholt <[email protected]>2019-10-31 11:19:43 -0700
commitc9df92bf795af878c38538c85f781291c78ec513 (patch)
tree41ea5a5ef78457a681a6de609a8e73603a2070ac /.gitlab-ci/run-shader-db.sh
parentda6cc7223737e407645c7a3a526ec35e408bd6cf (diff)
ci: Switch over to an autoscaling GKE cluster for builds.
The GKE pool we're using is 1-3 32-core VMs, preemptible (to keep costs down), with 8 jobs concurrent per system. We have plenty of memory (4G/core), so we run make -j8 to try to keep the cores busy even when one job is in a single-threaded step (docker image download, git clone, artifacts processing, etc.) When all jobs are generating work for all the cores, they'll be scheduled fairly. The nodes in the pool have 300GB boot disks (over-provisioned in space to provide enough iops and throughput) mounted to /ccache, and CACHE_DIR set pointing to them. This means that once a new autoscaled-up node has run some jobs, it should have a hot ccache from then on (instead of having to rely on the docker container cache having our ccache laying around and not getting wiped out by some other fd.o job). Local SSDs would provide higher performance, but unfortunately are not supported with the cluster autoscaler. For now, the softpipe/llvmpipe test runs are still on the shared runners, until I can get them ported onto Bas's runner so they can be parallelized in a single job. Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to '.gitlab-ci/run-shader-db.sh')
-rwxr-xr-x.gitlab-ci/run-shader-db.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci/run-shader-db.sh b/.gitlab-ci/run-shader-db.sh
index 7580457d850..a62a91b5ea9 100755
--- a/.gitlab-ci/run-shader-db.sh
+++ b/.gitlab-ci/run-shader-db.sh
@@ -12,6 +12,6 @@ cd /usr/local/shader-db
for driver in freedreno v3d; do
env LD_PRELOAD=$LIBDIR/lib${driver}_noop_drm_shim.so \
- ./run -j 4 ./shaders \
+ ./run -j 8 ./shaders \
> $ARTIFACTSDIR/${driver}-shader-db.txt
done