Re: spinlocks on HP-UX
От | Tatsuo Ishii |
---|---|
Тема | Re: spinlocks on HP-UX |
Дата | |
Msg-id | 20110906.231101.820372177321459974.t-ishii@sraoss.co.jp обсуждение исходный текст |
Ответ на | Re: spinlocks on HP-UX (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: spinlocks on HP-UX
|
Список | 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 по дате отправления: