Re: Fw: bad performance on irix

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fw: bad performance on irix
Дата
Msg-id 29496.1016469410@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Fw: bad performance on irix  ("Luis Alberto Amigo Navarro" <lamigo@atc.unican.es>)
Список pgsql-hackers
"Luis Alberto Amigo Navarro" <lamigo@atc.unican.es> forwards:
>> It's using the spinlocks
>> for some locks, but semaphores for others.

That doesn't make any sense to me.  For one thing, if HAS_TEST_AND_SET
is defined in the config header, the executable will just plain fail to
build if there's no tas implementation, because lmgr/spin.c won't be
compiled.  And I sure don't see how some of the locks might be
implemented one way and some the other.

Which ones do you think are being implemented as semaphores, and what's
your evidence?
        regards, tom lane


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

Предыдущее
От: "Luis Alberto Amigo Navarro"
Дата:
Сообщение: Fw: bad performance on irix
Следующее
От: Greg Copeland
Дата:
Сообщение: Re: Again, sorry, caching.