Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2007 19:18:01 -0800
From:      Alfred Perlstein <alfred@freebsd.org>
To:        smp@freebsd.org
Subject:   mapping interrupts to a particular cpu
Message-ID:  <20070201031801.GQ83651@elvis.mu.org>

next in thread | raw e-mail | index | archive | help
[[jhb cc'd cause he's Mr Apic from what I understand.]]

I'm trying to figure out pinning interrupts to a particular cpu.

If it can be done, if it's worth it and how.

Any generic pointers one could give to help me do this?  I'd like to
bind network interfaces to a particular cpu.

I guess the questions boil down to:

1) Are we at the point that an interrupt for something such as an
   ethernet device actually runs under interrupt context?  
   (or do we always switch to an ithread (for !FAST_INTR))
   (I already know about bind_cpu which can be done inside interrupt
    routine (I think?))

Anyhow, if we have the actual interrupts running directly...
2) How can I bind an interrupt source to a cpu?
3) Is there a way to determine which cpu is best to wire an interrupt to?

thanks,
-- 
- Alfred Perlstein
- coder / sysadmin / FreeBSD Hacker / All that jazz -



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070201031801.GQ83651>