From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at> |
Cc: | Justin Clift <justin(at)postgresql(dot)org>, t-ishii(at)sra(dot)co(dot)jp, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Does v7.2.x support AIX 5.1? |
Date: | 2002-11-14 16:03:53 |
Message-ID: | 200211141603.gAEG3rT04275@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Zeugswetter Andreas SB SD wrote:
> I don't have AIX 5 here, so cannot test, sorry.
> But yes, it should definitely work.
>
> There is a known possible performance improvement for concurrent sessions on
> multiprocessor AIX machines. The now depricated "cs(3)" used for the AIX TAS
> implementation should be replaced with fetch_and_or, compare_and_swap or the
> like. I just haven't got round to doing a patch that I trust.
>
> Maybe Tatsuo can say more ?
cs() is gone in 7.3beta because cs() was failing on SMP machines anyway.
The new code is:
#define TAS(lock) _check_lock(lock, 0, 1)
#define S_UNLOCK(lock) _clear_lock(lock, 0)
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | snpe | 2002-11-14 16:17:15 | Re: create or replace view |
Previous Message | Zeugswetter Andreas SB SD | 2002-11-14 15:25:49 | Re: Does v7.2.x support AIX 5.1? |