Re: Don't synchronously wait for already-in-progress IO in read stream

From: Melanie Plageman <melanieplageman(at)gmail(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org, Tomas Vondra <tv(at)fuzzy(dot)cz>
Subject: Re: Don't synchronously wait for already-in-progress IO in read stream
Date: 2026-03-03 19:48:07
Message-ID: CAAKRu_aMKKfgEW3Qvt9gxf+pT7+r-xWCKpJmtzDwdY8MAAQTdQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Feb 23, 2026 at 2:27 PM Peter Geoghegan <pg(at)bowt(dot)ie> wrote:
>
> Have you considered making ProcessBufferHit into an inline function? I
> find that doing so meaningfully improves performance with the index
> prefetching patch set. This is particularly true for cached index-only
> scans with many VM buffer hits. And it seems to have no downside.

Done in recently posted v4. Thanks for the report!

- Melanie

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Álvaro Herrera 2026-03-03 19:48:45 Re: UBSAN crash in EventTriggerCollectAlterTSConfig (memcpy with NULL src)
Previous Message Masahiko Sawada 2026-03-03 19:47:19 Re: postgres_fdw: Use COPY to speed up batch inserts