2005-12-14 21:10:07

by JaniD++

[permalink] [raw]
Subject: irq balancing question

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


2005-12-14 21:16:10

by Arjan van de Ven

[permalink] [raw]
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...


2005-12-14 21:36:41

by JaniD++

[permalink] [raw]
Subject: Re: irq balancing question

Hi,

----- Original Message -----
From: "Arjan van de Ven" <[email protected]>
To: "JaniD++" <[email protected]>
Cc: <[email protected]>
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.

Cheers,
Janos


>

2005-12-15 00:53:26

by Pallipadi, Venkatesh

[permalink] [raw]
Subject: RE: irq balancing question



>-----Original Message-----
>From: [email protected]
>[mailto:[email protected]] On Behalf Of JaniD++
>Sent: Wednesday, December 14, 2005 1:32 PM
>To: Arjan van de Ven
>Cc: [email protected]
>Subject: Re: irq balancing question
>
>Hi,
>
>----- Original Message -----
>From: "Arjan van de Ven" <[email protected]>
>To: "JaniD++" <[email protected]>
>Cc: <[email protected]>
>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

2005-12-15 09:15:09

by JaniD++

[permalink] [raw]
Subject: Re: irq balancing question


----- Original Message -----
From: "Pallipadi, Venkatesh" <[email protected]>
To: "JaniD++" <[email protected]>; "Arjan van de Ven"
<[email protected]>
Cc: <[email protected]>
Sent: Thursday, December 15, 2005 1:48 AM
Subject: RE: irq balancing question


>
>
> >-----Original Message-----
> >From: [email protected]
> >[mailto:[email protected]] On Behalf Of JaniD++
> >Sent: Wednesday, December 14, 2005 1:32 PM
> >To: Arjan van de Ven
> >Cc: [email protected]
> >Subject: Re: irq balancing question
> >
> >Hi,
> >
> >----- Original Message -----
> >From: "Arjan van de Ven" <[email protected]>
> >To: "JaniD++" <[email protected]>
> >Cc: <[email protected]>
> >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?)

i386, and kernel 2.6.14 - 2.6.15-rc3

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

Cheers,
Janos

>
> Thanks,
> Venki
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2005-12-15 14:01:04

by Pallipadi, Venkatesh

[permalink] [raw]
Subject: RE: irq balancing question

>> >----- Original Message -----
>> >From: "Arjan van de Ven" <[email protected]>
>> >To: "JaniD++" <[email protected]>
>> >> 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

2005-12-16 08:36:49

by JaniD++

[permalink] [raw]
Subject: Re: irq balancing question


----- Original Message -----
From: "Pallipadi, Venkatesh" <[email protected]>
To: "JaniD++" <[email protected]>
Cc: <[email protected]>
Sent: Thursday, December 15, 2005 3:00 PM
Subject: RE: irq balancing question


> >> >----- Original Message -----
> >> >From: "Arjan van de Ven" <[email protected]>
> >> >To: "JaniD++" <[email protected]>
> >> >> 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

Ahh, thanks! :-)
This fix the problem!

>
> >
> >(the intel xeon CPU can work x86-64 kernels?)
> >
>
> Yes. If your CPUs have EM64T capability, then they can run x86-64
> kernels.

OK, i will try it! ;-)

Thanks,
Janos

>
> Thanks,
> Venki
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/