Re: BUG: Slowdown on 3000 socket-machines tracked down

From: Nick Piggin
Date: Sun Mar 13 2005 - 23:42:15 EST

On Fri, 2005-03-11 at 20:27 +0100, Christian Schmid wrote:
> Ben Greear wrote:
> >
> > For what it's worth, I was running dual-xeon systems with HT turned on.
> >
> > But, I have a single process, single-threaded application, so there is
> > not much
> > scheduling to be done. If you have a large number of threads or processes,
> > then it would make more sense for turning off HT to have an affect.
> This effect appeared on 1 task and on 200 tasks. I dont know what it is, but with HT off it doesnt
> appear anymore. The slow-down still appears when lower_zone_protection is set to 0 but the peak at
> 80 MB disappeared when set to 1024. I am now running at 95 MB/Sec smoothly.

OK well that is a good result for you. Thanks for sticking with it.
Unfortunately you'll probably not want to test any patches on your
production system, so the cause of the problem will be difficult to

I am working on patches which improve HT performance in some
situations though, so with luck they will cure your problems too.
Basically I think SMP "balancing" is too aggressive - and this may
explain why 2.6.10 was worse for you, it had patches to *increase*
the aggressiveness of balancing.

The other thing that worries me is your need for lower_zone_protection.
I think this may be due to unbalanced highmem vs lowmem reclaim. It
would be interesting to know if those patches I sent you improve this.
They certainly improve reclaim balancing for me... but again I guess
you'll be reluctant to do much experimentation :\


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at