Re: Minor optimisation of XLogInsert()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Minor optimisation of XLogInsert()
Дата
Msg-id 584.1321503062@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Minor optimisation of XLogInsert()  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Minor optimisation of XLogInsert()  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> (I wonder if we shouldn't just align every shared memory allocation to
> 64 or 128 bytes.  It wouldn't waste much memory and it would make us
> much more resistant to performance changes caused by minor
> modifications to the shared memory layout.)

I could get behind this idea if we had a reasonably clear idea of the
hardware's cache line width, but AFAIK there is no portable way to
identify that.  (This is a pretty fatal objection to Simon's original
patch as well...)
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ISN was: Core Extensions relocation
Следующее
От: Pavan Deolasee
Дата:
Сообщение: Re: FlexLocks