Unix Technical Forum

Re: continuing daily testing of dbt2 against

This is a discussion on Re: continuing daily testing of dbt2 against within the pgsql Hackers forums, part of the PostgreSQL category; --> +1 Mark, can you quantify the impact of not running with IRQ balancing enabled? - Luke Msg is shrt ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2008, 06:13 AM
Luke Lonergan
 
Posts: n/a
Default Re: continuing daily testing of dbt2 against

+1

Mark, can you quantify the impact of not running with IRQ balancing enabled?


- Luke

Msg is shrt cuz m on ma treo

-----Original Message-----
<Original message contents unavailable>


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-12-2008, 06:13 AM
Mark Wong
 
Posts: n/a
Default Re: continuing daily testing of dbt2 against postgresql

Luke Lonergan wrote:
> +1
>
> Mark, can you quantify the impact of not running with IRQ balancing enabled?


Whoops, look like performance was due more to enabling the
--enable-thread-safe flag.

IRQ balancing on : 7086.75
http://dbt.osdl.org/dbt/dbt2dev/results/dev4-015/158/
IRQ balancing off: 7057.90
http://dbt.osdl.org/dbt/dbt2dev/results/dev4-015/163/

The interrupt charts look completely different. There's too much stuff
on the chart to determine what interrupts are from what though. It
needs to be redone per processor (as opposed to per interrupt per
processor) to be more useful in determining if one processor is
overloaded due to interrupts.

http://dbt.osdl.org/dbt/dbt2dev/resu...r/sar-intr.png
http://dbt.osdl.org/dbt/dbt2dev/resu...r/sar-intr.png

But the sum of all the interrupts handled are close between tests so it
seems clear no single processor was overloaded:

http://dbt.osdl.org/dbt/dbt2dev/resu...sar-intr_s.png
http://dbt.osdl.org/dbt/dbt2dev/resu...sar-intr_s.png

Mark

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-12-2008, 06:13 AM
Luke Lonergan
 
Posts: n/a
Default Re: continuing daily testing of dbt2 against

One of our customers noticed that there were a high number of NUMA cache
misses on a quad core opteron system running Bizgres MPP resulting in about
a 15% performance hit. We use a process-based parallelization approach and
we can guess that there's context switching due to the high degree of
pipeline parallelism in our executions plans. Each context switch likely
switches a process away from the CPU with local memory, resulting in the
NUMA cache misses.

The answer for us is to bind each process to a CPU. Might that help in
running DBT-2?

- Luke


On 10/10/06 9:40 AM, "Mark Wong" <markw@osdl.org> wrote:

> Luke Lonergan wrote:
>> +1
>>
>> Mark, can you quantify the impact of not running with IRQ balancing enabled?

>
> Whoops, look like performance was due more to enabling the
> --enable-thread-safe flag.
>
> IRQ balancing on : 7086.75
> http://dbt.osdl.org/dbt/dbt2dev/results/dev4-015/158/
> IRQ balancing off: 7057.90
> http://dbt.osdl.org/dbt/dbt2dev/results/dev4-015/163/
>
> The interrupt charts look completely different. There's too much stuff
> on the chart to determine what interrupts are from what though. It
> needs to be redone per processor (as opposed to per interrupt per
> processor) to be more useful in determining if one processor is
> overloaded due to interrupts.
>
> http://dbt.osdl.org/dbt/dbt2dev/resu...r/sar-intr.png
> http://dbt.osdl.org/dbt/dbt2dev/resu...r/sar-intr.png
>
> But the sum of all the interrupts handled are close between tests so it
> seems clear no single processor was overloaded:
>
> http://dbt.osdl.org/dbt/dbt2dev/resu...sar-intr_s.png
> http://dbt.osdl.org/dbt/dbt2dev/resu...sar-intr_s.png
>
> Mark
>




---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-12-2008, 06:13 AM
Mark Wong
 
Posts: n/a
Default Re: continuing daily testing of dbt2 against postgresql

Yeah, I'm sure binding each process to a CPU would be a significant
help. Something I've always wanted to quantify but haven't made time for...

Mark

Luke Lonergan wrote:
> One of our customers noticed that there were a high number of NUMA cache
> misses on a quad core opteron system running Bizgres MPP resulting in about
> a 15% performance hit. We use a process-based parallelization approach and
> we can guess that there's context switching due to the high degree of
> pipeline parallelism in our executions plans. Each context switch likely
> switches a process away from the CPU with local memory, resulting in the
> NUMA cache misses.
>
> The answer for us is to bind each process to a CPU. Might that help in
> running DBT-2?
>
> - Luke
>
>
> On 10/10/06 9:40 AM, "Mark Wong" <markw@osdl.org> wrote:
>
>> Luke Lonergan wrote:
>>> +1
>>>
>>> Mark, can you quantify the impact of not running with IRQ balancing enabled?

>> Whoops, look like performance was due more to enabling the
>> --enable-thread-safe flag.
>>
>> IRQ balancing on : 7086.75
>> http://dbt.osdl.org/dbt/dbt2dev/results/dev4-015/158/
>> IRQ balancing off: 7057.90
>> http://dbt.osdl.org/dbt/dbt2dev/results/dev4-015/163/
>>
>> The interrupt charts look completely different. There's too much stuff
>> on the chart to determine what interrupts are from what though. It
>> needs to be redone per processor (as opposed to per interrupt per
>> processor) to be more useful in determining if one processor is
>> overloaded due to interrupts.
>>
>> http://dbt.osdl.org/dbt/dbt2dev/resu...r/sar-intr.png
>> http://dbt.osdl.org/dbt/dbt2dev/resu...r/sar-intr.png
>>
>> But the sum of all the interrupts handled are close between tests so it
>> seems clear no single processor was overloaded:
>>
>> http://dbt.osdl.org/dbt/dbt2dev/resu...sar-intr_s.png
>> http://dbt.osdl.org/dbt/dbt2dev/resu...sar-intr_s.png
>>
>> Mark
>>

>
>


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:35 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com