Re: [PATCH] dtrace probes for memory manager

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] dtrace probes for memory manager
Дата
Msg-id 23515.1260564627@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] dtrace probes for memory manager  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Ответы Re: [PATCH] dtrace probes for memory manager
Re: [PATCH] dtrace probes for memory manager
Список pgsql-hackers
Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> Tom Lane píše v pá 11. 12. 2009 v 15:11 -0500:
>> If we go this route it would be nice to think about making a facility
>> that has some usefulness for non-DTrace platforms too.

> Do you mean general facility for switching memory allocator?

No, I was thinking of some sort of memory allocation stats collection
that doesn't depend on DTrace.  It's amazing to me that we've never
gone back and improved on the original quick-and-dirty
MemoryContextStats mechanism.  I certainly find myself using that a
lot for issues like tracking down memory leaks.  While palloc has a lot
of advantages, the fact that you can't easily plug in a debug-friendly
substitute malloc package is not one of them :-(
        regards, tom lane


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Adding support for SE-Linux security
Следующее
От: Tom Lane
Дата:
Сообщение: Re: random() in multi-threaded pgbench