Re: pgsql: Generational memory allocator

Поиск
Список
Период
Сортировка
Искать
От
Tomas Vondra
Тема
Re: pgsql: Generational memory allocator
Дата
Msg-id
c903f275-2150-fa52-64bf-dca7b53ebf8d@fuzzy.cz
Ответ на
Список
Дерево обсуждения
pgsql: Generational memory allocator Simon Riggs <simon@2ndQuadrant.com>
Re: pgsql: Generational memory allocator Andres Freund <andres@anarazel.de>
Re: pgsql: Generational memory allocator Simon Riggs <simon@2ndquadrant.com>
Re: pgsql: Generational memory allocator Andres Freund <andres@anarazel.de>
Re: pgsql: Generational memory allocator Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Generational memory allocator Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: pgsql: Generational memory allocator Simon Riggs <simon@2ndquadrant.com>
Re: pgsql: Generational memory allocator Tomas Vondra <tv@fuzzy.cz>
Re: pgsql: Generational memory allocator Andres Freund <andres@anarazel.de>
Re: pgsql: Generational memory allocator Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Generational memory allocator Simon Riggs <simon@2ndquadrant.com>
Re: pgsql: Generational memory allocator Tomas Vondra <tv@fuzzy.cz>
Re: pgsql: Generational memory allocator Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Generational memory allocator Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Generational memory allocator Simon Riggs <simon@2ndquadrant.com>
Re: pgsql: Generational memory allocator Simon Riggs <simon@2ndquadrant.com>
Re: pgsql: Generational memory allocator Tomas Vondra <tv@fuzzy.cz>
Re: pgsql: Generational memory allocator Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Generational memory allocator Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Generational memory allocator Tomas Vondra <tv@fuzzy.cz>
Re: pgsql: Generational memory allocator Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Generational memory allocator Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Generational memory allocator Andres Freund <andres@anarazel.de>
Re: pgsql: Generational memory allocator Andres Freund <andres@anarazel.de>
Re: pgsql: Generational memory allocator Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Generational memory allocator Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Generational memory allocator Simon Riggs <simon@2ndquadrant.com>
Re: pgsql: Generational memory allocator Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Generational memory allocator Simon Riggs <simon@2ndquadrant.com>
Re: pgsql: Generational memory allocator Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Generational memory allocator Simon Riggs <simon@2ndquadrant.com>
Re: pgsql: Generational memory allocator Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Generational memory allocator Simon Riggs <simon@2ndquadrant.com>
Re: pgsql: Generational memory allocator Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Generational memory allocator Simon Riggs <simon@2ndquadrant.com>
Re: pgsql: Generational memory allocator Simon Riggs <simon@2ndquadrant.com>
Re: pgsql: Generational memory allocator Simon Riggs <simon@2ndquadrant.com>


On 11/23/2017 10:57 AM, Simon Riggs wrote:
> On 23 November 2017 at 11:16, Andres Freund  wrote:
>> Hi,
>>
>> On 2017-11-22 18:48:19 +0000, Simon Riggs wrote:
>>> Generational memory allocator
>>>
>>> Add new style of memory allocator, known as Generational
>>> appropriate for use in cases where memory is allocated
>>> and then freed in roughly oldest first order (FIFO).
>>>
>>> Use new allocator for logical decoding’s reorderbuffer
>>> to significantly reduce memory usage and improve performance.
>>
>> Looks like it's not quite valgrind clean:
>> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=skink&dt=2017-11-22%2022%3A30%3A01
> 
> It doesn't report anything useful that would allow me to fix this.
> 
> Please enable some info reporting on the animal.
> 

I agree it would be useful to get the valgrind log from the animal, but 
I guess you'd need to get valgrind working to fix the issue anyway.

Anyway, the attached patch fixes the issues for me - strictly speaking 
the Assert is not needed, but it doesn't hurt.

regards
Tomas
В списке pgsql-committers по дате отправления
От: Peter Eisentraut
Дата:
От: Simon Riggs
Дата:
FAQ