Re: [PATCH] dtrace probes for memory manager

Поиск
Список
Период
Сортировка
От Bernd Helmle
Тема Re: [PATCH] dtrace probes for memory manager
Дата
Msg-id 71030797A0D398DACBBE6E91@amenophis
обсуждение исходный текст
Ответ на Re: [PATCH] dtrace probes for memory manager  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [PATCH] dtrace probes for memory manager  (Greg Smith <greg@2ndquadrant.com>)
Список pgsql-hackers

--On 13. November 2009 17:16:15 -0500 Robert Haas <robertmhaas@gmail.com> 
wrote:

> Don't think.  Benchmark.  :-)
>
> (If you can measure it at all, it's too much, at least IMHO.)

I've tried to benchmark this now on my (fairly slow compared to server 
hardware) MacBook and see some negative trend for those memory probes in 
pgbench. Running dozens of rounds with pgbench (scale 150, 10 clients / 
1000 transactions) gives the following numbers (untuned PostgreSQL config):

AVG(tps) with dtrace memory probes: 31.62 tps
AVG(tps) without dtrace memory probes: 38.24 tps

So there seems to be a minor slowdown at least on *my* machine. However, it 
would be fine if someone can prove these numbers..

What do you guys think, what other tests/parameters can be invoked to test 
for an impact ?

-- 
Thanks
Bernd


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Adding support for SE-Linux security
Следующее
От: Greg Smith
Дата:
Сообщение: Re: [PATCH] dtrace probes for memory manager