Re: Should io_method=worker remain the default?

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Should io_method=worker remain the default?
Дата
Msg-id 527013f57c4ba539eef80142f9df371e7a2e105f.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: Should io_method=worker remain the default?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Mon, 2025-09-08 at 17:02 -0400, Andres Freund wrote:
> I forgot an addendum: In fact, if there were a sufficiently cheap way
> to avoid
> using AIO when data is in the page cache, I'm fairly sure we'd want
> to use
> that. However, there is not, from what I know (both fincore() and
> RWF_NOWAIT
> are too expensive). The maximum gain from using AIO when the data is
> already
> in the page cache is just not very big, and it can cause slowdowns
> due to IPC
> overhead etc.

Also interesting. It might be worth mentioning in the docs and/or
README.

Regards,
    Jeff Davis




В списке pgsql-hackers по дате отправления: