Re: [PATCH 0/6] x86/cpu hotplug: Wake up offline CPU via mwait ornmi

From: Arjan van de Ven
Date: Tue Jun 05 2012 - 21:53:14 EST


On 6/5/2012 4:13 PM, Andi Kleen wrote:
>> And aside of the above requirements it should add the ability to deal
>> with the fact that aside of server workloads this needs to be able to
>> cope with appplications in the embedded/mobile space which know more
>> about the future system state than the scheduler itself.
>
> Well solving world hunger in one try is hard. Baby steps are easier.
>
> What I think would be useful short term is a clean mechanism for drivers
> to lock a interrupt onto a CPU, without irqbalanced touching it.
> This would be mainly for MSI-X drivers to spread their interrupts properly
> and give better performance out of the box.


like the IRQ_NO_BALANCING flag ? ;-)


>
> Another short term case is the power aware interrupt routing now on recent
> Intel CPUs. In this case the interrupt needs logical focus to multiple CPUs
> and the hardware makes the decision (essentially it does power aware load
> balancing in hardware). Again nobody else should touch it.

PAIR is hard, it sadly needs a mostly complete revamp on how Linux does
interrupts. t

>
> Then maybe this mechanism could be extended with a power aware
> software solution with some input from the load balancer like you suggested.

irqbalanced at least tries to be power aware.
--
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/