Re: Cirrus-ci is lowering free CI cycles - what to do with cfbot, etc?

Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>

From: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>, pgsql-hackers@postgresql.org, Thomas Munro <thomas.munro@gmail.com>, Justin Pryzby <pryzby@telsasoft.com>
Date: 2023-08-09T07:22:45Z
Lists: pgsql-hackers
On Wed, Aug 9, 2023 at 3:26 AM Andres Freund <andres@anarazel.de> wrote:

>
> > > 6) Disable write cache flushes on windows
> > >
> > >     It's a bit ugly to do this without using the UI... Shaves off
> about 30s
> > >     from the tests.
> >
> > A brief comment would be nice: "We don't care about persistence over hard
> > crashes in the CI, so disable write cache flushes to speed it up."
>
> Turns out that patch doesn't work on its own anyway, at least not
> reliably... I tested it by interactively logging into a windows vm and
> testing
> it there. It doesn't actually seem to suffice when run in isolation,
> because
> the relevant registry key doesn't yet exist. I haven't yet figured out the
> magic incantations for adding the missing "intermediary", but I'm getting
> there...
>
>
You can find a good example on how to accomplish this in:

https://github.com/farag2/Utilities/blob/master/Enable_disk_write_caching.ps1

Regards,

Juan José Santamaría Flecha

Commits

  1. Use snprintf instead of sprintf in pg_regress.

  2. Speed up pg_regress server readiness testing.

  3. ci: Make compute resources for CI configurable

  4. ci: Prepare to make compute resources for CI configurable

  5. ci: Use VMs for SanityCheck and CompilerWarnings

  6. ci: Move execution method of tasks into yaml templates

  7. ci: Don't specify amount of memory

  8. ci: macos: Remove use of -Dsegsize_blocks=6

  9. ci: macos: Remove use of -DRANDOMIZE_ALLOCATED_MEMORY