| From: | Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com> |
|---|---|
| To: | Andres Freund <andres(at)anarazel(dot)de> |
| Cc: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, pgsql-hackers(at)postgresql(dot)org, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Justin Pryzby <pryzby(at)telsasoft(dot)com> |
| Subject: | Re: Cirrus-ci is lowering free CI cycles - what to do with cfbot, etc? |
| Date: | 2023-08-09 07:22:45 |
| Message-ID: | CAC+AXB2Ps03pzZsVN46zHZJSAa5YD-9sCAD29XCSM37C10JtZg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, Aug 9, 2023 at 3:26 AM Andres Freund <andres(at)anarazel(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2023-08-09 07:35:09 | Re: Incorrect handling of OOM in WAL replay leading to data loss |
| Previous Message | Kyotaro Horiguchi | 2023-08-09 07:13:53 | Re: Incorrect handling of OOM in WAL replay leading to data loss |