IRQ dynamic distribution : A9-MPCore + GIC

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Aug 3 03:32:50 EDT 2010


On Tue, Aug 03, 2010 at 09:36:32AM +0530, Suresh Shukla wrote:
>  Hi,
>
> Is there any available work on IRQ dynamic distribution for A9-MPCore  
> platform with GIC ?
> I see it is available for x86 APIC platform and priority based support  
> can be implemented for A9-MPCore/GIC combination.

I tried to get IRQ balancing working with the initial ARM SMP
implementation but I found it impossible to behave sanely within
kernel space.  I don't remember what the exact problems were though -
this was five or so years ago.

The advice I got from Arjan van de Ven (author of Powertop) was
not to bother - the kernel IRQ balancer is flawed because it constantly
shifts IRQs between CPUs, meaning that they don't benefit from cache
hotness.  There are also implementations for IRQ balancing in userspace
which could do a far better job.



More information about the linux-arm-kernel mailing list