All of lore.kernel.org
 help / color / mirror / Atom feed
* irq balancing question
@ 2007-02-23 11:32 Imre Gergely
  2007-02-23 14:45 ` Arjan van de Ven
  0 siblings, 1 reply; 16+ messages in thread
From: Imre Gergely @ 2007-02-23 11:32 UTC (permalink / raw)
  To: linux-kernel


hi

i have a SMP with 2x duo-core Opteron processors, and i have an ethernet card
(eth0). i want to balance the interrupts generated by the card to all 4
processors. i can do this by writing to smp_affinity, but on another machine it
get's done by "default", without doing anything.

is this irq balancing a feature in the chipset, or driver, or kernel ? i got
the idea of the smp_affinity stuff, and i've set it to "f", but nothing
happens, i mean i see only one CPU getting the interrupts.

i'm using kernel 2.6.18, but tried with 2.6.19, too.

thanks.

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: irq balancing question
@ 2005-12-15 14:00 Pallipadi, Venkatesh
  2005-11-17  8:28 ` JaniD++
  0 siblings, 1 reply; 16+ messages in thread
From: Pallipadi, Venkatesh @ 2005-12-15 14:00 UTC (permalink / raw)
  To: JaniD++; +Cc: linux-kernel

>> >----- Original Message ----- 
>> >From: "Arjan van de Ven" <arjan@infradead.org>
>> >To: "JaniD++" <djani22@dynamicweb.hu>
>> >> On Wed, 2005-12-14 at 22:05 +0100, JaniD++ wrote:
>> >> > Hello, list,
>> >> >
>> >> > I try to tune my system with manually irq assigning, but
>> >this simple not
>> >> > works, and i don't know why. :(
>> >> > I have already read all the documentation in the kernel
>> >tree, and search
>> >in
>> >> > google, but i can not find any valuable reason.
>> >>
>> >>
>> >> which chipset? there is a chipset that is broken wrt irq 
>balancing so
>> >> the kernel refuses to do it there...
>> >
>> >This happens all of my systems, with different hardware.
>> >
>> >In the example is Intel SE7520AF2,  IntelR E7520 Chipset, +2x
>> >Xeon with HT.
>> >
>> >And the other systems is Abit IS7, intel 865, and only one P4
>> >CPU with HT,
>> >but the issue is the same.
>> >
>>
>> Which kernel and which architecture (i386 or x86-64?)
>
>i386, and kernel 2.6.14 - 2.6.15-rc3

Things should work with 2.6.15-rc5. 
There was a bug with this that was fixed recently. The patch here
http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commi
t;h=fe655d3a06488c8a188461bca493e9f23fc8c448

>
>(the intel xeon CPU can work x86-64 kernels?)
>

Yes. If your CPUs have EM64T capability, then they can run x86-64
kernels.

Thanks,
Venki

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: irq balancing question
@ 2005-12-15  0:48 Pallipadi, Venkatesh
  2005-12-15  9:10 ` JaniD++
  0 siblings, 1 reply; 16+ messages in thread
From: Pallipadi, Venkatesh @ 2005-12-15  0:48 UTC (permalink / raw)
  To: JaniD++, Arjan van de Ven; +Cc: linux-kernel

 

>-----Original Message-----
>From: linux-kernel-owner@vger.kernel.org 
>[mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of JaniD++
>Sent: Wednesday, December 14, 2005 1:32 PM
>To: Arjan van de Ven
>Cc: linux-kernel@vger.kernel.org
>Subject: Re: irq balancing question
>
>Hi,
>
>----- Original Message ----- 
>From: "Arjan van de Ven" <arjan@infradead.org>
>To: "JaniD++" <djani22@dynamicweb.hu>
>Cc: <linux-kernel@vger.kernel.org>
>Sent: Wednesday, December 14, 2005 10:16 PM
>Subject: Re: irq balancing question
>
>
>> On Wed, 2005-12-14 at 22:05 +0100, JaniD++ wrote:
>> > Hello, list,
>> >
>> > I try to tune my system with manually irq assigning, but 
>this simple not
>> > works, and i don't know why. :(
>> > I have already read all the documentation in the kernel 
>tree, and search
>in
>> > google, but i can not find any valuable reason.
>>
>>
>> which chipset? there is a chipset that is broken wrt irq balancing so
>> the kernel refuses to do it there...
>
>This happens all of my systems, with different hardware.
>
>In the example is Intel SE7520AF2,  IntelR E7520 Chipset, +2x 
>Xeon with HT.
>
>And the other systems is Abit IS7, intel 865, and only one P4 
>CPU with HT,
>but the issue is the same.
>

Which kernel and which architecture (i386 or x86-64?)

Thanks,
Venki

^ permalink raw reply	[flat|nested] 16+ messages in thread
* irq balancing question
@ 2005-12-14 21:05 JaniD++
  2005-12-14 21:16 ` Arjan van de Ven
  0 siblings, 1 reply; 16+ messages in thread
