Re: CONFIG_IRQBALANCE for 64-bit x86 ?

From: Walt H
Date: Tue Nov 20 2007 - 21:30:54 EST



On Tue, 20 Nov 2007 15:17:15 +1100
Nick Piggin <nickpiggin@xxxxxxxxxxxx <mailto:nickpiggin@xxxxxxxxxxxx>> wrote:

> On Tuesday 20 November 2007 15:12, Mark Lord wrote:
> > On 32-bit x86, we have CONFIG_IRQBALANCE available,
> > but not on 64-bit x86. Why not?

because the in-kernel one is actually quite bad.


> > My QuadCore box works very well in 32-bit mode with IRQBALANCE,
> > but responsiveness sucks bigtime when run in 64-bit mode (no
> > IRQBALANCE) during periods of multiple heavy I/O streams (USB flash
> > drives).

please run the userspace irq balancer, see http://www.irqbalance.org
afaik most distros ship that by default anyway.

I've been running the daemon for quite some time, however, have noticed something on my newest computer. It's a core2 duo and the IRQ balance daemon always exits after some time. After looking at the source, I see it's because dual core/hyperthreaded boxes (single domain caches) always get treated as though the --oneshot option were passed and exit after the first pass (I assume same thing happens on quad cores?).

Does this not adversely affect IRQ balancing on those CPU's? If the IRQ load of a mostly idle device changes from when the daemon was run, wouldn't the inability of the balance to adjust it adversely affect performance if the load changes at a later time? I'm used to my old SMP box with 2 physical cores, so this is just something I've wondered about on the new box. Thanks,

-Walt


-
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/