Re: [RFC] building postgres with meson - v12

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [RFC] building postgres with meson - v12
Дата
Msg-id 20220828013914.5hzc7kvcpum5h2yn@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: [RFC] building postgres with meson - v12  (Andres Freund <andres@anarazel.de>)
Ответы Re: [RFC] building postgres with meson - v12  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
Hi,

On 2022-08-27 18:02:40 -0700, Andres Freund wrote:
> FWIW, I did notice that netbsd does have working unnamed semaphores. I don't
> know how long ago they were added, but they apparently didn't work quite right
> in 2018 [1]. No meaningful performance chance in the main regression tests,
> I'll run a concurrent check world comparison in the background...

Unnamed ones are substantially worse unfortunately. On an 8 core netbsd 9.3
VM:

sysv:
real    4m39.777s
user    7m35.534s
sys     7m33.831s

unnamed posix
real    5m44.035s
user    7m23.326s
sys     11m58.946s

The difference in system time is even more substantial than the wall clock
time. And repeated runs were even worse.

I also had the ecpg tests hang in one run with unnamed posix semas, until I
killed 'alloc'. Didn't reproduce since though.


So clearly we shouldn't go and start auto-detecting unnamed posix sema
support.

Greetings,

Andres Freund



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [RFC] building postgres with meson - v12
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: [RFC] building postgres with meson - v12