From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | CI speed improvements for FreeBSD |
Date: | 2023-08-27 22:29:39 |
Message-ID: | CA+hUKG+FXLcEg1dyTqJjDiNQ8pGom4KrJj4wF38C90thti9dVA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
Here are a couple of changes that got FreeBSD down to 4:29 total, 2:40
in test_world in my last run (over 2x speedup), using a RAM disk
backed by a swap partition, and more CPUs. It's still a regular UFS
file system but FreeBSD is not as good at avoiding I/O around short
lived files and directories as Linux: it can get hung up on a bunch of
synchronous I/O, and also flushes disk caches for those writes,
without an off switch.
I don't know about Windows, but I suspect the same applies there, ie
synchronous I/O blocking system calls around our blizzard of file
creations and unlinks. Anyone know how to try it?
Attachment | Content-Type | Size |
---|---|---|
0001-ci-Use-a-RAM-disk-on-FreeBSD.patch | text/x-patch | 1.9 KB |
0002-ci-Use-more-CPUs-on-FreeBSD.patch | text/x-patch | 848 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2023-08-27 23:24:39 | Re: CI speed improvements for FreeBSD |
Previous Message | Heikki Linnakangas | 2023-08-27 20:24:59 | Re: BUG #17946: LC_MONETARY & DO LANGUAGE plperl - BUG |