Re: using stp for dbt2 + postgresql - Mailing list pgsql-hackers

From Manfred Spraul
Subject Re: using stp for dbt2 + postgresql
Date
Msg-id 3FF4B6CB.8050009@colorfullife.com
Whole thread Raw
In response to Re: using stp for dbt2 + postgresql  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian wrote:

>markw@osdl.org wrote:
>  
>
>>Hi Manfred,
>>
>>Just wanted to let you know I tried your patch-spinlock-i386 patch on
>>our STP (our automated test platform) 8-way systems and saw a 5.5%
>>improvement with Pentium III Xeons. If you want to see those results:
>>
>>PostgreSQL 7.4.1:
>>    http://khack.osdl.org/stp/285062/
>>
>>PostgreSQL 7.4.1 w/ your patch:
>>    http://khack.osdl.org/stp/285087/
>>    
>>
>
>Impressive.  Thanks.
>  
>
The best thing is that we can try our own postgres patches with SDT now: 
this gives us a chance to run tests on up to 8-way systems, with 4 gb 
memory, 40 spindles. From my experience, the typical turnaround time is 
half a day - submit patch [web interface], start benchmark run, and 
after a few ours you get a mail that contains the output. With oprofile, 
it's very detailed - % cpu time for each function, down to individual 
asm instructions, plus the ability for custom logging into the 
postmaster log.
I think we should try to use that to find a cache replacement policy 
that is SMP scalable, i.e. doesn't need a global lock - I searched a few 
minutes on citeseer, but couldn't find anything that doesn't rely on 
global lists.

--   Manfred




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Spinlock support for linux-hppa?
Next
From: Jan Wieck
Date:
Subject: Re: cache in plpgsql