git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 77cf6a7) | patch
ci: Use a RAM disk and more CPUs on FreeBSD.
2024年3月13日 01:51:24 +0000 (14:51 +1300)
2024年3月13日 01:58:27 +0000 (14:58 +1300)
commit 0265e5c120e0971a9c50a1e27ce4cb847c15a1bf
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
.cirrus.tasks.yml diff | blob | blame | history
src/tools/ci/gcp_freebsd_repartition.sh diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /