Re: irq balancing: performance disaster

Zwane Mwaikambo (zwane@linuxpower.ca)
Sun, 11 May 2003 08:17:53 -0400 (EDT)


On Sun, 11 May 2003, Jos Hulzink wrote:

> For the Mandrake 2.4.21-0.13mdk kernel, there is no noirqbalance option in the
> kernel. I tried to contact the Mandrake guys about this, but unfortunately
> their response is 0. This patch also fails badly, and I haven't decided yet
> wether I'm willing to help a company which doesn't seem to care at all and
> uses pre-kernels in their distribution.

It was a bug in 2.4, fixed in Alan's tree by setting target_cpus to 0xff
(previously cpu_online_map). There is no noirqbalance option in 2.4
because there is no in kernel irq balancer.

Zwane

Index: linux-2.4.21-pre1/include/asm-i386/smpboot.h
===================================================================
RCS file: /build/cvsroot/linux-2.4.19/include/asm-i386/smpboot.h,v
retrieving revision 1.2
diff -u -p -B -r1.2 smpboot.h
--- linux-2.4.21-pre1/include/asm-i386/smpboot.h 8 Mar 2003 21:54:33 -0000 1.2
+++ linux-2.4.21-pre1/include/asm-i386/smpboot.h 10 Apr 2003 11:19:05 -0000
@@ -116,6 +116,6 @@ static inline int target_cpus(void)
return cpu_online_map;
}
#else
-#define target_cpus() (cpu_online_map)
+#define target_cpus() (0xFF)
#endif
#endif

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