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?