irqbalance in fedora15

Benjamin benjo11111 at gmail.com
Sun Oct 30 06:58:23 UTC 2011


  Yes, I want to set manually irq afinity for my lan interface on 
multiple cpus.

How to do it?

Benjo
> Actually, in my experience you'd want each device (or actually each 
> irq - especially in the case of multi-queue device)  to fall squarely 
> on one CPU core by manually setting the irq_affinity.
>
> I place very little faith on automated irq balancing.
>
>
> - Gilboa
>
> On Saturday, October 29, 2011, Benjamin <benjo11111 at gmail.com 
> <mailto:benjo11111 at gmail.com>> wrote:
> > Hi,
> >
> > I want to configure irqbalance on both cpus.I have 2 lan interface 
> one is wan and second is lan , currently i have 2 cpu and wan is 
> falling on cpu0 and lan is also falling on cpu0.And now i want to set 
> both interface should be fall on both cpus.
> >
> > How to do it?
> >
> > cat /proc/cpuinfo
> > processor    : 0
> > vendor_id    : GenuineIntel
> > cpu family    : 6
> > model        : 23
> > model name    : Intel(R) Core(TM)2 CPU         E7500  @ 2.93GHz
> > stepping    : 10
> > cpu MHz        : 2933.727
> > cache size    : 3072 KB
> > physical id    : 0
> > siblings    : 2
> > core id        : 0
> > cpu cores    : 2
> > apicid        : 0
> > initial apicid    : 0
> > fdiv_bug    : no
> > hlt_bug        : no
> > f00f_bug    : no
> > coma_bug    : no
> > fpu        : yes
> > fpu_exception    : yes
> > cpuid level    : 13
> > wp        : yes
> > flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx 
> lm constant_tsc arch_perfmon pebs bts aperfmperf pni monitor tm2 ssse3 
> lahf_lm dts
> > bogomips    : 5867.45
> > clflush size    : 64
> > cache_alignment    : 64
> > address sizes    : 36 bits physical, 48 bits virtual
> > power management:
> >
> > processor    : 1
> > vendor_id    : GenuineIntel
> > cpu family    : 6
> > model        : 23
> > model name    : Intel(R) Core(TM)2 CPU         E7500  @ 2.93GHz
> > stepping    : 10
> > cpu MHz        : 2933.727
> > cache size    : 3072 KB
> > physical id    : 0
> > siblings    : 2
> > core id        : 1
> > cpu cores    : 2
> > apicid        : 1
> > initial apicid    : 1
> > fdiv_bug    : no
> > hlt_bug        : no
> > f00f_bug    : no
> > coma_bug    : no
> > fpu        : yes
> > fpu_exception    : yes
> > cpuid level    : 13
> > wp        : yes
> > flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx 
> lm constant_tsc arch_perfmon pebs bts aperfmperf pni monitor tm2 ssse3 
> lahf_lm dts
> > bogomips    : 5866.47
> > clflush size    : 64
> > cache_alignment    : 64
> > address sizes    : 36 bits physical, 48 bits virtual
> > power management:
> >
> >
> > cat /proc/interrupts
> >             CPU0       CPU1
> >    0:        258        743   IO-APIC-edge      timer
> >    1:        653        651   IO-APIC-edge      i8042
> >    8:    1798940    2243825   IO-APIC-edge      rtc0
> >    9:          0          0   IO-APIC-fasteoi   acpi
> >   12:       5479         68   IO-APIC-edge      i8042
> >   14:          0          0   IO-APIC-edge      ata_piix
> >   15:          0          0   IO-APIC-edge      ata_piix
> >   16:          0          0   IO-APIC-fasteoi   uhci_hcd:usb5
> >   18:          0          0   IO-APIC-fasteoi   uhci_hcd:usb4
> >   19:     465089     466793   IO-APIC-fasteoi   ata_piix, uhci_hcd:usb3
> >   21:       8153    2619593   IO-APIC-fasteoi   p2p1
> >   23:          0          0   IO-APIC-fasteoi   ehci_hcd:usb1, 
> uhci_hcd:usb2
> >   40:          0          0   PCI-MSI-edge      PCIe PME
> >   41:          0          0   PCI-MSI-edge      PCIe PME, pciehp
> >   42:          0          0   PCI-MSI-edge      PCIe PME, pciehp
> >   43:        138        330   PCI-MSI-edge      i915
> >   44:    7261040        445   PCI-MSI-edge      p10p1
> >   45:        143        147   PCI-MSI-edge      hda_intel
> >  NMI:        876        739   Non-maskable interrupts
> >  LOC:    5102916    3854827   Local timer interrupts
> >  SPU:          0          0   Spurious interrupts
> >  PMI:        876        739   Performance monitoring interrupts
> >  IWI:          0          0   IRQ work interrupts
> >  RES:       5645       5530   Rescheduling interrupts
> >  CAL:       1424       1909   Function call interrupts
> >  TLB:      24029      20181   TLB shootdowns
> >  TRM:          0          0   Thermal event interrupts
> >  THR:          0          0   Threshold APIC interrupts
> >  MCE:          0          0   Machine check exceptions
> >  MCP:        883        883   Machine check polls
> >  ERR:          1
> >  MIS:          0
> >
> > Regards,
> > Benjamin
> >
> >
>
> -- 
> Sent from my Samsung Galaxy S2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20111030/5ebd3aff/attachment.html 


More information about the users mailing list