Re: Don't synchronously wait for already-in-progress IO in read stream - Mailing list pgsql-hackers

From Melanie Plageman
Subject Re: Don't synchronously wait for already-in-progress IO in read stream
Date
Msg-id CAAKRu_aMKKfgEW3Qvt9gxf+pT7+r-xWCKpJmtzDwdY8MAAQTdQ@mail.gmail.com
Whole thread
In response to Re: Don't synchronously wait for already-in-progress IO in read stream  (Peter Geoghegan <pg@bowt.ie>)
List pgsql-hackers
On Mon, Feb 23, 2026 at 2:27 PM Peter Geoghegan <pg@bowt.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



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: postgres_fdw: Use COPY to speed up batch inserts
Next
From: Álvaro Herrera
Date:
Subject: Re: UBSAN crash in EventTriggerCollectAlterTSConfig (memcpy with NULL src)