Re: Fw: bad performance on irix - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fw: bad performance on irix
Date
Msg-id 29496.1016469410@sss.pgh.pa.us
Whole thread Raw
In response to Fw: bad performance on irix  ("Luis Alberto Amigo Navarro" <lamigo@atc.unican.es>)
List 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 by date:

Previous
From: "Luis Alberto Amigo Navarro"
Date:
Subject: Fw: bad performance on irix
Next
From: Greg Copeland
Date:
Subject: Re: Again, sorry, caching.