summaryrefslogtreecommitdiff
path: root/.cirrus.tasks.yml
diff options
context:
space:
mode:
authorThomas Munro2024-03-13 01:51:24 +0000
committerThomas Munro2024-03-13 01:58:27 +0000
commit0265e5c120e0971a9c50a1e27ce4cb847c15a1bf (patch)
treebfd15562f889724b4fa35c9118161b9283c2c0fd /.cirrus.tasks.yml
parent77cf6a78de9fa48976d8c9152a48290beb06dc8b (diff)
ci: Use a RAM disk and more CPUs on FreeBSD.
Run the tests in a RAM disk. It's still a UFS file system and is backed by 20GB of disk, but this avoids a lot of I/O. Even though we disable fsync, our tests do a lot of directory manipulations, some of which force file system meta-data to disk and flush slow device write caches on UFS. This was a bottleneck preventing effective scaling beyond 2 CPUs. Now we can use 4 CPUs like on other OSes, for a huge speedup. Reviewed-by: Maxim Orlov <orlovmg@gmail.com> Discussion: https://postgr.es/m/CA%2BhUKG%2BFXLcEg1dyTqJjDiNQ8pGom4KrJj4wF38C90thti9dVA%40mail.gmail.com
Diffstat (limited to '.cirrus.tasks.yml')
-rw-r--r--.cirrus.tasks.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.cirrus.tasks.yml b/.cirrus.tasks.yml
index 3b5b54df58f..1adfdfdd456 100644
--- a/.cirrus.tasks.yml
+++ b/.cirrus.tasks.yml
@@ -126,11 +126,9 @@ task:
name: FreeBSD - 13 - Meson
env:
- # FreeBSD on GCP is slow when running with larger number of CPUS /
- # jobs. Using one more job than cpus seems to work best.
- CPUS: 2
- BUILD_JOBS: 3
- TEST_JOBS: 3
+ CPUS: 4
+ BUILD_JOBS: 4
+ TEST_JOBS: 8
IMAGE_FAMILY: pg-ci-freebsd-13
DISK_SIZE: 50