diff options
author | Suresh Siddha <[email protected]> | 2012-06-25 13:38:29 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-07-06 11:00:23 +0200 |
commit | d872818dbbeed1bccf58c7f8c7db432154c802f9 (patch) | |
tree | 76d505388da3ad4b9d6fdcf48297c38165563a0a /tools | |
parent | 1ac322d0b169c95ce34d55b3ed6d40ce1a5f3a02 (diff) |
x86/apic/x2apic: Use multiple cluster members for the irq destination only with the explicit affinity
During boot or driver load etc, interrupt destination is setup
using default target cpu's. Later the user (irqbalance etc) or
the driver (irq_set_affinity/ irq_set_affinity_hint) can request
the interrupt to be migrated to some specific set of cpu's.
In the x2apic cluster routing, for the default scenario use
single cpu as the interrupt destination and when there is an
explicit interrupt affinity request, route the interrupt to
multiple members of a x2apic cluster specified in the cpumask of
the migration request.
This will minmize the vector pressure when there are lot of
interrupt sources and relatively few x2apic clusters (for
example a single socket server). This will allow the performance
critical interrupts to be routed to multiple cpu's in the x2apic
cluster (irqbalance for example uses the cache siblings etc
while specifying the interrupt destination) and allow
non-critical interrupts to be serviced by a single logical cpu.
Signed-off-by: Suresh Siddha <[email protected]>
Acked-by: Yinghai Lu <[email protected]>
Acked-by: Alexander Gordeev <[email protected]>
Acked-by: Cyrill Gorcunov <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions