lkml.org 
[lkml]   [2005]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SMP CPU affinity questions
On Wed, 2 Nov 2005, Jeffrey V. Merkey wrote:

> IOApic's support binding of interrupt delivery in intel based platforms, but I
> am unaware of tools which force this
> setting by default on Linux, but someone else may be able to point you in that
> direction. Most folks code APIC ICC delivery to
> AV_LOPRI (meaning lowest priority processor gets next interrupt). This is
> advantageous for cache coherency since the IRQ code
> is probaby still in that processors cache. You may have to modify the kernel.
> Linux doesn't allow processors to be shutdown and
> reactiviated real time, it just starts them and lets them run, so you don;t
> have to worry about the case of migrating interrupts
> off pinned APICs. The APIC supports what you are asking for, but I am not
> certain anyone implemented anything other
> than AV_LOPRI settings by default in the IO APIC code. I would suggest you
> look over the IO APIC Code -- this is a lot
> of work, BTW.

Or you could just put something which writes to
/proc/irq/$IRQ/smp_affinity in your initscripts.

Cheers,
Zwane

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-06 00:45    [W:1.159 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site