User Tools

Site Tools


proc:irq_vectors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
proc:irq_vectors [2017/04/06 10:51] peterproc:irq_vectors [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 3: Line 3:
 IRQ vectors are displayed only when relevent.  For example, the threshold vector does not exist on **x86_64** platforms.  Others are suppressed when the system is a uniprocessor.  As of this writing, only i386 and x86_64 platforms support the new IRQ vector displays. IRQ vectors are displayed only when relevent.  For example, the threshold vector does not exist on **x86_64** platforms.  Others are suppressed when the system is a uniprocessor.  As of this writing, only i386 and x86_64 platforms support the new IRQ vector displays.
  
-Of some interest is the introduction of the /proc/irq directory to 2.4.  It could be used to set IRQ to CPU affinity, this means that you can "hook" an IRQ to only one CPU, or to exclude a CPU of handling IRQs.  The contents of the irq subdir is one subdir for each IRQ, and two files; default_smp_affinity and prof_cpu_mask.+Of some interest is the introduction of the /proc/irq directory to 2.4.  It could be used to set IRQ to CPU affinity, this means that you can "hook" an IRQ to only one CPU, or to exclude a CPU of handling IRQs.  The contents of the irq subdir is one subdir for each IRQ, and two files; **default_smp_affinity** and **prof_cpu_mask**.
  
 For example: For example:
Line 36: Line 36:
  
 The **default_smp_affinity** mask applies to all non-active IRQs, which are the IRQs which have not yet been allocated/activated, and hence which lack a /proc/irq/[0-9]* directory. The **default_smp_affinity** mask applies to all non-active IRQs, which are the IRQs which have not yet been allocated/activated, and hence which lack a /proc/irq/[0-9]* directory.
 +
 +The node file on an SMP system shows the node to which the device using the IRQ reports itself as being attached.  This hardware locality information does not include information about any possible driver locality preference.
 +
 +**prof_cpu_mask** specifies which CPUs are to be profiled by the system wide profiler.  Default value is **ffffffff** (all cpus).
 +
 +The way IRQs are routed is handled by the IO-APIC, and it's Round Robin between all the CPUs which are allowed to handle it.  As usual the kernel has more info than you and does a better job than you, so the defaults are the best choice for almost everyone.
  
proc/irq_vectors.1491475892.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki