Re: Configure template change to use SysV Semaphors on darwin - Mailing list pgsql-patches

From Takayuki Tsunakawa
Subject Re: Configure template change to use SysV Semaphors on darwin
Date
Msg-id 016601c74b4c$07f45800$19527c0a@OPERAO
Whole thread Raw
In response to Configure template change to use SysV Semaphors on darwin  (Chris Marcellino <cmarcellino@apple.com>)
List pgsql-patches
From: "Tom Lane" <tgl@sss.pgh.pa.us>
> 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.

About (b), pgbench -C (upper case) can do.

> 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 ...

Does POSIX sema implementation use fds on popular platforms like
Linux?  Even if so, the users are freed from many kernel parameters
such as semmni, semmns, semmsl, etc.  What the users have to care
about becomes only the number of file descriptors.  Doesn't it seem to
make settings easy?



pgsql-patches by date:

Previous
From: Robert Treat
Date:
Subject: Re: Fwd: Re: [DOCS] [HACKERS] Broken link in PG docs
Next
From: Peter Eisentraut
Date:
Subject: Re: \prompt for psql