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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| +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 |
| |||
| 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. 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 |
| |||
| 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. > 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 |
| ||||
| 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. >> 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 |