Re: Configure template change to use SysV Semaphors on darwin

Поиск
Список
Период
Сортировка
От Takayuki Tsunakawa
Тема Re: Configure template change to use SysV Semaphors on darwin
Дата
Msg-id 016601c74b4c$07f45800$19527c0a@OPERAO
обсуждение исходный текст
Ответ на Configure template change to use SysV Semaphors on darwin  (Chris Marcellino <cmarcellino@apple.com>)
Список 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 по дате отправления:

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: Fwd: Re: [DOCS] [HACKERS] Broken link in PG docs
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: \prompt for psql