pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Sehrope Sarkuni <sehrope@jackdb.com>
Cc: Nazir Bilal Yavuz <byavuz81@gmail.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [PATCH] Speed up pg_waldump TAP test and fix some GitHub CI Windows flakiness
Date: Wed, 2 Sep 2026 07:38:06 +0900
Message-ID: <apdTzofuBt-eJWBK@paquier.xyz> (raw)
In-Reply-To: <CAH7T-arZ9CDvkGY=9Sa8sPLySyZHXmMTYtkaq_8pATqicRMnKQ@mail.gmail.com>
References: <CAH7T-araSEdsNpxiKaMOW8kr_ZHhekCLHx5yzm2ksq4FdgULbA@mail.gmail.com>
	<apUy1_dt86Rbaf7U@paquier.xyz>
	<CAN55FZ2sV2tvbuj=FwbsUAKoLRLRXrMMgcA+gbPH75jxV3SWoQ@mail.gmail.com>
	<apaLb-mHAt11xCw1@paquier.xyz>
	<CAN55FZ0avZS+UJvpqDaL=3B1B2QmZ72uPQ2ua7YJ+UjydneVkQ@mail.gmail.com>
	<CAH7T-aoLew8-5raz5c2UiUO29htvhhhgx_Ft1xQMwiZRdAr4bQ@mail.gmail.com>
	<CAN55FZ3b4ssK=H-x6LLAZv-wLLoMG_dwn6=jKYooN3NwSjp+Ug@mail.gmail.com>
	<CAH7T-arZ9CDvkGY=9Sa8sPLySyZHXmMTYtkaq_8pATqicRMnKQ@mail.gmail.com>

On Tue, Sep 01, 2026 at 12:32:50PM -0400, Sehrope Sarkuni wrote:
> In the meantime, I tried your v2 on the same linux box v.s. the rest:
> 
>                 time    stdout     decoded per      decoded
>                 (mean)  via IPC    archive scenario total
> master          4.51s   139.1 MB   109.8 MB        393.5 MB
> v2              3.78s    37.5 MB    74.2 MB        222.5 MB
> part1           3.74s    57.7 MB    91.1 MB        273.4 MB
> part2           3.19s    37.1 MB    42.6 MB        127.8 MB
> part3           2.52s    19.4 MB    10.8 MB         64.2 MB

The differences between v2 and part1 are the two switches of
$start_lsn to $contrecord_lsn, which don't matter as we want to check
the end of the records.  These moves cut already a lot of activity
without touching coverage.

Let's just do Nazir's v2 as a first step with a backpatch to ease the
CI and buildfarm pain a bit.  Will apply that portion in a bit, that's
worth its own weight in gold.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (10+ messages)  latest in thread

Message-ID: <apdTzofuBt-eJWBK@paquier.xyz>
Permalink:  ../apdTzofuBt-eJWBK@paquier.xyz/
Also on:    postgresql.org/message-id/apdTzofuBt-eJWBK@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: michael@paquier.xyz, sehrope@jackdb.com, byavuz81@gmail.com
  Subject: Re: [PATCH] Speed up pg_waldump TAP test and fix some GitHub CI Windows flakiness
  In-Reply-To: <apdTzofuBt-eJWBK@paquier.xyz>
  References: <CAH7T-araSEdsNpxiKaMOW8kr_ZHhekCLHx5yzm2ksq4FdgULbA@mail.gmail.com> <apUy1_dt86Rbaf7U@paquier.xyz> <CAN55FZ2sV2tvbuj=FwbsUAKoLRLRXrMMgcA+gbPH75jxV3SWoQ@mail.gmail.com> <apaLb-mHAt11xCw1@paquier.xyz> <CAN55FZ0avZS+UJvpqDaL=3B1B2QmZ72uPQ2ua7YJ+UjydneVkQ@mail.gmail.com> <CAH7T-aoLew8-5raz5c2UiUO29htvhhhgx_Ft1xQMwiZRdAr4bQ@mail.gmail.com> <CAN55FZ3b4ssK=H-x6LLAZv-wLLoMG_dwn6=jKYooN3NwSjp+Ug@mail.gmail.com> <CAH7T-arZ9CDvkGY=9Sa8sPLySyZHXmMTYtkaq_8pATqicRMnKQ@mail.gmail.com> <apdTzofuBt-eJWBK@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox