Re: O_DIRECT for relations and SLRUs (Prototype)

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: O_DIRECT for relations and SLRUs (Prototype)
Дата
Msg-id 20190116015428.GK1433@paquier.xyz
обсуждение исходный текст
Ответ на Re: O_DIRECT for relations and SLRUs (Prototype)  (Maksim Milyutin <milyutinma@gmail.com>)
Список pgsql-hackers
On Tue, Jan 15, 2019 at 07:40:12PM +0300, Maksim Milyutin wrote:
> Could you specify all cases when buffers will not be aligned with BLCKSZ?
>
> AFAIC shared and temp buffers are aligned. And what ones are not?

SLRU buffers are not aligned with the OS pages (aka alignment with
4096 at least).  There are also a bunch of code paths where the callers
of mdread() or mdwrite() don't do that, which makes a correct patch
more invasive.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Making WAL receiver startup rely on GUC context forprimary_conninfo and primary_slot_name
Следующее
От: Michael Paquier
Дата:
Сообщение: Bump up PG_CONTROL_VERSION on HEAD