Re: Poor PostgreSQL scaling on Linux 2.6.25-rc5 (vs 2.6.22)

From: Ingo Molnar
Date: Tue Mar 11 2008 - 05:59:19 EST



* Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:

> > Just a quick suggestion, does a simple runtime tune like this fix
> > the workload:
> >
> > for N in /proc/sys/kernel/sched_domain/*/*/flags; do
> > echo $[`cat $N`|16] > N
> > done
> >
> > this sets SD_WAKE_IDLE for all the nodes in the scheduler domains
> > tree. (doing this results in over-agressive idle balancing - but if
> > this fixes your testcase it shows that we were balancing
> > under-agressively for this workload.) Thanks,
>
> It doesn't change anything.
>
> There is no idle time for this workload, btw.

oh, i thought you said that. Could you try to turn SD_WAKE_AFFINE
all-off and all-on perhaps, via the same scriptlet?

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/