Re: What is the posix_memalign() equivalent for the PostgreSQL?
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: What is the posix_memalign() equivalent for the PostgreSQL? |
| Дата | |
| Msg-id | 19198.1472835937@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: What is the posix_memalign() equivalent for the PostgreSQL? (Anderson Carniel <accarniel@gmail.com>) |
| Ответы |
Re: What is the posix_memalign() equivalent for the
PostgreSQL?
|
| Список | pgsql-hackers |
Anderson Carniel <accarniel@gmail.com> writes:
> I would like to know if the PostgreSQL provides a memory function that
> allocates aligned memory.
Not beyond MAXALIGN (although the shared-memory alloc functions do align
to cacheline boundaries IIRC).
> If not, according to your experience, is there a
> significance difference between the performance of the O_DIRECT or not?
AFAIK, nobody's really bothered to measure whether that would be useful
for Postgres. The results would probably be quite platform-specific
anyway.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера