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

From: Andi Kleen
Date: Tue Jun 05 2012 - 19:13:53 EST


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

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.

Then maybe this mechanism could be extended with a power aware
software solution with some input from the load balancer like you suggested.
I don't have a firm picture on how exactly it should work.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/