Re: O_DIRECT for relations and SLRUs (Prototype)

Поиск
Список
Период
Сортировка
От Andrey Borodin
Тема Re: O_DIRECT for relations and SLRUs (Prototype)
Дата
Msg-id D82D8F7C-A0A0-4661-9066-F69F37E64287@yandex-team.ru
обсуждение исходный текст
Ответ на O_DIRECT for relations and SLRUs (Prototype)  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: O_DIRECT for relations and SLRUs (Prototype)  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
> 12 янв. 2019 г., в 9:46, Michael Paquier <michael@paquier.xyz> написал(а):
>
> Note that pg_attribute_aligned() cannot be used as that's not an
> option with clang and a couple of other comilers as far as I know, so
> the patch uses a simple set of placeholder buffers large enough to be
> aligned with the OS pages, which should be 4k for Linux by the way,
> and not set to BLCKSZ, but for WAL's O_DIRECT we don't really care
> much with such details.

Is it possible to avoid those memcopy's by aligning available buffers instead?
I couldn't understand this from the patch and this thread.

Best regards, Andrey Borodin.

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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: speeding up planning with partitions
Следующее
От: Jack LIU
Дата:
Сообщение: Re: SPI Interface to Call Procedure with Transaction Control Statements?