Re: spinlocks on HP-UX - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: spinlocks on HP-UX
Date
Msg-id 20110906.231101.820372177321459974.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: spinlocks on HP-UX  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: spinlocks on HP-UX
List pgsql-hackers
> That would be great.  What I've been using as a test case is pgbench
> -S -c $NUM_CPU_CORES -j $NUM_CPU_CORES with scale factor 100 and
> shared_buffers=8GB.
> 
> I think what you'd want to compare is the performance of unpatched
> master, vs. the performance with this line added to s_lock.h for your
> architecture:
> 
> #define TAS_SPIN(lock)  (*(lock) ? 1 : TAS(lock))
> 
> We've now added that line for ia64 (the line is present in two
> different places in the file, one for GCC and the other for HP's
> compiler).  So the question is whether we need it for any other
> architectures.

Ok. Let me talk to IBM guys...
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Alpha 1 for 9.2
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: Alpha 1 for 9.2