Re: Configure template change to use SysV Semaphors on darwin

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chris Marcellino <cmarcellino(at)apple(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Configure template change to use SysV Semaphors on darwin
Date: 2007-02-08 05:52:31
Message-ID: 29862.1170913951@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Chris Marcellino <cmarcellino(at)apple(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Robert Treat 2007-02-08 06:30:25 Re: Fwd: Re: [DOCS] [HACKERS] Broken link in PG docs
Previous Message Bruce Momjian 2007-02-08 05:06:06 Re: Index split WAL reduction