Re: Should io_method=worker remain the default? - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Should io_method=worker remain the default?
Date
Msg-id f1e19d97086cef964485dbb3ba3d7d8904709bb7.camel@j-davis.com
Whole thread Raw
In response to Re: Should io_method=worker remain the default?  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Mon, 2025-09-08 at 16:45 -0400, Andres Freund wrote:
> I don't think accelerating copying from the pagecache into postgres
> shared
> buffers really is a goal of AIO. It can be a nice side-effect, but
> not more.

Interesting. I thought that was part of the design.

> Afaict you've not explained in what even remotely plausible scenario
> you'd
> have where > 30GB/s of reads from the page cache. I continue to
> maintain that
> the workload presented does not exist in the real world.

For now, let's just consider it a test case that stressed a couple
subsystems and found some interesting effects. I think it will be
helpful context for potential improvements in 19. If I find other
interesting cases, I'll post them.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Sami Imseih
Date:
Subject: Re: shmem_startup_hook called twice on Windows
Next
From: Nathan Bossart
Date:
Subject: Re: shmem_startup_hook called twice on Windows