Does FreeBSD support interrupt binding in SMP systems?

wenji

New Member


Messages: 2

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
 

vermaden

Son of Beastie

Reaction score: 1,745
Messages: 3,042

wenji said:
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)
 

rwatson@

New Member
Developer

Reaction score: 16
Messages: 19

trev said:
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.
 
Top