Re: Configure template change to use SysV Semaphors on darwin

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Configure template change to use SysV Semaphors on darwin
Дата
Msg-id 29862.1170913951@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Configure template change to use SysV Semaphors on darwin  (Chris Marcellino <cmarcellino@apple.com>)
Список pgsql-patches
Chris Marcellino <cmarcellino@apple.com> writes:
> On Feb 7, 2007, at 4:54 PM, Tom Lane wrote:
>> Outta curiosity, can you measure any performance difference?

> Using pgbench, on 1 million records at each of 1, 10 and 100
> concurrent users, I get the same results before and after the patch.
> I'm not sure if pgbench is the most appropriate benchmark for this
> though.

Probably not.  The issues about Darwin's POSIX-sema implementation
are (a) eating backend open-file slots, which won't matter when a
backend only touches a few different tables as pgbench does; and
(b) extra process-launch overhead, which won't matter to pgbench
because it's not launching new backends throughout the test.

I'm not sure that there is any standardized test that measures
these things, and yet it seems like it oughta matter in the real
world ...

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Index split WAL reduction
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Fwd: Re: [DOCS] [HACKERS] Broken link in PG docs