Messages in this thread | | | Date | Wed, 6 Jun 2012 01:13:52 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH 0/6] x86/cpu hotplug: Wake up offline CPU via mwait or nmi |
| |
> 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@linux.intel.com -- Speaking for myself only.
| |