irq cpu binding

Slawa Olhovchenkov slw at zxy.spb.ru
Sat Mar 28 19:50:01 UTC 2015


On Sat, Mar 28, 2015 at 12:33:52PM -0700, Adrian Chadd wrote:

> That's done deferred by the bus interrupt wiring. That's something
> John's been looking into as part of the general NUMA work (and I'm
> trying to debug right now, on dual-socket boxes with ixgbe. :-)
> 
> Look at bus_bind_intr() and the twisty path to intr_event_bind(), then
> x86/x86/intr_machdep.c:intr_assign_cpu(), then intr_shuffle_cpus() at
> boot, versus what happens via calls to pic_assign_cpu to setup the
> wiring.

This is very complex to me -- I am not familar with current x86
hardware.
Hmm. I see intr_setaffinity and intr_bind. And I don't see using this
nor ixgbe nor cxgbe.
Anyway, I am re-set CPUs compared to initial assigned in ixgbe/cxgbe
drivers.



More information about the freebsd-hackers mailing list