Skip to contentSkip to conversation

CONFIG_IRQBALANCE for 64-bit x86 ?

DISCUSSION Walt H 1 participant 1 message Nov 21, 2007

lore
Share & tools
lore

Walt H

author
#0 lore raw
Quoted 11 lines
Quoted 3 lines · On Tue, 20 Nov 2007 15:17:15 +1100 Nick Piggin <[email protected]…
Quoted 2 lines · Mark Lord

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.

Quoted 7 lines
Quoted 4 lines
Quoted 4 lines

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