On 4/30/07, Quan Sun <[EMAIL PROTECTED]> wrote:
Hi,
Recently I met a problem on different scheduler behavior between
2.4.22 and 2.6.18.8.
The application works as a proxy, it listen on an interface,
connect through another interface. This application works on a box
with two Xeon cpu, each of them is hyper-threading.
On 2.4.22, CPU0 serve interrupts, the application works on other
three CPUs.
But on 2.6.18.8, if I turn on 'noirqbalance' kernel parameter, the
application will stuck to CPU0 as well as interrupts after several
seconds' working. Then there will be a 0% idle cpu, and three 100%
idle CPUs.
I have also tried irqbalance on 2.6.18.8, but the performance is
not as good as 2.4.22 too.
It seems that scheduler ignores the working load of interrupts.
My question is, is there a way to tune 2.6 kernel working as 2.4?
Just one cpu for interrupts, other three cpu for normal work.
I am no expert but why do you need to do this?
Can you leave this to linux itself?
Scheduler in 2.6 kernels performs better than 2.4 kernels.
Did you try tweaking your timer frequency and preemptible kernel for
better performance?
I hope this will help you.
Thanks
~psr
--
Quan Sun
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
play the game
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html