aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/array_userfuncs.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2024-03-13 14:51:24 +1300
committerThomas Munro <tmunro@postgresql.org>2024-03-13 14:58:27 +1300
commit0265e5c120e0971a9c50a1e27ce4cb847c15a1bf (patch)
treebfd15562f889724b4fa35c9118161b9283c2c0fd /src/backend/utils/adt/array_userfuncs.c
parent77cf6a78de9fa48976d8c9152a48290beb06dc8b (diff)
downloadpostgresql-0265e5c120e0971a9c50a1e27ce4cb847c15a1bf.tar.gz
postgresql-0265e5c120e0971a9c50a1e27ce4cb847c15a1bf.zip
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 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions