Re: pgsql: Generational memory allocator

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Generational memory allocator
Дата
Msg-id 31081.1511725374@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Generational memory allocator  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: pgsql: Generational memory allocator  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-committers
Simon Riggs <simon@2ndquadrant.com> writes:
> On 27 November 2017 at 05:53, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Well, let's not overthink this, because anything under 8K is going to
>> be rounded up to the next power of 2 anyway by aset.c.  Based on this
>> point I'd say that BLCKSZ/2 or BLCKSZ/4 would be reasonable candidates
>> for the minimum.

> BLCKSZ/2 seems best then.

Sold, will make it so.

> I guess that means palloc doesn't work well with BLCKSZ > 8192

Don't think it's particularly related.
        regards, tom lane


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: pgsql: Generational memory allocator
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Pad XLogReaderState's main_data buffer more aggressively.