> "Leslie" <[EMAIL PROTECTED]> writes:
> > PostgreSQL7.1 is now running on AIX5L( S85, 6GB memory, 6CPU), which was
> > running on Linux before(Pentium3, 2CPU, as far as I
> > remember.......sorry......).
> > The performance( on AIX5L ) is just half as good as the one( on Linux ).
> 
> Hmm ... is the AIX compilation selecting an appropriate TAS
> implementation for spinlocks? 

I think yes. I have compiled 7.1 on an AIX5L box and found that TAS()
was replaced by:

         cs((int *) (lock), 0, 1)

> If it's falling back to semaphore-based
> spinlocks, I can easily believe that you might take a 2X performance
> hit.  Possibly s_lock.h needs some additional #if tests for AIX5.
--
Tatsuo Ishii

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to