PDA

View Full Version : Does FreeBSD support interrupt binding in SMP systems?


wenji
March 19th, 2009, 06:11
Could anybody help me out, thanks in advance.

Linux support the interrupt affinity (interrupt binding) in SMP systems. For example, the NIC interrupt can be redirected by tweaking "/proc/irq/nic_irq_xxx/smp_affinity".

Does FreeBSD has similar features?

thanks,

wenji

trev
March 23rd, 2009, 13:14
I do not believe it does.

vermaden
March 23rd, 2009, 13:27
Linux support the interrupt affinity (interrupt binding) in SMP systems. For example, the NIC interrupt can be redirected by tweaking "/proc/irq/nic_irq_xxx/smp_affinity".

Does FreeBSD has similar features?

FreeBSD 8 Supports both CPU and IRQ setting:
http://ivoras.sharanet.org/freebsd/freebsd8.html

User-controllable CPU/IRQ binding (jhb)
User-controllable CPU-thread binding with support for CPU sets (jeffr)

trev
March 23rd, 2009, 14:22
FreeBSD 8 Supports both CPU and IRQ setting:
http://ivoras.sharanet.org/freebsd/freebsd8.html

Really? I thought it was still in the "intended" basket and hadn't yet been realised?

rwatson@
May 16th, 2009, 14:51
Really? I thought it was still in the "intended" basket and hadn't yet been realised?

To follow up to an old thread: yes, this is implemented. You can use cpuset(8)'s '-x' to direct low-level interrupts to a specific CPU, if supported by the underlying hardware.