From: JaniD++ @ 2005-12-14 21:05 UTC (permalink / raw)
  To: linux-kernel

Hello, list,

I try to tune my system with manually irq assigning, but this simple not
works, and i don't know why. :(
I have already read all the documentation in the kernel tree, and search in
google, but i can not find any valuable reason.

[root@dy-xeon-1 proc]# cat irq/217/smp_affinity
f
[root@dy-xeon-1 proc]# echo 1 > irq/217/smp_affinity
[root@dy-xeon-1 proc]# cat irq/217/smp_affinity
f
[root@dy-xeon-1 proc]# /bin/echo 1 > irq/217/smp_affinity
[root@dy-xeon-1 proc]# cat irq/217/smp_affinity
f
[root@dy-xeon-1 proc]# cat interrupts
           CPU0       CPU1       CPU2       CPU3
  0:        117          0          0   50302311    IO-APIC-edge  timer
  1:          0          0          0        560    IO-APIC-edge  i8042
  8:          0          0          0       8369    IO-APIC-edge  rtc
  9:          0          0          0          0   IO-APIC-level  acpi
 14:          0          0          0    9707311    IO-APIC-edge  ide0
169:          0          0          0          1   IO-APIC-level
uhci_hcd:usb2
177:          0          0          0          0   IO-APIC-level
uhci_hcd:usb3
185:          0          0          0          0   IO-APIC-level
uhci_hcd:usb4
193:          0          0          0    4335777   IO-APIC-level
ehci_hcd:usb1
209:          0          0          0 1777636996   IO-APIC-level  eth0
217:          0          0          0 2669520977   IO-APIC-level  eth1
NMI:          0          0          0          0
LOC:   50307523   50307625   50307006   50302885
ERR:          0
MIS:          0
[root@dy-xeon-1 proc]#

Can somebody help me?

Cheers,
Janos


^ permalink raw reply	[flat|nested] 16+ messages in thread
* irq balancing question
@ 2005-12-07 22:52 JaniD++
  0 siblings, 0 replies; 16+ messages in thread
From: JaniD++ @ 2005-12-07 22:52 UTC (permalink / raw)
  To: linux-smp

Hello,list,

I want to change the irq bounding, but i can't.

[root@dy-xeon-1 irq]# cat 217/smp_affinity
f
[root@dy-xeon-1 irq]# echo 1 > 217/smp_affinity
[root@dy-xeon-1 irq]# cat 217/smp_affinity
f
[root@dy-xeon-1 irq]# /bin/echo 1 > 217/smp_affinity
[root@dy-xeon-1 irq]# cat 217/smp_affinity
f
[root@dy-xeon-1 irq]#

           CPU0       CPU1       CPU2       CPU3
  0:        117          0          0   17139594    IO-APIC-edge  timer
  8:          0          0          0       2842    IO-APIC-edge  rtc
  9:          0          0          0          0   IO-APIC-level  acpi
 14:          0          0          0    2701302    IO-APIC-edge  ide0
169:          0          0          0          0   IO-APIC-level
uhci_hcd:usb2
177:          0          0          0          0   IO-APIC-level
uhci_hcd:usb3
185:          0          0          0          0   IO-APIC-level
uhci_hcd:usb4
193:          0          0          0          0   IO-APIC-level
ehci_hcd:usb1
209:          0          0          0  211910641   IO-APIC-level  eth0
217:          0          0          0  494228730   IO-APIC-level  eth1
NMI:          0          0          0          0
LOC:   17139481   17139480   17139479   17139375
ERR:          0
MIS:          0

I have allready read all the documentation about this, and try to find
answer in google, but found nothing. :(

My kernel is 2.6.15-rc3, but with 2.6.14.2 is the same.
The system is dual xeon + HT.

My kernel config file is here:
http://download.netcenter.hu/bughunt/smp/config.txt


Thanks,
Janos


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2007-02-23 20:57 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <fa.o8VX4Uax4/73QDX3vvhLW5NBvRE@ifi.uio.no>
2007-02-23 14:39 ` irq balancing question Robert Hancock
2007-02-23 11:32 Imre Gergely
2007-02-23 14:45 ` Arjan van de Ven
2007-02-23 14:58   ` Gergely Imre
2007-02-23 15:54     ` Arjan van de Ven
2007-02-23 18:51       ` Gergely Imre
2007-02-23 19:01         ` Arjan van de Ven
2007-02-23 20:57           ` Gergely Imre
  -- strict thread matches above, loose matches on Subject: below --
2005-12-15 14:00 Pallipadi, Venkatesh
2005-11-17  8:28 ` JaniD++
2005-12-15  0:48 Pallipadi, Venkatesh
2005-12-15  9:10 ` JaniD++
2005-12-14 21:05 JaniD++
2005-12-14 21:16 ` Arjan van de Ven
2005-12-14 21:31   ` JaniD++
2005-12-07 22:52 JaniD++

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.